You are not logged in.

#1 2009-08-03 17:09:27

alleluia20
Member
Registered: 2009-04-13
Posts: 53

Upgrade if pacman-color installed (not ready for pacman 3.3.0)?

Hello,

I have yaourt, and therefore pacman-color, installed. As the latter is not yet ready for pacman 3.3.0, I cannot upgrade my system at all, as pacman -Syu returns:

error: failed to prepare transaction (could not satisfy dependencies)
:: pacman-color: requires pacman=3.2.2

I already submitted the petition for a rebuild of pacman-color on http://forums.archlinux.fr/topic4222.html . In the meantime, is it possible to upgrade the packages that do not break dependencies (i.e., all the packages but pacman)? If yes, how is it done?

Thank you in advance.

Offline

#2 2009-08-03 18:06:49

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: Upgrade if pacman-color installed (not ready for pacman 3.3.0)?

pacman-color has been updated to 3.3.0, so you should be golden. cool

Offline

#3 2009-08-03 20:30:38

alleluia20
Member
Registered: 2009-04-13
Posts: 53

Re: Upgrade if pacman-color installed (not ready for pacman 3.3.0)?

Thank you, but still no luck... pacman-color in [archlinuxfr] is still 3.2.2-2, so I would need to force a build from AUR with yaourt -S --aur pacman-color . I tried doing so, but then yaourt told to upgrade pacman in order to satisfy the dependency, and when trying to upgrade pacman, it exited because of a conflict with the installed version.

yaourt -S --aur pacman pacman-color says "no pacman in AUR" and then again the same. How would you break that vicious circle?

Thank you very much in advance.

Offline

#4 2009-08-03 20:54:54

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: Upgrade if pacman-color installed (not ready for pacman 3.3.0)?

To answer your original question, you can choose to have pacman ignore updates to certain packages by listing those packages next to IgnorePkg in /etc/pacman.conf.

Now, to upgrade pacman-color to 3.3.0 so that it's compatible with pacman from [testing], you can try the following:

pacman -R pacman-color (removes pacman-color so that pacman can be upgraded)
pacman -Syu (upgrades all packages on the system)
yaourt -S pacman-color (builds pacman-color from the AUR and installs it)

Offline

#5 2009-08-04 01:04:45

alleluia20
Member
Registered: 2009-04-13
Posts: 53

Re: Upgrade if pacman-color installed (not ready for pacman 3.3.0)?

Thank you very much for the idea. One thing: I observed that the last step was not correct. Yaourt is stubborn and prefers repositories, so it intended to downgrade pacman to the version in [core] and get pacman-color from [archlinuxfr]. So the last step must be:

yaourt -S --aur pacman-color

Offline

#6 2009-08-06 01:32:04

mindcloud
Member
Registered: 2008-06-16
Posts: 5

Re: Upgrade if pacman-color installed (not ready for pacman 3.3.0)?

Why doesn't pacman just include a colored output option in pacman.conf?

Offline

#7 2009-08-06 02:46:28

1LordAnubis
Member
Registered: 2008-10-10
Posts: 253
Website

Re: Upgrade if pacman-color installed (not ready for pacman 3.3.0)?

or yaourt -S aur/pacman-color


Any society that would give up a little liberty to gain a little security will deserve neither and lose both.
-Benjamin Franklin
The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.
-George Bernard Shaw

Offline

#8 2009-08-06 03:20:19

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Upgrade if pacman-color installed (not ready for pacman 3.3.0)?

I just uninstalled pacman-color, upgraded pacman and then installed pacman-color from AUR again.


neutral

Offline

Board footer

Powered by FluxBB