Bug#675791: dpkg falsly marks packages as configured and having files installed
Paul Menzel
pm.debian at googlemail.com
Sun Jun 3 21:42:03 UTC 2012
Dear Guillem,
thank you for your quick reply.
Am Sonntag, den 03.06.2012, 22:52 +0200 schrieb Guillem Jover:
> reassign 675791 libgtk2.0-bin,libgtk-3-bin
> thanks
>
> On Sun, 2012-06-03 at 13:51:41 +0200, Paul Menzel wrote:
> > Package: dpkg
> > Version: 1.16.3
> > Severity: normal
>
> > `aptitude safe-upgrade` removed some unneeded packages, that means
> > automatically installed ones no other package depends on anymore, today.
> >
> > $ sudo aptitude safe-upgrade
> > […]
> > Laden der Fehlerberichte ... Erledigt
> > »Found/Fixed«-Informationen werden ausgewertet ... Erledigt
> > Lese Changelogs... Fertig
> > Extrahiere Vorlagen aus Paketen: 100%
> > Vorkonfiguration der Pakete ...
> > (Lese Datenbank ... 459531 Dateien und Verzeichnisse sind derzeit installiert.)
> > Entfernen von dmz-cursor-theme ...
> > update-alternatives: /usr/share/icons/DMZ-Black/cursor.theme wird verwendet, um /usr/share/icons/default/index.theme (x-cursor-theme) im Auto-Modus bereitzustellen.
> > Entfernen von gnome-themes ...
> > Entfernen von gnome-themes-extras ...
> > Entfernen von gnome-themes-more ...
> > Entfernen von gtk2-engines-pixbuf:i386 ...
> > Entfernen von gtk2-engines-smooth ...
> > […]
> > Entfernen von libkutils4 ...
> > Entfernen von libkprintutils4 ...
> > […]
>
> I'm guessing this is the same run as the next one?
Yes. I am deleting the next one, because I wrongly pasted it there in
the first place.
> > To look if they need purging I did
$ LANG=C dpkg -l libkprintutils4 libkutils4 gnome-themes{,-{more,extras}}
[…]
rc gnome-themes 2.30.2-1 official themes for the GNOME desktop
rc gnome-themes-extras 2.22.0-3 extra themes for the GNOME desktop
rc gnome-themes-more 0.9.0.deb0.8 various themes for the GNOME desktop
rc libkprintutils4 4:4.7.4-6 utility classes to deal with printing
rc libkutils4 4:4.7.4-6 dummy transitional library
> > and checked some manually.
> >
> > $ LANG=C dpkg -L libkprintutils4 libkutils4 gnome-themes{,-{more,extras}}
> > Package `libkprintutils4' does not contain any files (!)
> >
> > Package `libkutils4' does not contain any files (!)
> >
> > /usr
> > /usr/share
> > /usr/share/icons
> > /usr/share/icons/Mist
> > /usr/share/icons/Crux
> >
> > /usr
> > /usr/share
> > /usr/share/icons
> > /usr/share/icons/Lush
> > /usr/share/icons/Wasp
> > /usr/share/icons/Nuvola
> > /usr/share/icons/SphereCrystal
> > /usr/share/icons/Amaranth
> > /usr/share/icons/Gorilla
> >
> > /usr
> > /usr/share
> > /usr/share/icons
> > /usr/share/icons/Neu
> > /usr/share/icons/Gion
> > /usr/share/icons/gnome-alternative
> > /usr/share/icons/Foxtrot
> >
> > Looking for these files, they are not there anymore though.
> >
> > $ ls -l /usr/share/icons/
> > insgesamt 64
> > drwxr-xr-x 3 root root 4096 Apr 18 2011 Adwaita
> > -rw-r--r-- 1 root root 1227 Apr 28 16:34 cab_extract.png
> > -rw-r--r-- 1 root root 833 Apr 28 16:34 cab_view.png
> > drwxr-xr-x 9 root root 4096 Aug 9 2010 crystalsvg
> > lrwxrwxrwx 1 root root 10 Apr 18 2008 default.kde -> crystalsvg
> > lrwxrwxrwx 1 root root 6 Mär 6 19:49 default.kde4 -> oxygen
> > drwxr-xr-x 11 root root 4096 Mai 27 10:12 gnome
> > drwxr-xr-x 17 root root 4096 Jun 3 13:01 hicolor
> > drwxr-xr-x 9 root root 4096 Mai 16 08:28 HighContrast
> > drwxr-xr-x 3 root root 4096 Mai 16 08:28 HighContrastInverse
> > drwxr-xr-x 4 root root 4096 Jul 22 2011 HighContrastLargePrint
> > drwxr-xr-x 4 root root 4096 Jul 22 2011 HighContrastLargePrintInverse
> > drwxr-xr-x 4 root root 4096 Jul 24 2010 HighContrast-SVG
> > drwxr-xr-x 2 root root 4096 Jul 24 2010 LargePrint
> > drwxr-xr-x 4 root root 4096 Nov 1 2010 locolor
> > drwxr-xr-x 3 root root 4096 Mai 16 08:28 LowContrast
> > drwxr-xr-x 11 root root 4096 Mai 22 09:52 oxygen
> >
> > So I wonder why they are still marked as configured?
>
> These remaining paths were just directories, and they could not be
> removed on remove by dpkg because they were not empty, then one of
> the maintainer scripts called update-icon-caches which removed the
> icon-theme.cache file and the parent directory. Once the package
> is purged these pending paths will be tried to get removed again,
> which will not be needed as they do not exist.
>
> I guess strictly speaking this could be considered a bug, but in
> update-icon-caches if anything, I'm thus reassigning to that so that
> the GNOME maintainers can decide what to do, although there might be
> a rationale why this was done this way.
Interesting. Let’s see what they say.
Thanks,
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20120603/45ef431b/attachment-0001.pgp>
More information about the pkg-gnome-maintainers
mailing list