apt-get falha ao atualizar, instalar, remover etc

8

Eu atualizei de 11,10 para 12,04, não tive problemas que eu notei. Recentemente tentei instalar algo via centro de software, mas estava jogando erros. Mudou para tentar sudo apt-get install , mas novamente sem sorte. Eu realmente tentei tanto quanto eu sei para consertar isso, mas eu não posso, então pensei em perguntar aqui.

Eu fiz sudo apt-get update com sucesso, mas sudo apt-get upgrade falhou com ...

You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
 ia32-libs-multiarch:i386 : Depends: libqtcore4:i386 but it is not installed
 libqt4-dbus:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not installed
 libqt4-declarative:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not installed
 libqt4-designer:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not installed
 libqt4-network:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not installed
 libqt4-opengl:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not installed
 libqt4-qt3support:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not installed
 libqt4-script:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not installed
 libqt4-scripttools:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not installed
 libqt4-sql:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not installed
 libqt4-sql-mysql:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not installed
 libqt4-svg:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not installed
 libqt4-test:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not installed
 libqt4-xml:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not installed
 libqt4-xmlpatterns:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not installed
 libqtgui4:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not installed
 libqtwebkit4:i386 : Depends: libqtcore4:i386 (>= 4:4.8.0~) but it is not installed
 libssl1.0.0 : Breaks: libssl1.0.0:i386 (!= 1.0.1-4ubuntu5.2) but 1.0.0e-2ubuntu4.6 is installed
 libssl1.0.0:i386 : Breaks: libssl1.0.0 (!= 1.0.0e-2ubuntu4.6) but 1.0.1-4ubuntu5.2 is installed
E: Unmet dependencies. Try using -f.

Usando sudo apt-get -f install ...

The following packages were automatically installed and are no longer required:
  libgtkmm-2.4-1c2a libgtkhtml3.14-19 libglade2-0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libqtcore4:i386 libssl1.0.0:i386
The following NEW packages will be installed
  libqtcore4:i386
The following packages will be upgraded:
  libssl1.0.0:i386
1 upgraded, 1 newly installed, 0 to remove and 33 not upgraded.
20 not fully installed or removed.
Need to get 0 B/3,063 kB of archives.
After this operation, 9,044 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
E: Internal Error, No file name for libssl1.0.0

Eu tentei sudo apt-get remove libssl1.0.0 e sudo apt-get remove libssl1.0.0:i386

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
 ia32-libs-multiarch:i386 : Depends: libqtcore4:i386 but it is not going to be installed
                            Depends: libssl1.0.0:i386 but it is not going to be installed
 libcurl3:i386 : Depends: libssl1.0.0:i386 (>= 1.0.0) but it is not going to be installed
 libqt4-dbus:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-declarative:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-designer:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-network:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-opengl:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-qt3support:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-script:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-scripttools:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-sql:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-sql-mysql:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-svg:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-test:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-xml:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-xmlpatterns:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqtgui4:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqtwebkit4:i386 : Depends: libqtcore4:i386 (>= 4:4.8.0~) but it is not going to be installed
 libsasl2-modules:i386 : Depends: libssl1.0.0:i386 (>= 1.0.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Eu também tentei sudo apt-get dist-upgrade , sudo apt-get autoremove etc sem sorte.

Eu também tentei fazer o download de .deb e usar dpkg -i , mas isso falhou e não entendi completamente o método para ser honesto.

Editar Isso é em resposta aos comentários

ref: sudo apt-get install -f não conserta pacotes quebrados. E agora? sudo dpkg --configure -a --force-all

dpkg: error processing libssl1.0.0 (--configure):
 libssl1.0.0:amd64 1.0.1-4ubuntu5.2 cannot be configured because libssl1.0.0:i386 is in a different version (1.0.0e-2ubuntu4.6)
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: also configuring 'libssl1.0.0:i386' (required by 'ia32-libs-multiarch:i386')
dpkg: error processing libssl1.0.0:i386 (--configure):
 libssl1.0.0:i386 1.0.0e-2ubuntu4.6 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.2)
dpkg: too many errors, stopping
Errors were encountered while processing:
 libssl1.0.0
 libssl1.0.0:i386
 ...
 libssl1.0.0:i386
Processing was halted because there were too many errors.

Ref: Gerenciador de pacotes não funciona mais movendo /var/lib/kpkg/info/libssl..

kieran@kieran-EX58-UD3R:~$ sudo mv /var/lib/dpkg/info/libssl1.0.0:i386.postinst /var/lib/dpkg/info/libssl1.0.0:i386.postinst.bad
kieran@kieran-EX58-UD3R:~$ sudo mv /var/lib/dpkg/info/libssl1.0.0:amd64.postinst /var/lib/dpkg/info/libssl1.0.0:amd64.postinst.bad
kieran@kieran-EX58-UD3R:~$ sudo apt-get --reinstall install libssl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libssl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libssl' has no installation candidate
kieran@kieran-EX58-UD3R:~$ sudo apt-get --reinstall install libssl1.0.0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
 ia32-libs-multiarch:i386 : Depends: libqtcore4:i386 but it is not going to be installed
 libqt4-dbus:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-declarative:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-designer:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-network:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-opengl:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-qt3support:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-script:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-scripttools:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-sql:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-sql-mysql:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-svg:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-test:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-xml:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-xmlpatterns:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqtgui4:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqtwebkit4:i386 : Depends: libqtcore4:i386 (>= 4:4.8.0~) but it is not going to be installed
 libssl1.0.0 : Breaks: libssl1.0.0:i386 (!= 1.0.1-4ubuntu5.2) but 1.0.0e-2ubuntu4.6 is to be installed
 libssl1.0.0:i386 : Breaks: libssl1.0.0 (!= 1.0.0e-2ubuntu4.6) but 1.0.1-4ubuntu5.2 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
kieran@kieran-EX58-UD3R:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libgtkmm-2.4-1c2a libgtkhtml3.14-19 libglade2-0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libqtcore4:i386 libssl1.0.0:i386
The following NEW packages will be installed
  libqtcore4:i386
The following packages will be upgraded:
  libssl1.0.0:i386
1 upgraded, 1 newly installed, 0 to remove and 58 not upgraded.
20 not fully installed or removed.
Need to get 3,063 kB of archives.
After this operation, 9,044 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main libssl1.0.0 i386 1.0.1-4ubuntu5.2 [1,002 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main libqtcore4 i386 4:4.8.1-0ubuntu4.1 [2,061 kB]
Fetched 3,063 kB in 4s (731 kB/s)         
E: Internal Error, No file name for libssl1.0.0

ref: Dependências do libssl removendo libssl1.0.0: i386

kieran@kieran-EX58-UD3R:~$ sudo apt-get remove libssl1.0.0:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
 ia32-libs-multiarch:i386 : Depends: libqtcore4:i386 but it is not going to be installed
                            Depends: libssl1.0.0:i386 but it is not going to be installed
 libcurl3:i386 : Depends: libssl1.0.0:i386 (>= 1.0.0) but it is not going to be installed
 libqt4-dbus:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-declarative:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-designer:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-network:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-opengl:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-qt3support:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-script:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-scripttools:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-sql:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-sql-mysql:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-svg:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-test:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-xml:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqt4-xmlpatterns:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqtgui4:i386 : Depends: libqtcore4:i386 (= 4:4.8.1-0ubuntu4.1) but it is not going to be installed
 libqtwebkit4:i386 : Depends: libqtcore4:i386 (>= 4:4.8.0~) but it is not going to be installed
 libsasl2-modules:i386 : Depends: libssl1.0.0:i386 (>= 1.0.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    
por Kieran Peat 30.05.2012 / 01:00

3 respostas

4

Eu recentemente passei por uma situação semelhante tentando instalar ia32-libs (et al) e acredito que você pode estar sofrendo de um problema parecido com o que eu era, mesmo que seja um pouco diferente.

  • Há muito tempo adicionei o PPA Xorg-edgers. Isso contém toda uma carga de lixo de ponta para todos os tipos de pacotes. Portanto, neste momento, os pacotes que eu estava usando eram os mais novos.

  • Um tempo depois, fiquei entediado de atualizações diárias para o X e vários drivers. Eu desabilitei o PPA.

  • Mais tarde, eu tentei instalar o ia32-libs e me encontrei em um inferno de dependência.

O que estava acontecendo era que eu tinha uma versão mais nova de algum pacote que o dpkg estava esperando. Em vez de desclassificar esses poucos pacotes (como provavelmente deve sugerir), recomenda-se remover a maioria do sistema para que ele permaneça na versão mais recente dos pacotes X.

Corrigi-lo no meu caso foi realmente bizarramente simples: acabei de adicionar novamente o PPA que eu tinha desativado. Depois disso, consegui instalar o que quisesse. Isso pode não ser exatamente o mesmo para você, então tenha cuidado.

Eu esbarrei nessa correção completamente acidentalmente. Eu tinha esquecido que eu poderia ter versões mais recentes (e agora indisponíveis) de alguns pacotes. Se eu tivesse pensado no futuro, teria me lembrado de outra resposta que dei há pouco: Como faço para reverter todos os pacotes para suas versões oficiais?

O script é lento, mas não é nada, se não completo. Desative todos os PPAs, apt-get update , apt-get dist-upgrade e use o script para gerar uma lista de coisas que se desviam das versões oficiais. Purgar / reinstalar esses e você deve ser capaz de viver uma vida feliz, livre de dependências.

    
por Oli 20.07.2012 / 13:35
2

Eu tive um problema semelhante com dependências quebradas ao tentar instalar o wine e o acroread, e uma reclamação ao tentar instalar o ia32-libs-multiarch, logo após atualizar para o 12.04 a partir do 11.04 (passando acima do 11.10). Parece que alguns ppa que eu tinha em 11.04 instalaram versões mais novas de aplicativos no sistema. Após a atualização, os restos desses aplicativos pareciam bagunçar as dependências.

A solução que parece funcionar (até agora), foi encontrada em um fórum do Ubuntu ( link , posts do usuário Lasall):

Primeiro, um downgrade é necessário e feito com o seguinte: crie o arquivo 'preferences':

sudo vi /etc/apt/preferences

e insira as seguintes linhas:

Package: *       
Pin: release a=precise*
Pin-Priority: 2012

O Pin-Priority deve ser maior que 1000.

Em seguida, você pode fazer o downgrade dos aplicativos ofensivos com:

sudo apt-get dist-upgrade

Então você pode instalar pacotes que reclamam de dependências, como sudo apt-get install ia32-libs-multiarch ou sudo apt-get install ia32-libs .

Por fim, você deve remover o arquivo que acabou de criar:

sudo rm /etc/apt/preferences

porque mais nenhuma atualização nova seria encontrada.

Espero que isso ajude você também!

    
por JFB 23.09.2012 / 13:30
2

Eu estava recebendo um erro semelhante:

  

libqt4-scripttools: i386 4: 4.8.1-0ubuntu4.3 não pode ser configurado   porque libqt4-scripttools: amd64 está em uma versão diferente

Os seguintes comandos corrigiram o erro:

sudo apt-get download libqt4-scripttools:i386
sudo dpkg -i libqt4-scripttools:i386
    
por rajendersaini 29.06.2013 / 23:08