Newsgroup: it.comp.os.linux.iniziare
Titolo: Un errore mi blocca dpkg (perl? libc?)...

Ciao a tutti, da qualche giorno provando a fare quasi qualunque cosa
con apt-get (install, update, upgrade, remove, ecc...) mi viene questo
errore:
debconf: Perl may be unconfigured (Can't locate loadable object for
module Fcntl in @INC (@INC contains: /etc/perl /usr/local/lib/perl/
5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /
usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /
usr/lib/perl/5.10/DynaLoader.pm line 161
BEGIN failed--compilation aborted at /usr/lib/perl/5.10/Fcntl.pm line
161.
Compilation failed in require at /usr/lib/perl/5.10/IO/Seekable.pm
line 12.
BEGIN failed--compilation aborted at /usr/lib/perl/5.10/IO/Seekable.pm
line 12.
Compilation failed in require at /usr/lib/perl/5.10/IO/File.pm line
11.
BEGIN failed--compilation aborted at /usr/lib/perl/5.10/IO/File.pm
line 11.
Compilation failed in require at /usr/share/perl/5.10/FileHandle.pm
line 9.
Compilation failed in require at (eval 1) line 3.
BEGIN failed--compilation aborted at (eval 1) line 3.
) -- aborting
(Lettura del database... 122588 file e directory attualmente
installati.)
Preparativi per sostituire libc6 v.2.12.1-0ubuntu9 (utilizzando .../
libc6_2.12.1-0ubuntu10_amd64.deb)...
Can't locate loadable object for module Fcntl in @INC (@INC contains: /
etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/
lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /
usr/local/lib/site_perl .) at /usr/share/perl/5.10/Carp.pm line 161
BEGIN failed--compilation aborted at /usr/lib/perl/5.10/Fcntl.pm line
161.
Compilation failed in require at /usr/lib/perl/5.10/POSIX.pm line 19.
BEGIN failed--compilation aborted at /usr/lib/perl/5.10/POSIX.pm line
19.
Compilation failed in require at /usr/share/perl5/Debconf/Template.pm
line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/
Template.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm
line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/
Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm
line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/
Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line
10.
Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line
7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm
line 7.
Compilation failed in require at /usr/share/debconf/frontend line 6.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line
6.
dpkg: errore nell'elaborare /var/cache/apt/archives/
libc6_2.12.1-0ubuntu10_amd64.deb (--unpack):
 il sottoprocesso nuovo script pre-installation ha restituito lo stato
di errore 9
Si sono verificati degli errori nell'elaborazione:
 /var/cache/apt/archives/libc6_2.12.1-0ubuntu10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ho provato a googolare ma non riesco a capire se è un problema di
PERL, di dpkg, di libc, di repository, o cosa...
Grazie a chiunque avrà suggerimenti utili!! :)
ale

 Can't locate loadable object for module Fcntl in @INC (@INC contains: /
Direi che l'errore sta in questa mancanza del modulo Fcntl che fa parte di
perl-base.
Sarebbe quindi utile sapere cosa hai combinato *prima* di arrivare a questo
punto.
-- 
Flavio Visentin
Ubuntu in Zulu significa "Non so usare Debian". (cit. CtRiX)