Package: dpkg
Version: 1.15.1
Severity: important

Hi,

with dpkg 1.15.1 installed, installation of perl 5.10.0-22 fails due
to an error message in update-alternatives:
$ sudo dpkg --install /var/cache/apt/archives/perl_5.10.0-22_i386.deb
(Reading database ... 16660 files and directories currently installed.)
Preparing to replace perl 5.10.0-22 (using .../perl_5.10.0-22_i386.deb) ...
Unpacking replacement perl ...
Setting up perl (5.10.0-22) ...
update-alternatives: warning: forcing reinstallation of alternative 
/usr/bin/rename-5.005 because link group rename is broken.
Can't call method "slave" on an undefined value at 
/usr/sbin/update-alternatives line 1011.
dpkg: error processing perl (--install):
 subprocess installed post-installation script returned error exit status 2
Processing triggers for man-db ...
Errors were encountered while processing:
 perl

The "Can't call method on an undefined value" looks like this is not
perl's fault.

Going back to dpkg 1.14.26 from squeeze allows perl's installation to
proceed:
[19/518...@nechayev[chroot sid-packages]:~$ sudo dpkg --force-overwrite 
--install /var/cache/apt/archives/dpkg_1.14.26_i386.deb
dpkg: warning: downgrading dpkg from 1.15.1 to 1.14.26.
(Reading database ... 16660 files and directories currently installed.)
Preparing to replace dpkg 1.15.1 (using .../archives/dpkg_1.14.26_i386.deb) ...
Unpacking replacement dpkg ...
Setting up dpkg (1.14.26) ...
Installing new version of config file /etc/logrotate.d/dpkg ...
Processing triggers for man-db ...
[20/519...@nechayev[chroot sid-packages]:~$ sudo dpkg --install 
/var/cache/apt/archives/perl_5.10.0-22_i386.deb
(Reading database ... 16665 files and directories currently installed.)
Preparing to replace perl 5.10.0-22 (using .../perl_5.10.0-22_i386.deb) ...
Unpacking replacement perl ...
Setting up perl (5.10.0-22) ...
Processing triggers for man-db ...

Greetings
Marc


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.29.4-zgsrv20080 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages dpkg depends on:
ii  coreutils                     7.3-1      The GNU core utilities
ii  libc6                         2.9-12     GNU C Library: Shared libraries
ii  lzma                          4.43-14    Compression method of 7z format in

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt                           0.7.21     Advanced front-end for dpkg

-- no debconf information



-- 
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