A instalação ou remoção de um pacote de software falhou [duplicado]

2

Eu atualizei recentemente para o Ubuntu 13.04, depois de instalar algum programa aleatório do software-center eu recebo o "Operação do pacote falhou" - "A instalação ou remoção de um pacote de software falhou." e parece que tem a ver com o python 3.3. Alguém pode explicar o que é isso tudo (note que o programa aleatório foi instalado)

pasta completa

installArchives() failed: Selecting previously unselected package zenmap.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%

----------

Unpacking zenmap (from .../zenmap_6.00-0.3_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Setting up python3.3-minimal (3.3.1-1ubuntu5) ...
Traceback (most recent call last):
  File "/usr/lib/python3.3/py_compile.py", line 8, in <module>
    import imp
  File "/usr/lib/python3.3/imp.py", line 28, in <module>
    import tokenize
  File "/usr/lib/python3.3/tokenize.py", line 28, in <module>
    import re
  File "/usr/lib/python3.3/re.py", line 122, in <module>
    import sre_compile
  File "/usr/lib/python3.3/sre_compile.py", line 14, in <module>
    import sre_parse
  File "/usr/lib/python3.3/sre_parse.py", line 17, in <module>
    from sre_constants import *
  File "/usr/lib/python3.3/sre_constants.py", line 18, in <module>
    from _sre import MAXREPEAT
ImportError: cannot import name MAXREPEAT
dpkg: error processing python3.3-minimal (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-minimal:
 python3-minimal depends on python3.3-minimal (>= 3.3.1-1~); however:
  Package python3.3-minimal is not configured yet.

dpkg: error processing python3-minimal (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3.3:
 python3.3 depends on python3.3-minimal (= 3.3.1-1ubuntu5); however:
  Package python3.3-minimal is not configured yet.

dpkg: error processing python3.3 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3:
 python3 depends on python3.3 (>= 3.3.1-1~); however:
  Package python3.3 is not configured yet.
 python3 depends on python3-minimal (= 3.3.1-0ubuntu1); however:
  Package python3-minimal is not configured yet.
----------
Errors were encountered while processing:
 python3.3-minimal
 python3-minimal
 python3.3
 python3
 python3-apt
 python3-dbus
 language-selector-common
 python3-gi
 bluez
 gnome-menus
 kde-runtime
 kdenlive
 gnome-bluetooth
 indicator-bluetooth
 gnome-control-center
 python3-xkit
 ubuntu-drivers-common
 python3-pkg-resources
 python3-crypto
 python3-oauthlib
 friends-dispatcher
 libfriends0
 lsb-release
 ubuntu-minimal
 python3-gdbm:i386
 python3-commandnotfound
 command-not-found
 python3-distupgrade
 python3-update-manager
 ubuntu-release-upgrader-core
 ubuntu-standard
 ufw
 update-manager-core
 python3-problem-report
 python3-apport
 apport
 apport-gtk
 apturl-common
 unattended-upgrades
 python3-software-properties
 software-properties-common
 python3-aptdaemon
 python3-aptdaemon.gtk3widgets
 software-properties-gtk
 apturl
Setting up zenmap (6.00-0.3) ...
Setting up python3.3-minimal (3.3.1-1ubuntu5) ...
Traceback (most recent call last):
    
por user163063 30.05.2013 / 16:42

2 respostas

1

Se você tiver o Gerenciador de Pacotes Synaptic instalado, abra-o e selecione "quebrado" no lado esquerdo. Desinstale ou reinstale o pacote corrompido.

Eu estava mostrando o libmotif4 como um pacote quebrado. Acontece que eu tinha libmotif3 instalado também e isso estava causando um problema. Eu removi o libmotif3 e reinstalei o 4.

    
por urb 17.05.2014 / 04:50
0

abra seu terminal e digite como

sudo apt-get update
sudo dpkg-reconfigure -a
    
por rɑːdʒɑ 30.05.2013 / 17:50