package libc6 2.19-0ubuntu6 failed to install/upgrade: el subproceso script pre-installation nuevo devolvió el código de salida de error 1

Bug #1354124 reported by Andreu Correa Casablanca
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
eglibc (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

My interactive bash session trying to upgrade my system:

root@castarcoSuperDesktop:/lib# apt-get upgrade
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Tal vez quiera ejecutar «apt-get -f install» para corregirlo.
Los siguientes paquetes tienen dependencias incumplidas:
 libc6-dbg : Depende: libc6 (= 2.19-0ubuntu6.1) pero 2.19-0ubuntu6 está instalado
 libc6-dev : Depende: libc6 (= 2.19-0ubuntu6.1) pero 2.19-0ubuntu6 está instalado
 libc6-i386 : Depende: libc6 (= 2.19-0ubuntu6.1) pero 2.19-0ubuntu6 está instalado
E: Dependencias incumplidas. Pruebe de nuevo usando -f.
root@castarcoSuperDesktop:/lib#
root@castarcoSuperDesktop:/lib# apt-get install -f
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Corrigiendo dependencias... Listo
Se instalarán los siguientes paquetes extras:
  libc6 libc6:i386
Paquetes sugeridos:
  glibc-doc glibc-doc:i386 locales:i386
Se actualizarán los siguientes paquetes:
  libc6 libc6:i386
2 actualizados, 0 se instalarán, 0 para eliminar y 17 no actualizados.
14 no instalados del todo o eliminados.
Se necesita descargar 0 B/8.743 kB de archivos.
Se utilizarán 0 B de espacio de disco adicional después de esta operación.
¿Desea continuar? [S/n] s
Preconfigurando paquetes ...
(Leyendo la base de datos ... 428348 ficheros o directorios instalados actualmente.)
Preparing to unpack .../libc6_2.19-0ubuntu6.1_amd64.deb ...
De-configuring libc6:i386 (2.19-0ubuntu6) ...

LD_LIBRARY_PATH contains the traditional /lib directory,
but not the multiarch directory /lib/x86_64-linux-gnu.
It is not safe to upgrade the C library in this situation;
please remove the /lib/directory from LD_LIBRARY_PATH and
try again.

dpkg: error al procesar el archivo /var/cache/apt/archives/libc6_2.19-0ubuntu6.1_amd64.deb (--unpack):
 el subproceso script pre-installation nuevo devolvió el código de salida de error 1
Preparing to unpack .../libc6_2.19-0ubuntu6.1_i386.deb ...
De-configuring libc6:amd64 (2.19-0ubuntu6) ...

LD_LIBRARY_PATH contains the traditional /lib directory,
but not the multiarch directory /lib/i386-linux-gnu.
It is not safe to upgrade the C library in this situation;
please remove the /lib/directory from LD_LIBRARY_PATH and
try again.

dpkg: error al procesar el archivo /var/cache/apt/archives/libc6_2.19-0ubuntu6.1_i386.deb (--unpack):
 el subproceso script pre-installation nuevo devolvió el código de salida de error 1
Se encontraron errores al procesar:
 /var/cache/apt/archives/libc6_2.19-0ubuntu6.1_amd64.deb
 /var/cache/apt/archives/libc6_2.19-0ubuntu6.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: libc6 2.19-0ubuntu6
ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
Uname: Linux 3.13.0-32-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Wed Aug 6 10:13:18 2014
Dependencies:
 gcc-4.9-base 4.9-20140406-0ubuntu1
 libc6 2.19-0ubuntu6
 libgcc1 1:4.9-20140406-0ubuntu1
 multiarch-support 2.19-0ubuntu6.1
DuplicateSignature: package:libc6:2.19-0ubuntu6:el subproceso script pre-installation nuevo devolvió el código de salida de error 1
ErrorMessage: el subproceso script pre-installation nuevo devolvió el código de salida de error 1
InstallationDate: Installed on 2013-03-10 (515 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
SourcePackage: eglibc
Title: package libc6 2.19-0ubuntu6 failed to install/upgrade: el subproceso script pre-installation nuevo devolvió el código de salida de error 1
UpgradeStatus: Upgraded to trusty on 2014-04-26 (103 days ago)

Revision history for this message
Andreu Correa Casablanca (castarco) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Andreu Correa Casablanca (castarco) wrote :

I've "solved" the issue typing

export LD_LIBRARY_PATH=/lib/x86_64-linux-gnu:/lib/i386-linux-gnu

before doing

apt-get -f install

But this fix it's only available to people with expertise on Linux...

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

Has anyone determined why LD_LIBRARY_PATH was set incorrectly in the first place? That's the real bug here.

Changed in eglibc (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for eglibc (Ubuntu) because there has been no activity for 60 days.]

Changed in eglibc (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.