tag 487777 + confirmed thanks On Tue, Jun 24, 2008 at 10:32:03AM +0800, [EMAIL PROTECTED] wrote: > Not sure what this is all about on every invocation of cruft. > # cruft -d /usr > No alternative declares a file pointed to by master link > [desktop-background]: [/usr/share/images/desktop-base/Debian.jpg] at > /usr/lib/cruft/explain/ALTERNATIVES line 57, <FILE> line 70. > No alternative declares a file pointed to by master link [python-gtk]: > [/usr/share/python-gtk-2.0] at /usr/lib/cruft/explain/ALTERNATIVES line 57, > <FILE> line 309.
I had a look at the code, and I agree that this message should be more clear. I have changed the code for the next version to display something like the following in the first case: Master link "/etc/alternatives/desktop-background" points to alternative "/usr/share/images/desktop-base/Debian.jpg", but no such alternative is registered, according to "/var/lib/dpkg/alternatives/desktop-background". See "update-alternatives --display desktop-background" > Maybe it should also print a message saying what is to blame, and what to do: > File a bug against xxx that is is missing yyy... I'm without broadband at the time I'm writing this, so my best guess is that: - you had desktop-base installed, which set up one of its files, /usr/share/images/desktop-base/Debian.jpg as the only alternative for desktop-background - then you uninstalled desktop-base, and it either failed to unregister properly (a bug in desktop-base), or this is just how update-alternatives behaves in such case (a bug in dpkg). It could also be a more complex interaction involving another package providing this alternative. To figure out how you got into this situation, you could do: ls -l /etc/alternatives/desktop-background find /usr/share -type l -ls | grep desktop-background dpkg -l desktop-base look for dekstop-base in aptitude's and/or dpkg log I will try to look into it further when I get to an internet connection. -- Marcin Owsiany <[EMAIL PROTECTED]> http://marcin.owsiany.pl/ GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]