apt-get no puede actualizar, instalar, eliminar, etc.

8

Actualicé de 11.10 a 12.04, no tuve problemas que noté. Recientemente intenté instalar algo a través del centro de software, pero arrojaba errores. Cambió a intentarlo, sudo apt-get installpero de nuevo no hubo suerte. Realmente he intentado todo lo que sé para solucionar esto, pero no puedo, así que pensé en preguntar aquí.

Lo hice con sudo apt-get updateéxito pero sudo apt-get upgradefallé con ...

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

He intentado sudo apt-get remove libssl1.0.0ysudo 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).

También lo he intentado sudo apt-get dist-upgrade, sudo apt-get autoremoveetc. sin suerte.

También intenté descargar .deby usar dpkg -i, pero eso falló y no entendí completamente el método para ser honesto.

Editar Esto es en respuesta a los comentarios

ref: sudo apt-get install -f no repara los paquetes rotos. ¿Y ahora? 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: El administrador de paquetes ya no funciona moviéndose/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 Dependencias que eliminan 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
fuente
1
¡Bienvenido a AskUbuntu! Gracias por publicar una lista tan detallada de lo que ha intentado con el resultado adjunto, ahorra mucho tiempo :). En la parte inferior, dijo que no entendía completamente el método, ¿se refería al método de instalación del programa dpkg -i? Además, ¿puede incluir el resultado de intentar instalar el programa usando dpkg -i?
Jeff Welling
Posiblemente relacionado: askubuntu.com/questions/96129/…
Jeff Welling
1
Posiblemente relacionado, y la mejor solución parece prometedora: askubuntu.com/questions/26389/…
Jeff Welling
Kieran, ¿estás usando una versión de 64 bits de Ubuntu? Normalmente no veo: i386 en paquetes a menos que esté en Ubuntu e instale: cosas de i386.
Thomas Ward
Gracias por las respuestas, lamentablemente todavía no tuvimos suerte. He editado la publicación para poner lo que tengo de probar esto. Jeff, quise decir que no estoy realmente seguro de qué archivo .deb necesito descargar para usar dpkg -i. Estoy usando 64 bits, no estoy seguro de por qué: i386 está ahí: / podría ser que me equivoqué originalmente tratando de solucionar el problema y usé un paquete i386 en lugar de amd64.
Kieran Peat

Respuestas:

4

Recientemente pasé por una situación similar tratando de instalar ia32-libs(et al) y creo que podría estar sufriendo un problema similar a lo que era, incluso si es ligeramente diferente.

  • Hace mucho tiempo agregué el PPA Xorg-edgers. Contiene una carga completa de basura de última generación para todo tipo de paquetes. Por lo tanto, en este punto, los paquetes que estaba usando eran los más nuevos.

  • Un tiempo después, me aburrí de las actualizaciones diarias de X y varios controladores. Inhabilité el PPA.

  • Incluso más tarde, intenté instalar ia32-libsy me encontré en el infierno de la dependencia.

Lo que estaba sucediendo era que tenía una versión más nueva de algún paquete que dpkg esperaba. En lugar de degradar esos pocos paquetes (como probablemente debería sugerir), se recomienda eliminar la mayor parte del sistema para que pueda permanecer en la última versión de los paquetes X.

Solucionarlo en mi caso fue realmente extraño: simplemente volví a agregar el PPA que había desactivado. Después de eso pude instalar lo que quisiera. Esto podría no ser exactamente lo mismo para usted, así que tenga cuidado.


Me topé con esta solución completamente accidentalmente. Había olvidado que podría tener versiones más nuevas (y ahora no disponibles) de algunos paquetes. Si hubiera pensado con anticipación, habría recordado otra respuesta que di hace un tiempo: ¿Cómo revierto todos los paquetes a sus versiones oficiales?

El guión es lento pero no es nada si no es completo. Desactivar todas las EPP, apt-get update, apt-get dist-upgradey luego utilizar el script para generar una lista de las cosas que se apartan de las versiones oficiales. Purgue / vuelva a instalarlos y debería poder vivir una vida feliz, libre de dependencia y sin infierno.

Oli
fuente
2

Tuve un problema similar con dependencias rotas al intentar instalar wine y acroread, y una queja al intentar instalar ia32-libs-multiarch, justo después de actualizar a 12.04 desde 11.04 (pasando 11.10). Parece que algunos ppa que tenía en 11.04 instalaron versiones más nuevas de aplicaciones en el sistema. Después de la actualización, los restos de estas aplicaciones parecían causar problemas en las dependencias.

La solución que parece funcionar (hasta ahora), se encontró en un tablero de ubuntu alemán ( http://forum.ubuntuusers.de , publicaciones del usuario Lasall):

Primero se requiere una degradación y se realiza con lo siguiente: crear el archivo de 'preferencias':

sudo vi /etc/apt/preferences

e inserte las siguientes líneas:

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

La prioridad del pin debe ser mayor que 1000.

Luego puede degradar las aplicaciones ofensivas con:

sudo apt-get dist-upgrade

Luego puede instalar paquetes que se quejaron de dependencias, como sudo apt-get install ia32-libs-multiarcho sudo apt-get install ia32-libs.

Finalmente, debe eliminar el archivo que acaba de crear:

sudo rm /etc/apt/preferences

porque de lo contrario no se encontrarán nuevas actualizaciones.

¡Espero que esto le ayude también!

JFB
fuente
2

Estaba recibiendo un error similar:

libqt4-scripttools: i386 4: 4.8.1-0ubuntu4.3 no se puede configurar porque libqt4-scripttools: amd64 está en una versión diferente

Los siguientes comandos arreglaron el error:

sudo apt-get download libqt4-scripttools:i386
sudo dpkg -i libqt4-scripttools:i386
rajendersaini
fuente