broken packages

Bug #399383 reported by hanndeyll
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: python-pam

The packages python-pam and python-serial are broken, so I'm unable to install, uninstall or remove them (messages in spanish):

dani@Redkeep:~$ sudo aptitude install xmms2
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Leyendo la información de estado extendido
Inicializando el estado de los paquetes... Hecho
Se instalarán los siguiente paquetes NUEVOS:
  xmms2
Se configurarán los siguientes paquetes que están ahora parcialmente instalados:
  python-pam python-serial
0 paquetes actualizados, 1 nuevos instalados, 0 para eliminar y 18 sin actualizar.
Necesito descargar 0B/74,7kB de ficheros. Después de desempaquetar se usarán 57,3kB.
Escribiendo información de estado extendido... Hecho
(Leyendo la base de datos ...
147485 ficheros y directorios instalados actualmente.)
Preparando para reemplazar python-pam 0.4.2-12ubuntu3 (usando .../python-pam_0.4.2-12ubuntu3_i386.deb) ...
dpkg (subproceso): no se puede ejecutar script de `pre-removal' antiguo: Error de formato ejecutable
dpkg: aviso - script de `pre-removal' antiguo devolvió código de error 2
dpkg - probando el script del nuevo paquete en su lugar...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 2190, in <module>
    main()
  File "/usr/bin/pycentral", line 2184, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1639, in run
    pkg = DebPackage('package', self.args[0], oldstyle=False)
  File "/usr/bin/pycentral", line 377, in __init__
    self.read_pyfiles()
  File "/usr/bin/pycentral", line 408, in read_pyfiles
    self.pkgconfig.set('pycentral', 'include-links', '0')
  File "/usr/lib/python2.6/ConfigParser.py", line 669, in set
    ConfigParser.set(self, section, option, value)
  File "/usr/lib/python2.6/ConfigParser.py", line 377, in set
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'pycentral'
dpkg: error al procesar /var/cache/apt/archives/python-pam_0.4.2-12ubuntu3_i386.deb (--unpack):
 el subproceso script pre-removal nuevo devolvió el código de salida de error 1
dpkg (subproceso): no se puede ejecutar post-installation script: Error de formato ejecutable
dpkg: error al reorganizar:
 el subproceso post-installation script devolvió el código de salida de error 2
Preparando para reemplazar python-serial 2.3-1 (usando .../python-serial_2.3-1_all.deb) ...
dpkg (subproceso): no se puede ejecutar script de `pre-removal' antiguo: Error de formato ejecutable
dpkg: aviso - script de `pre-removal' antiguo devolvió código de error 2
dpkg - probando el script del nuevo paquete en su lugar...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 2190, in <module>
    main()
  File "/usr/bin/pycentral", line 2184, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1639, in run
    pkg = DebPackage('package', self.args[0], oldstyle=False)
  File "/usr/bin/pycentral", line 377, in __init__
    self.read_pyfiles()
  File "/usr/bin/pycentral", line 408, in read_pyfiles
    self.pkgconfig.set('pycentral', 'include-links', '0')
  File "/usr/lib/python2.6/ConfigParser.py", line 669, in set
    ConfigParser.set(self, section, option, value)
  File "/usr/lib/python2.6/ConfigParser.py", line 377, in set
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'pycentral'
dpkg: error al procesar /var/cache/apt/archives/python-serial_2.3-1_all.deb (--unpack):
 el subproceso script pre-removal nuevo devolvió el código de salida de error 1
dpkg (subproceso): no se puede ejecutar post-installation script: Error de formato ejecutable
dpkg: error al reorganizar:
 el subproceso post-installation script devolvió el código de salida de error 2
Seleccionando el paquete xmms2 previamente no seleccionado.
Desempaquetando xmms2 (de .../xmms2_0.5DrLecter-2ubuntu3_all.deb) ...
Se encontraron errores al procesar:
 /var/cache/apt/archives/python-pam_0.4.2-12ubuntu3_i386.deb
 /var/cache/apt/archives/python-serial_2.3-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Un paquete no se pudo instalar. Intentado recuperarse:
Configurando xmms2 (0.5DrLecter-2ubuntu3) ...
dpkg: error al procesar python-serial (--configure):
 El paquete está en un estado grave de inconsistencia - debe reinstalarlo
 antes de intentar su configuración.
dpkg: error al procesar python-pam (--configure):
 El paquete está en un estado grave de inconsistencia - debe reinstalarlo
 antes de intentar su configuración.
Se encontraron errores al procesar:
 python-serial
 python-pam
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Leyendo la información de estado extendido
Inicializando el estado de los paquetes... Hecho
Escribiendo información de estado extendido... Hecho

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: el subproceso script pre-removal nuevo devolvió el código de salida de error 1
NonfreeKernelModules: nvidia
Package: python-pam 0.4.2-12ubuntu3
SourcePackage: python-pam
Title: package python-pam 0.4.2-12ubuntu3 failed to install/upgrade: el subproceso script pre-removal nuevo devolvió el código de salida de error 1
Uname: Linux 2.6.28-13-generic i686

Revision history for this message
hanndeyll (dani-frias) wrote :
Revision history for this message
Mitch Towner (kermiac) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 512096, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

affects: python-pam (Ubuntu) → dpkg (Ubuntu)
Changed in dpkg (Ubuntu):
status: New → Confirmed
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.