[EMAIL PROTECTED] wrote:

<snip/>
> 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
<snip/>
> 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.
<snip/>

Hi,

some quick remarks:

It looks like your perl installation on the specific machine is somehow
broken.  The best information source I have found after some googling is
[1].

Maybe the output of the following commands on the problematic and on a
working machine will narrow down the problem:

>>>>>>>>>>>>>>>>
perl -e "use Scalar::Util 'weaken'"
dpkg -l perl-base
debsums perl-base
perl -MScalar::Util -MData::Dumper -e 'print Dumper(\%INC)'
perl -V
<<<<<<<<<<<<<<<<

If the first statement fails on the on the specific machine, but
succeeds on the working machine, then it is either a broken perl
installation or a bug in the perl packages.  In either case
apt-show-versions is only a problem victim, but not its cause.

One possible cause (from [1]) is a problem with
/usr/lib/perl/5.8.8/auto/List/Util/Util.so


[1] http://www.perlmonks.org/?node_id=481322

Regards, Andreas Hoenen
--
Andreas Hoenen <[EMAIL PROTECTED]>

GPG: 1024D/B888D2CE
     A4A6 E8B5 593A E89B 496B
     82F0 728D 8B7E B888 D2CE

Attachment: pgpD6hyS39DW4.pgp
Description: PGP signature

Reply via email to