Your message dated Thu, 26 Jul 2007 19:10:09 +1000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#434433: apt-show-versions fails to install
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: apt-show-versions
Version: 0.10
Severity: serious
Justification: apt-show-versions installable in Etch
In this specific machine I get this error, but I've tried in other etch's and
can't reproduce this.
Any idea of what's going wrong here?
# aptitude install apt-show-versions
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following NEW packages will be installed:
apt-show-versions
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/22.0kB of archives. After unpacking 139kB will be used.
Writing extended state information... Done
Selecting previously deselected package apt-show-versions.
(Reading database ... 31315 files and directories currently installed.)
Unpacking apt-show-versions (from .../apt-show-versions_0.10_all.deb) ...
Setting up apt-show-versions (0.10) ...
** initializing cache. This may take a while **
Weak references are not implemented in the version of perl at
/usr/lib/perl5/AptPkg/hash.pm line 8
BEGIN failed--compilation aborted at /usr/lib/perl5/AptPkg/hash.pm line 8.
Compilation failed in require at /usr/lib/perl5/AptPkg/Config.pm line 9.
BEGIN failed--compilation aborted at /usr/lib/perl5/AptPkg/Config.pm line 9.
Compilation failed in require at /usr/bin/apt-show-versions line 41.
BEGIN failed--compilation aborted at /usr/bin/apt-show-versions line 41.
dpkg: error processing apt-show-versions (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
apt-show-versions
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up apt-show-versions (0.10) ...
** initializing cache. This may take a while **
Weak references are not implemented in the version of perl at
/usr/lib/perl5/AptPkg/hash.pm line 8
BEGIN failed--compilation aborted at /usr/lib/perl5/AptPkg/hash.pm line 8.
Compilation failed in require at /usr/lib/perl5/AptPkg/Config.pm line 9.
BEGIN failed--compilation aborted at /usr/lib/perl5/AptPkg/Config.pm line 9.
Compilation failed in require at /usr/bin/apt-show-versions line 41.
BEGIN failed--compilation aborted at /usr/bin/apt-show-versions line 41.
dpkg: error processing apt-show-versions (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
apt-show-versions
#
Please ask any info that you might find relevant.
Oh, I only tested this on etch systems where the Locale is LANG=C, LC_CTYPE=C
(charmap=ANSI_X3.4-1968), but I don't really think that the way to reproduce
the bug is to change the Locale... You might want to have it tested, tho.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages apt-show-versions depends on:
ii apt 0.6.46.4-0.1 Advanced front-end for dpkg
ii libapt-pkg-perl 0.1.20 Perl interface to libapt-pkg
ii perl [libstorable-perl] 5.8.8-7 Larry Wall's Practical Extraction
apt-show-versions recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
On Wed, Jul 25, 2007 at 10:54:27AM +0100, Marcos Marado wrote:
># strace -etrace=open perl -MScalar::Util=weaken -e 1
[...]
>open("/usr/local/share/perl/5.8.8/Scalar/Util.pm", O_RDONLY|O_LARGEFILE) = 4
[...]
>open("/usr/local/share/perl/5.8.8/List/Util.pm", O_RDONLY|O_LARGEFILE) = 4
[...]
>open("/usr/lib/perl/5.8/auto/List/Util/Util.so", O_RDONLY) = 4
[...]
OK, you appear to have a locally installed version of Scalar::Util which
is broken.
Scalar::Util requires List::Util which loads the XS. The first two of
these are coming from /usr/local, and the last from the perl package
which is not compatible... not quite sure why that is. Is there a
Util.so under your /usr/local ?
To fix your problem it may be possible to re-install your local copy,
alternately just remove /usr/local/share/perl/5.8.8/{Scalar,List}/Util.pm
--bod
--- End Message ---