On Sun, May 24, 2009 at 08:47:35PM +0200, Raphael Hertzog wrote:
> Can you provide me /var/lib/dpkg/alternatives/rename ? It looks like some
> left over alternatives in that file dating back to the perl 5.005
> transition that was not properly cleaned...

[10/510...@nechayev[chroot sid-kernel]:~$ ls -al 
/var/lib/dpkg/alternatives/rename
-rw-r--r-- 1 root root 122 Jun  6 12:22 /var/lib/dpkg/alternatives/rename
[11/511...@nechayev[chroot sid-kernel]:~$ cat !$
cat /var/lib/dpkg/alternatives/rename
manual
/usr/bin/rename
rename.1.gz
/usr/share/man/man1/rename.1.gz

/usr/bin/prename
60
/usr/share/man/man1/prename.1.gz

[12/512...@nechayev[chroot sid-kernel]:~$


> I certainly upgraded perl to version 5.10.0-22 on my system without
> encountering any error. There is likely a lack of checks in
> update-alternatives but also something not 100% clean in the perl upgrade
> history. The new code tries harder to avoid problems and your
> installation is somehow broken (and it failed while trying to fix it).

It should give a more helpful error message in that case.

> And please show me the output of this command:
> ls -al /etc/alternatives/rename /usr/bin/rename-5.005 /usr/bin/rename

[12/512...@nechayev[chroot sid-kernel]:~$ ls -al /etc/alternatives/rename 
/usr/bin/rename-5.005 /usr/bin/rename
ls: cannot access /usr/bin/rename-5.005: No such file or directory
ls: cannot access /usr/bin/rename: No such file or directory
lrwxrwxrwx 1 root root 21 Feb 14  2008 /etc/alternatives/rename -> 
/usr/bin/rename-5.005
[13/513...@nechayev[chroot sid-kernel]:~$   

> In fact, looking at the code more closely, the problem is probably that
> /etc/alternatives/rename points to an non-existing and unregistered
> alternative... (i.e. it doesn't appear in
> /var/lib/dpkg/alternatives/rename). Let's see if I'm right.

Looks like you're right.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to