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
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/
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/
import logging
File "/usr/lib/
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/
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
ProcVersionSign
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:
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)
PackageArchitec
RelatedPackageV
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)
tags: | removed: need-duplicate-check |
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.