apt-getがアップグレード、インストール、削除などに失敗する


8

11.10から12.04にアップグレードしましたが、気づいた問題はありませんでした。最近、ソフトウェアセンター経由で何かをインストールしようとしましたが、エラーが発生していました。sudo apt-get install代わりにしようとしたが、運が悪かった。私はこれを修正するために私が知っている限り真に試みましたが、それができないので、私はここで尋ねようと思いました。

私はsudo apt-get update成功しましたがsudo apt-get upgrade失敗しました...

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.

を使用して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

私が試したsudo apt-get remove libssl1.0.0し、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).

私も試してみたsudo apt-get dist-upgradesudo apt-get autoremove任意の運なしなど。

私もをダウンロードし.debて使用しようとしましたdpkg -iが、失敗し、方法を正直に理解できませんでした。

編集 これはコメントへの応答です

ref:sudo apt-get install -fは壊れたパッケージを修正しません。そしていま? 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.

参考:パッケージマネージャはもう動作しません 移動します/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: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).

1
AskUbuntuへようこそ!あなたが付随する出力で試したもののそのような詳細なリストを投稿してくれてありがとう、それは多くの時間を節約します:)。一番下では、方法を完全に理解していないと言いましたが、それは、プログラムを使用してプログラムをインストールする方法dpkg -iですか?また、使用してプログラムをインストールしようとしたときの出力を含めることができますdpkg -iか?
ジェフウェリング


1
おそらく関連、およびトップ・ソリューションのルックスは有望:askubuntu.com/questions/26389/...
ジェフ・ウェリング

キーラン、64ビットバージョンのUbuntuを使用していますか?通常、Ubuntuにいて:i386のものをインストールしない限り、パッケージに:i386は表示されません。
トーマスワード

応答をありがとう、残念ながらまだ運がありません。私はこれらを試して得たものを入れるように投稿を編集しました。ジェフ、私が使用するためにどの.debファイルをダウンロードする必要があるのか​​本当にわからないということですdpkg -i。私は64ビットを使用していますが、なぜ:i386のものがあるのか​​わかりません:/元々問題を修正しようとして失敗し、amd64の代わりにi386パッケージを使用した可能性があります。
Kieran Peat

回答:


4

最近、同様の状況でインストールを試みましたia32-libs(et al)。これは、少し異なっていても、私と同じような問題に苦しんでいる可能性があると思います。

  • ずいぶん前にXorg-edgers PPAを追加しました。これには、あらゆる種類のパッケージの最先端のジャンクがすべて含まれています。したがって、この時点で使用していたパッケージは新しいパッケージでした。

  • しばらくして、私はXとさまざまなドライバーの毎日の更新に飽きました。PPAを無効にしました。

  • 後でさえ、私はインストールを試みてia32-libs、依存関係の地獄に身を置きました。

起こっていたのは、dpkgが期待していたいくつかのパッケージの新しいバージョンがあったことです。それらのいくつかのパッケージをダウングレードするのではなく(おそらく推奨されるはずですが)、最新バージョンのXパッケージを維持できるように、システムのほとんどを削除することをお勧めしました。

私の場合、それを修正するのは実際には奇妙なほど簡単でした。無効にしたPPAを再度追加しただけです。その後、好きなものをインストールすることができました。これはあなたとまったく同じではないかもしれないので注意してください。


私は完全に誤ってこの修正にぶつかりました。一部のパッケージの新しいバージョン(現在は使用不可)がある可能性があることを忘れていました。私が前もって考えていたなら、少し前に私が与えた別の答えを覚えていただろう

スクリプトは遅いですが、完全ではないにしても何もありません。すべてのPPAを、無効にしapt-get updateapt-get dist-upgradeその後、物事のリストを生成するスクリプトを使用し、公式バージョンからずれています。それらをパージ/再インストールすれば、依存関係のない幸せな人生を送れるはずです。


2

11.04から12.04にアップグレードした直後(11.10を超える)にwineとacroreadをインストールしようとすると、同様の問題が発生し、ia32-libs-multiarchをインストールしようとすると、問題が発生しました。私が11.04に持っていたいくつかのPPAがシステムに新しいバージョンのアプリケーションをインストールしたようです。アップグレード後、これらのアプリの残りの部分は、依存関係にいくつかの混乱をもたらしたようです。

(今まで)機能しているように見えるソリューションは、ドイツのubuntuボードで見つかりました(http://forum.ubuntuusers.de、ユーザーLasallからの投稿):

まず、ダウングレードが必要であり、次のように実行されます。「設定」ファイルを作成します。

sudo vi /etc/apt/preferences

次の行を挿入します。

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

ピンプライオリティは1000より大きい必要があります。

次に、問題のあるアプリケーションを次の方法でダウングレードできます。

sudo apt-get dist-upgrade

次にsudo apt-get install ia32-libs-multiarch、やのような依存関係について不平を言ったパッケージをインストールできます sudo apt-get install ia32-libs

最後に、作成したファイルを削除する必要があります。

sudo rm /etc/apt/preferences

それ以外の場合、新しい更新は見つかりません。

これがあなたにも役立つことを願っています!


2

私は同様のエラーを得ていました:

libqt4-scripttools:amd64のバージョンが異なるため、libqt4-scripttools:i386 4:4.8.1-0ubuntu4.3を構成できません

次のコマンドでエラーが修正されました:

sudo apt-get download libqt4-scripttools:i386
sudo dpkg -i libqt4-scripttools:i386
弊社のサイトを使用することにより、あなたは弊社のクッキーポリシーおよびプライバシーポリシーを読み、理解したものとみなされます。
Licensed under cc by-sa 3.0 with attribution required.