Raphael Hertzog wrote: > reassign 484469 perl > thanks > > Hi, > > Neither is this dpkg that's faulty: > /bin/sh: line 1: 10805 Segmentation fault /usr/sbin/dpkg-preconfigure > --apt > > It simply looks like that perl segfaults whenever it has something to do. > > > Giovanni, you simply show the final problem but I suppose it didn't appear > suddenly that way... you did a dist-upgrade or something just before, > isn't it? Do you have a log of it?
You're right, I did a dist-upgrade that messed all up. The error messages were the same, I'm pretty sure. > Please give the output of the following commands in the situation where you > have the problem: > dpkg -l 'perl*' > dpkg -l liblocale-gettext-perl > perl -MLocale::gettext -e 'print gettext("hello\n")' > perl -e 'print "hello\n"' # dpkg -l 'perl*' [snip] iF perl 5.10.0-10 ii perl-base 5.10.0-10 un perl-doc <none> ii perl-modules 5.10.0-10 un perl5 <none> un perl5-base <none> un perlapi-5.10.0 <none> # dpkg -l liblocale-gettext-perl [snip] ii liblocale-gettext-perl 1.05-4 # perl -MLocale::gettext -e 'print gettext("hello\n")' Segmentation fault # perl -e 'print "hello\n"' Segmentation fault > For future reference, the full log from the paste URL is: > # apt-get -f install > Reading package lists... Done > Building dependency tree > Reading state information... Done > 0 upgraded, 0 newly installed, 0 to remove and 79 not upgraded. > 3 not fully installed or removed. > After this operation, 0B of additional disk space will be used. > /bin/sh: line 1: 10805 Segmentation fault /usr/sbin/dpkg-preconfigure > --apt > Setting up debconf (1.5.21) ... > dpkg: error processing debconf (--configure): > subprocess post-installation script killed by signal (Segmentation fault) > Setting up perl (5.10.0-10) ... > /var/lib/dpkg/info/perl.postinst: line 19: 10810 Segmentation fault > update-alternatives --install /usr/bin/rename rename /usr/bin/prename 60 > --slave /usr/share/man/man1/rename.1.gz rename.1.gz > /usr/share/man/man1/prename.1.gz > dpkg: error processing perl (--configure): > subprocess post-installation script returned error exit status 139 > dpkg: dependency problems prevent configuration of libnet-ssleay-perl: > libnet-ssleay-perl depends on perl (>= 5.10.0-9); however: > Package perl is not configured yet. > dpkg: error processing libnet-ssleay-perl (--configure): > dependency problems - leaving unconfigured > Errors were encountered while processing: > debconf > perl > libnet-ssleay-perl > E: Sub-process /usr/bin/dpkg returned an error code (1) > > Cheers, It's definitely a perl bug... Am I the only one affected? It's a fresh install of Lenny, I've only done some upgrades. Maybe a RAM issue caused this? Can I restore a previous version of perl copying manually package's files from a working installation of Lenny? Giovanni
smime.p7s
Description: S/MIME Cryptographic Signature