package ipython-notebook 1.2.1-2 failed to install/upgrade: el subproceso instalado el script pre-removal devolvió el código de salida de error 1

Bug #1693767 reported by Leonardo
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ipython (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

sudo apt-get --purge remove ipython
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Los siguientes paquetes se ELIMINARÁN:
  ipython* ipython-notebook* ipython-qtconsole*
0 actualizados, 0 se instalarán, 3 para eliminar y 0 no actualizados.
1 no instalados del todo o eliminados.
Se liberarán 3.900 kB después de esta operación.
¿Desea continuar? [S/n]
(Leyendo la base de datos ... 536045 ficheros o directorios instalados actualmente.)
Desinstalando ipython-qtconsole (1.2.1-2) ...
Traceback (most recent call last):
  File "/usr/bin/pyclean", line 24, in <module>
    import logging
  File "/usr/lib/python2.7/logging/__init__.py", line 26, in <module>
    import sys, os, time, cStringIO, traceback, warnings, weakref, collections
ImportError: No module named time
dpkg: error al procesar el paquete ipython-qtconsole (--purge):
 el subproceso instalado el script pre-removal devolvió el código de salida de error 1
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 26, in <module>
    import logging
  File "/usr/lib/python2.7/logging/__init__.py", line 26, in <module>
    import sys, os, time, cStringIO, traceback, warnings, weakref, collections
ImportError: No module named time
dpkg: error al reorganizar:
 el subproceso instalado el script post-installation devolvió el código de salida de error 1
Desinstalando ipython-notebook (1.2.1-2) ...
Traceback (most recent call last):
  File "/usr/bin/pyclean", line 24, in <module>
    import logging
  File "/usr/lib/python2.7/logging/__init__.py", line 26, in <module>
    import sys, os, time, cStringIO, traceback, warnings, weakref, collections
ImportError: No module named time
dpkg: error al procesar el paquete ipython-notebook (--purge):
 el subproceso instalado el script pre-removal devolvió el código de salida de error 1
dpkg: error al procesar el paquete ipython (--purge):
 el paquete está en un estado muy malo e inconsistente - debe reinstalarlo
 antes de intentar desinstalarlo.
Se encontraron errores al procesar:
 ipython-qtconsole
 ipython-notebook
 ipython
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: ipython-notebook 1.2.1-2
ProcVersionSignature: Ubuntu 4.4.0-78.99~14.04.2-generic 4.4.62
Uname: Linux 4.4.0-78-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.24
AptOrdering:
 ipython-qtconsole: Purge
 ipython-notebook: Purge
 ipython: Purge
Architecture: amd64
Date: Fri May 26 06:26:11 2017
DuplicateSignature: package:ipython-notebook:1.2.1-2:el subproceso instalado el script pre-removal devolvió el código de salida de error 1
ErrorMessage: el subproceso instalado el script pre-removal devolvió el código de salida de error 1
InstallationDate: Installed on 2017-05-20 (6 days ago)
InstallationMedia: Ubuntu 14.04.5 LTS "Trusty Tahr" - Release amd64 (20160803)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.17.5ubuntu5.7
 apt 1.0.1ubuntu2.17
SourcePackage: ipython
Title: package ipython-notebook 1.2.1-2 failed to install/upgrade: el subproceso instalado el script pre-removal devolvió el código de salida de error 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Leonardo (leonardo-sm-988) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Rolf Leggewie (r0lf) wrote :

The failure to import the time module (which is is a built-in module) suggests that you did something to break your python setup. As such, your system is unsupported and the error not a bug in Ubuntu.

Changed in ipython (Ubuntu):
status: New → Invalid
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.