我正在尝试安装 Adobe Air,但为此我需要安装 ia32-libs。
我尝试了这里提供的几种解决方案,但实际上都没有奏效。
jakub@jakub-home:~/Downloads$ sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ia32-libs 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
However the following packages replace it:
lib32z1 lib32ncurses5 lib32bz2-1.0
E: Package 'ia32-libs' has no installation candidate
jakub@jakub-home:~/Downloads$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.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:
adobeair : Depends: ia32-libs-gtk but it is not installable or
devolo-ia32-libs but it is not installable
lib32bz2-1.0 : PreDepends: libc6-i386 (>= 2.9-18) but it is not going to be installed
lib32ncurses5 : Depends: lib32tinfo5 (= 5.9+20140118-1ubuntu1) but it is not going to be installed
Depends: libc6-i386 (>= 2.4) but it is not going to be installed
lib32z1 : Depends: libc6-i386 (>= 2.4) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
我尝试了这里找到的几种解决方案,只是其中一个例子这里:
jakub@jakub-home:~/Downloads$ sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install ia32-libs
...
Ign http://linux.dropbox.com trusty/main Translation-en_US
Ign http://linux.dropbox.com trusty/main Translation-en
Fetched 316 B in 3s (84 B/s)
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ia32-libs 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
However the following packages replace it:
lib32z1 lib32ncurses5 lib32bz2-1.0
E: Package 'ia32-libs' has no installation candidate
这里肯定存在一些根本问题。有人能帮我解决吗?
更新:
jakub@jakub-home:~/Downloads$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.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:
adobeair:i386 : Depends: libgtk2.0-0:i386 (>= 2.6) but it is not going to be installed
Depends: libnss3:i386 but it is not going to be installed
Depends: libxaw7:i386 but it is not going to be installed
lib32bz2-1.0 : PreDepends: libc6-i386 (>= 2.9-18) but it is not going to be installed
lib32ncurses5 : Depends: lib32tinfo5 (= 5.9+20140118-1ubuntu1) but it is not going to be installed
Depends: libc6-i386 (>= 2.4) but it is not going to be installed
lib32z1 : Depends: libc6-i386 (>= 2.4) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
答案1
自 Ubuntu 引入多架构以来,该ia32-libs
软件包一直不可用。消息中提到的库lib32z1 lib32ncurses5 lib32bz2-1.0
将完全取代所需的任何功能ia32-libs
。如果软件包特别依赖于该库,则必须重新打包。
Adobe Air 从未针对多架构重新打包。您可以尝试查找可用的软件包或从旧存储库安装,但风险自负。
也可以看看:
答案2
sudo apt-get -f install
解决了问题