1. 程式人生 > >Ubuntu 12.04 64bit 無法安裝ia32-libs 解決

Ubuntu 12.04 64bit 無法安裝ia32-libs 解決

錯誤資訊:

[email protected]:~$ sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ia32-libs : Depends: ia32-libs-multiarch
E: Unable to correct problems, you have held broken packages.


[email protected]
:~$ sudo apt-get install ia32-libs-multiarch Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: ia32-libs-multiarch:i386 : Depends: gstreamer0.10-plugins-good:i386 but it is not going to be installed Depends: gtk2-engines:i386 but it is not going to be installed Depends: gtk2-engines-murrine:i386 but it is not going to be installed Depends: gtk2-engines-pixbuf:i386 but it is not going to be installed Depends: gtk2-engines-oxygen:i386 but it is not going to be installed Depends: ibus-gtk:i386 but it is not going to be installed Depends: libcanberra-gtk-module:i386 but it is not going to be installed Depends: libcurl3:i386 but it is not going to be installed Depends: libgail-common:i386 but it is not going to be installed Depends: libglapi-mesa:i386 but it is not going to be installed Depends: libglu1-mesa:i386 but it is not going to be installed Depends: libgtk2.0-0:i386 but it is not going to be installed Depends: libqt4-opengl:i386 but it is not going to be installed Depends: librsvg2-common:i386 but it is not going to be installed Recommends: libgl1-mesa-glx:i386 but it is not going to be installed Recommends: libgl1-mesa-dri:i386 but it is not going to be installed E: Unable to correct problems, you have held broken packages.

解決方法:

Since ia32-libs is now a transitional wrapper package around the set of multiarch-enabled libraries that were previously shipped bundled in ia32-libs, all of these library packages must be installable. In a released version of Ubuntu (such as in the precise and precise-updates pockets), packages will always be individually installable; however, multiarch imposes an additional restriction on installability: the library package must be at the exact same version across all architectures that you are installing it for.

In one of the examples given here, the libcairo-gobject2 package is implicated. This package has recently been updated for 12.04 as an SRU; which means that trying to install ia32-libs requires the amd64 version of libcairo-gobject2 on your system to match the i386 version that will be downloaded.

To ensure you're getting the correct versions of all library packages, do the following:

  1. Launch Update Manager
  2. Choose Settings at the bottom of the window
  3. Under Updates, make sure that Recommended Updates (precise-updates) is selected.
  4. Click Check to scan for any new software updates
  5. Click Install Updates to ensure your existing packages are all up to date

If you currently have a broken package installed which depends on ia32-libs, this may ask to remove it. You should proceed with the removal and reinstall once the operation is completed. You should then be able to run

sudo apt-get install ia32-libs

to install ia32-libs, or download package from http://packages.ubuntu.com/ and

sudo dpkg -i /path/to/package.deb

sudo apt-get -f install

to install your package and automatically pull in ia32-libs as a dependency.

Note that ia32-libs is considered deprecated in any case. For most software, you should instead install the i386 version of the package and let it directly pull the i386 libraries that it needs as dependencies, instead of using ia32-libs which is a catch-all.

基本上就是更新完後就能安裝了!

相關推薦

Ubuntu 12.04 64bit 無法安裝ia32-libs 解決

錯誤資訊: [email protected]:~$ sudo apt-get install ia32-libs Reading package lists... Done Building dependency tree Reading state information...

ubuntu無法安裝ia32-libs庫,提示沒有可用的軟件包

col 開發人員 tracking ins remove 軟件包 ng- 3年 f11 Debian項目宣布,估計於2013年公布的Debian 7(代號Wheezy)將支持Multiarch。 Multiarch(多架構)術語被用於指一個系統能安裝和執行

Ubuntu 12.04 Openstack Essex 安裝(單節點)Swift篇

參考陳沙克部落格:http://www.chenshake.com/swift-single-version/我是裝系統時分了個lvm  /dev/sda7安裝軟體apt-get -y install swift swift-proxy swift-account swift-container swift-

Ubuntu 14.04 64bit安裝Markdown和繪圖軟體Haroopad

簡介 Haroopad:一款讓你欲罷不能的Markdown編輯器 身為大程式設計師,我本來是不需要 Markdown 編輯器的,但是 Haroopad 讓我簡直欲罷不能,不能再愛更多。跨平臺,程式碼高亮,Vim 鍵繫結,多列模式,行號,摺疊, Github Flavore

ubuntu 12.04 解壓安裝jdk

ubuntu下解壓安裝jdk,簡單方便,分享一下安裝方法: 注:該方法針對新系統,之前沒有配置過jdk的情況。 1、下載對應版本的jdk壓縮包,如 jdk-8u5-linux-x64.gz 2、解壓 tar -zxvf jdk-8u5-linux-x64.gz

Ubuntu 12.04下fcitx安裝谷歌搜狗輸入法

原址:yanue.net/post-110.html 在網上找了好多Ubuntu12.04安裝搜狗輸入法的帖子,總是不太全面,不能達到正確安裝使用搜狗輸入法的目的, 使用上面兩個帖子綜合了一下,終於安裝成功。 我遇到的問題是:安裝完搜狗輸入法以後,在system set

Ubuntu 12.04版本下安裝交叉編譯器arm-linux-gcc4.3.2

注意!如果你使用的是64位的系統,首先使用命令sudo apt-get install ia32-libs。 不然到最後輸入arm-none-linux-gnueabi-gcc -v 出現:No su

ubuntu 12.04 64位安裝KLEE過程中遇到的問題

問題一:llvm-gcc -v顯示gcc-4.6.3 情況:Ubuntu 12.04 64bit系統安裝後,修改為bupt的源,然後sudo apt-get update。當時網路環境不好,官網llvm-gcc 4.2版本無法下載,於是就sudo ap

Ubuntu 12.04(32位)安裝Oracle 11g(32位)全過程以及幾乎所有問題的解決辦法

這兩天在Ubuntu上安裝Oracle把人折騰毀了,即使照著網上的教程來,還是出了很多問題。好在最後終於搞定了。寫出來總結一下,免得以後忘了。 標題註明32位是因為網上教程幾乎全是以64位安裝為例的,32位系統下照著做是絕對會安裝失敗的。 出現的問題主要有兩方面,一個是安裝

ubuntu 12.04下編譯安裝nginx-1.9.3之後 tomcat叢集

   一、tomcat安裝   1.安裝nginx 請檢視http://blog.csdn.net/liangzi4454/article/details/47023447    2. jdk安裝不在贅述,不會的同學,可以網上查詢教程;    3. tomcat下載    

[Android] 在Ubuntu 12.04 (64bit)上使用搭建Android的除錯環境:ADB USB Connection By root

1.首先需要在Android裝置上使能USB方式的ADB功能,不同的Android廠家裝置有不同的方法:     以Philips TV為例:           (1).開機時按住SPACE鍵進入Uboot命令列模式,輸入                  mt589

解決ubuntu 12.04 不能安裝sun-java6-jdk的方法

1. 在/etc/apt/sources.list 末尾加上如下行: ###for install Java6 deb http://ppa.launchpad.net/ferramroberto/java/ubuntu natty main 2. sudo apt

Ubuntu 12.04 64bit搭建Android編譯環境後,重啟卡住在Ubuntu logo,進不了圖形介面

    搭建android編譯環境,先要安裝以下包: sudo apt-get install git gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 \

Ubuntu 12.04系統中安裝jdk和配置tomcat伺服器

Ubuntu自帶的jdk版本是OpenJDK,即如下圖所示:     為了完成老師佈置的J2EE作業,不得自己配置J2EE環境,要重新安裝JDK。第一次在linux環境下接觸這些東西,參考了許多的網上資源,最終還是成功了。下面就是具體的操作。 準備     我

Ubuntu 14.04 64bit安裝python-pyqt5軟體包(python 2.7)

一、摘要 python-pyqt5 軟體包是做什麼的,我在Ubuntu 14.04 64bit上該如何安裝呢?pyqt5 python的GUI開發包。也就是跨平臺的圖形化開發包http://www.riverbankcomputing.com/software/pyqt/d

Ubuntu 14.04 64bit安裝有道詞典Linux版本

4月20日,由有道詞典和Deepin團隊共同完成的有道詞典Linux版終於上線了,首先 推出Deepin和Ubuntu兩個系統版本及其他版本的二進位制包,估計以後還會有RPM 等版本。有道Linux版介面精美,實現多語言精準翻譯,有原聲發音和圖解詞典, 支援螢幕取詞劃詞。下

Ubuntu 12.04軟體中心安裝flash外掛過程失敗解決辦法

Ubuntu12.04軟體中心安裝flash外掛過程失敗解決辦法 安裝了Ubuntu12.04後,我使用火狐瀏覽器登入百度文庫搜一些介紹curses庫的資料,發現瀏覽器沒有flash外掛,這時貼心的火狐娘提示我安裝缺失外掛,於是就按照提示更新外掛,在安裝嚮導中,我選擇了ad

ubuntu 16.04 server -- 無法進入圖形桌面解決辦法

安裝圖形介面的語句為: 1. 獲取安裝源 add-apt-repository ppa:kubuntu-ppa/backports apt-get update 2. 如果系統中已經安裝了KDE 桌面,那麼直接更新即可 apt-get upgrade 3.

ubuntu 12.04 codeblocks undefined reference to ‘pthread_create'解決方法

settings---》compiler and bug settings --》link settings 在左邊新增libpthread.a  ,右邊新增 -lpthread即可。 ubuntu libpthread.a 的路徑為 /usr/lib/x86_64-lin

解決 win 8.1 + Ubuntu 12.04 安裝雙系統後啟動,無法進入ubuntu的問題

本著不折騰不舒服的原則,今天將一塊嶄新的SSD安裝了win8.1 + ubuntu 12.04的雙系統。之前win8+ubuntu的組合不知道裝了多少遍了,沒想到今天裝完win8.1 + ubuntu啟動後,卻不能進入grub介面,而是直接進入win8.1。 前置條件