No hay suerte, Angel.
Ha hecho lo que me comentas y sigue dando el mismo error.
Además, ejecuto después el comando que me has dado y:
--------------------------------------------------------------------------
# dpkg -l|awk '/^ii/ { print $2 }' > /tmp/files.txt
warning, in file '/var/lib/dpkg/status' near line 1347 package
'perl-modules':
'Conflicts' field, reference to 'libattribute-handlers-perl': error in
version: invalid character in version number
warning, in file '/var/lib/dpkg/available' near line 1343 package
'perl-modules':
'Conflicts' field, reference to 'libattribute-handlers-perl': error in
version: invalid character in version number
--------------------------------------------------------------------------
¿Alguna otra idea?. No vale la opción de cortarse las venas... :-)
Saludos y gracias,
Ramses
2010/8/24 AngelD <[email protected]>
> El Tue, 24 Aug 2010 17:10:11 +0200
> Ramses II <[email protected]> escribió:
>
> > Buenas a todos de nuevo,
> >
> > Sigo peleando con el server remoto en el que me había "cepillado"
> > dpkg y algún otro paquete...
> >
> > Ya conseguí instalarlo gracias a ustedes, ahora es otro el problema,
> > os cuento...
> >
> > No puedo hacer un upgrade ni instalar nada, ya que al intentarlo me
> > da un error de locale.
> >
> > Voy a poner un ejemplo, me pasa al intentar instalar cualquier cosa o
> > incluso intentar hacer un upgrade:
> >
> > - Intentamos instalar, por ejemplo, el paquete "rpm":
> >
> > ------------------------------
> > --------------------------------
> > pepe:/etc# apt-get install rpm
> > Reading package lists... Done
> > Building dependency tree... Done
> > The following extra packages will be installed:
> > gcc-4.3-base libbeecrypt6 libc6 libc6-i686 libkeyutils1 libkrb53
> > libneon27 librpm4.4 libsqlite3-0 libssl0.9.8 libstdc++6
> > zlib1g
> > Suggested packages:
> > locales glibc-doc krb5-doc krb5-user alien
> > The following NEW packages will be installed:
> > gcc-4.3-base libbeecrypt6 libkeyutils1 libneon27 librpm4.4 rpm
> > The following packages will be upgraded:
> > libc6 libc6-i686 libkrb53 libsqlite3-0 libssl0.9.8 libstdc++6 zlib1g
> > 7 upgraded, 6 newly installed, 0 to remove and 268 not upgraded.
> > 3 not fully installed or removed.
> > Need to get 6505kB/12.3MB of archives.
> > After unpacking 7692kB of additional disk space will be used.
> > Do you want to continue [Y/n]?Y
> > Get:1 http://ftp.us.debian.org lenny/main gcc-4.3-base 4.3.2-1.1
> > [103kB] Get:2 http://ftp.us.debian.org lenny/main libstdc++6
> > 4.3.2-1.1 [332kB] Get:3 http://ftp.us.debian.org lenny/main zlib1g
> > 1:1.2.3.3.dfsg-12 [73.2kB] Get:4 http://ftp.us.debian.org lenny/main
> > libssl0.9.8 0.9.8g-15+lenny7 [2979kB]
> > Get:5 http://ftp.us.debian.org lenny/main libkeyutils1 1.2-9 [5584B]
> > Get:6 http://ftp.us.debian.org lenny/main libkrb53
> > 1.6.dfsg.4~beta1-5lenny4 [482kB]
> > Get:7 http://ftp.us.debian.org lenny/main libsqlite3-0 3.5.9-6 [245kB]
> > Get:8 http://ftp.us.debian.org lenny/main libbeecrypt6 4.1.2-7 [107kB]
> > Get:9 http://ftp.us.debian.org lenny/main libneon27 0.28.2-6.1 [140kB]
> > Get:10 http://ftp.us.debian.org lenny/main librpm4.4 4.4.2.3-1 [948kB]
> > Get:11 http://ftp.us.debian.org lenny/main rpm 4.4.2.3-1 [1090kB]
> > Fetched 6505kB in 8s (773kB/s)
> > Can't exec "locale": No such file or directory at
> > /usr/share/perl5/Debconf/Encoding.pm line 16.
> > Use of uninitialized value in scalar chomp at
> > /usr/share/perl5/Debconf/Encoding.pm line 17.
> > Preconfiguring packages ...
> > warning, in file '/var/lib/dpkg/status' near line 1322 package
> > 'perl-modules':
> > 'Conflicts' field, reference to 'libattribute-handlers-perl': error
> > in version: invalid character in version number
> > warning, in file '/var/lib/dpkg/available' near line 1343 package
> > 'perl-modules':
> > 'Conflicts' field, reference to 'libattribute-handlers-perl': error
> > in version: invalid character in version number
> > dpkg: warning: 'ldconfig' not found in PATH or not executable.
> > dpkg: 1 expected program(s) not found in PATH or not executable.
> > NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin
> > and /sbin. E: Sub-process /usr/bin/dpkg returned an error code (2)
> > pepe:/etc#
> > --------------------------------------------------------------
> >
> > Cualquier paquete que quiero instalar me da ese mismo error, no sé si
> > es porque se hayan mezclado versiones o qué...
>
> Tiene pinta de que se te ha corrompido el fichero
> '/var/lib/dpkg/status'. Tras realizar una copia del mismo, sustituyelo
> por la copia anterior '/var/lib/dpkg/status-old', y piensa en
> [1]reinstalar TODOS los paquetes de nuevo, porque con los problemas que
> estás contando no me fiaría de nada.
>
> Saludos --- Angel
>
> [1] dpkg -l|awk '/^ii/ { print $2 }' > /tmp/files.txt
> aptitude reinstall `cat /tmp/files.txt`
>
>
> --
> To UNSUBSCRIBE, email to [email protected]
> with a subject of "unsubscribe". Trouble? Contact
> [email protected]
> Archive: http://lists.debian.org/20100824174049.717b2...@x32
>
>