O apt-get falha ao atualizar, instalar, remover etc

8

Atualizei de 11.10 para 12.04, não tive problemas que notei. Recentemente tentei instalar algo através do centro de software, mas estava lançando erros. Mudou para tentar em sudo apt-get installvez disso, mas novamente sem sorte. Eu realmente tentei, tanto quanto sei, consertar isso, mas não posso, então pensei em perguntar aqui.

Eu fiz com sudo apt-get updatesucesso, mas sudo apt-get upgradefalhei 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.0esudo 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 autoremoveetc , sem qualquer sorte.

Também tentei baixar .debe usar dpkg -i, mas isso falhou e não entendeu completamente o método para ser honesto.

Editar Isso é uma resposta aos comentários

ref: sudo apt-get install -f não corrige 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 em movimento/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: libssl Dependências 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).
Kieran Peat
fonte
1
Bem-vindo ao AskUbuntu! Obrigado por postar uma lista tão detalhada do que você tentou acompanhar o resultado, economiza muito tempo :). Na parte inferior, você disse que não entendia completamente o método, você quis dizer o método de instalação do programa usando dpkg -i? Além disso, você pode incluir a saída de tentar instalar o programa usando dpkg -i?
Jeff Welling
Possivelmente relacionado: askubuntu.com/questions/96129/…
Jeff Welling
1
Possivelmente relacionado, e a solução principal parece promissora: askubuntu.com/questions/26389/…
Jeff Welling
Kieran, você está usando uma versão de 64 bits do Ubuntu? Normalmente não vejo: i386 nos pacotes, a menos que você esteja no Ubuntu e instalando: i386 stuff.
Thomas Ward
Obrigado pelas respostas, infelizmente ainda sem sorte. Eu editei o post para colocar o que eu tenho de tentar isso. Jeff, eu quis dizer que não tenho muita certeza de qual arquivo .deb eu preciso baixar para usar dpkg -i. Estou usando 64 bits, não sei por que as coisas: i386 estão lá: / pode ser que eu errei originalmente tentando corrigir o problema e usei um pacote i386 em vez de amd64.
Kieran Peat

Respostas:

4

Recentemente, passei por uma situação semelhante ao tentar instalar ia32-libs(et al) e acredito que você possa estar sofrendo de um problema semelhante ao que eu era, mesmo que seja um pouco diferente.

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

  • Um tempo depois, eu me cansei de atualizações diárias no X e em vários drivers. Desativei o PPA.

  • Mais tarde, tentei instalar ia32-libse me vi no inferno das dependências.

O que estava acontecendo era que eu tinha uma versão mais recente de algum pacote que o dpkg estava esperando. Em vez de fazer o downgrade desses poucos pacotes (como provavelmente deveria sugerir), ele recomendava remover a maior parte do sistema, para que pudesse permanecer na versão mais recente dos pacotes X.

Consertá-lo no meu caso era realmente bizarramente simples: acabei de adicionar novamente o PPA que havia desativado. Depois disso, eu poderia instalar o que quisesse. Isso pode não ser exatamente o mesmo para você, portanto, tenha cuidado.


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

O script é lento, mas não é nada, se não for completo. Desabilite todos os PPAs e apt-get update, em apt-get dist-upgradeseguida, use o script para gerar uma lista de itens que se desviam das versões oficiais. Limpe / reinstale-os e você poderá viver uma vida feliz e livre de dependência.

Oli
fonte
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 do 11.04 (passando o 11.10) para 12.04. Parece que alguns ppa que eu tinha no 11.04 instalaram versões mais recentes 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 uma placa ubuntu alemã ( http://forum.ubuntuusers.de , posts do usuário Lasall):

Primeiro, é necessário fazer um downgrade e fazer o seguinte: crie o arquivo 'preferências':

sudo vi /etc/apt/preferences

e insira as seguintes linhas:

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

A prioridade de pinos deve ser maior que 1000.

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

sudo apt-get dist-upgrade

Em seguida, você pode instalar pacotes que reclamaram 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 você acabou de criar:

sudo rm /etc/apt/preferences

porque senão nenhuma nova atualização seria encontrada.

Espero que isso ajude voçe tambem!

JFB
fonte
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
rajendersaini
fonte