You are not logged in.

#1 2006-04-07 07:44:25

xor
Member
From: Sweden
Registered: 2003-03-20
Posts: 73

pacman -Syu strange behavior [solved]

Hello!
when  running pacman -Syu some packages that I have removed is found and will be updated.

Example:
# pacman -Ql libgnomeprintui
Package "libgnomeprintui" was not found.

# pacman -S libgnomeprintui

Targets: libgnomeprint-2.12.1-2 libgnomecanvas-2.14.0-1 hicolor-icon-theme-0.8-1 gnome-icon-theme-2.14.2-1 libgnomeprintui-2.12.1-2

Total Package Size:   3.9 MB

Proceed with upgrade? [Y/n] y

:: Retrieving packages from current...
libgnomeprint-2.12.1-2   [###############################################################################] 100%     577K    2190K/s  00:00:00
libgnomecanvas-2.14.0-1  [###############################################################################] 100%     288K    1359K/s  00:00:00
libgnomeprintui-2.12.1-2 [###############################################################################] 100%     381K    1695K/s  00:00:00

checking package integrity... done.
loading package data... done.
checking for file conflicts... done.
installing libgnomeprint... done.
installing libgnomecanvas... done.
installing hicolor-icon-theme... done.
installing gnome-icon-theme... done.
installing libgnomeprintui... done.

Just uninstall them again:

# pacman -R libgnomeprintui
removing libgnomeprintui... done.
# pacman -R gnome-icon-theme hicolor-icon-theme libgnomecanvas libgnomeprint
removing libgnomeprint... done.
removing libgnomecanvas... done.
removing gnome-icon-theme... done.
removing hicolor-icon-theme... done.

# pacman -Q libgnomeprintui
Package "libgnomeprintui" was not found.

[root@xor current]# pacman -Syu

Targets: ati-fglrx-8.23.7-3 initscripts-0.7.1-24 kbd-1.12-3 kernel26-2.6.16.1-8 libgsf-1.13.99-1 libgnomeprint-2.12.1-2 libgnomecanvas-2.14.0-1
         hicolor-icon-theme-0.8-1 gnome-icon-theme-2.14.2-1 libgnomeprintui-2.12.1-2 librsvg-2.14.3-1 libxfont-1.1.0-1 libxml2-2.6.23-2
         make-3.81-1 pcmciautils-013-5 udev-089-1

Total Package Size:   25.2 MB

Proceed with upgrade? [Y/n] n


Why did pacman recon I have to upgrade packages I just removed ?
I can live with it but is it me or something corrupt when removing packages?
if looking in /var/lib/pacman/current/ there is still references to for example
gnome-icon-theme-2.14.2-1 which is uninstalled.

/xor

Offline

#2 2006-04-07 09:05:37

Insane-Boy
Member
Registered: 2006-02-27
Posts: 243

Re: pacman -Syu strange behavior [solved]

Maybe you have something which require this packages and you haven't installed them in that case pacman wants to update/get them.
That's normal behaviour I think.

Offline

#3 2006-04-07 09:16:32

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: pacman -Syu strange behavior [solved]

Insane-Boy wrote:

Maybe you have something which require this packages and you haven't installed them in that case pacman wants to update/get them.
That's normal behaviour I think.

no it's not a normal behavior.
In that case it should say "{packageA} is required by {packageB}" when removing.
Do you have correct permissions in your pacman database (/var/lib/pacman/local/) ?

Offline

#4 2006-04-07 09:29:03

xor
Member
From: Sweden
Registered: 2003-03-20
Posts: 73

Re: pacman -Syu strange behavior [solved]

Permissions.

ls -lad /var/lib/pacman/extra/ /var/lib/pacman/current/ /var/lib/pacman/local/
drwxr-xr-x   527 root root 16384 2006-04-07 09:26 /var/lib/pacman/current/
drwxr-xr-x  1777 root root 49152 2006-04-07 10:22 /var/lib/pacman/extra/
drwxr-xr-x   314 root root 12288 2006-04-07 10:24 /var/lib/pacman/local/

Just to be sure I did pacman upgrade but without any success.
Also cleared all packages in /var/cash/packman/pkg.

pacman -S pacman
:: pacman-2.9.8-1: is up to date.  Upgrade anyway? [Y/n] y

Targets: pacman-2.9.8-1

Total Package Size:   0.5 MB

Proceed with upgrade? [Y/n] y

:: Retrieving packages from current...
pacman-2.9.8-1           [################] 100%     473K   163.1K/s  00:00:02

checking package integrity... done.
loading package data... done.
checking for file conflicts... done.
upgrading pacman... done.


/xor

Offline

#5 2006-04-07 12:05:15

sebcactus
Member
From: Germany
Registered: 2005-01-27
Posts: 277

Re: pacman -Syu strange behavior [solved]

You probalby have gimp.

Gimp depends on librsvg. On a recent update, librsvg now seems to depend on libgnomeprintui (but not the previous one).
So when you removed libgnomeprintui and its dependencies, the old librsvg was not requiring them (so no messages from pacman). But with the last update, librsvg now depends on them, which is why pacman wants to install them.

I sent a bug about it (librsvg works well whitout libgnomeprintui), which was closed because it was fixed, but it is still not fixed.

Edit: Ok that's fixed now! with librsvg-2.14.3-2

Offline

#6 2006-04-10 06:58:05

xor
Member
From: Sweden
Registered: 2003-03-20
Posts: 73

Re: pacman -Syu strange behavior [solved]

Thank you marmotte!
As you said I do have Gimp installed, problem was solved with librsvg-2.14.3-2 package.

Regards
xor

Offline

Board footer

Powered by FluxBB