Ubuntu12.04 add-architecture i386
Running ubuntu 12.04 64 bit. I am trying to follow the steps written at the end of this page under the Heading : Installing Android SDK compat libraries. I am doing it in order to solve this problem. But when i run the first command
sudo dpkg --add-architecture i386
it fails and gives the following output
pkg: error: unknown option --add-architecture
Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Options marked [*] produce a lot of output - pipe it through `less' or `more' !
How can i successfully run this command ?
make sure the only file present in /etc/dpkg/dpkg.cfg.d/ is "multiarch"
ls /etc/dpkg/dpkg.cfg.d/
if output is
multiarch
execute the following commands as it is else replace "multiarch" with the name of file present in that directory.
sudo sh -c "echo 'foreign-architecture i386' > /etc/dpkg/dpkg.cfg.d/multiarch"
The above command will add i386 architecture.
相關文章
- ubuntu12.04使用隨記Ubuntu
- ubuntu12.04 lts 安裝gcc 4.8UbuntuGC
- 23 duplicate symbols for architecture i386Symbol
- ubuntu12.04 桌面版 jdk 安裝UbuntuJDK
- ubuntu12.04下samba、tftp、nfs的配置UbuntuSambaFTPNFS
- ubuntu12.04下怎麼安裝QT4.0UbuntuQT
- 在NetBSD/i386上執行Oracle(轉)Oracle
- 怎樣安裝在ubuntu12.04上安裝mysqlUbuntuMySql
- KVM克隆的ubuntu12.04的虛擬機器的基本配置Ubuntu虛擬機
- i386 PC 上多系統共存安裝方案(轉)
- linux 中i386 i686....等等是什麼意思Linux
- Ubuntu12.04(32位)安裝Oracle 11g(32位)全過程UbuntuOracle
- oui 報錯 i386 libawt.so libXp.so.6UI
- Exception in thread "main" java.lang.UnsatisfiedLinkError: i386/libawt.soExceptionthreadAIJavaError
- 安裝ORACLE 時報錯 /jre/1.4.2/lib/i386/libawt.so:Oracle
- 當編譯AFNetworking 2.0時出現了Undefined symbols for architecture i386編譯UndefinedSymbol
- Linux核心筆記002 - i386 的頁式記憶體管理機制Linux筆記記憶體
- Windows8系統下安裝 Fedora 17 DVD i386 x32 iso 版本Windows
- Ubuntu12.04嵌入式交叉編譯環境arm-linu-gcc搭建過程,圖解Ubuntu編譯GC圖解
- Install 32bit 11.2.0.3 client on 64bit redhat 6.2需要(i386)解決方法clientRedhat
- Install 32bit 11.2.0.3 db on 64bit redhat 6.2需要(i386)解決方法Redhat
- rpm的i386、i586和i686版本有什麼不同
- /lib/i386/libawt.so: libXp.so.6: cannot open shared object fileObject
- CentOS 6.4 i386 版本安裝 FastDFS、使用Nginx作為檔案訪問WEB伺服器CentOSASTNginxWeb伺服器
- rpm的i386、i586和i686版本有什麼不同(轉)
- iOS 中的 armv7,armv7s,arm64,i386,x86_64 都是什麼iOS
- /jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file問題處理Object
- UnsatisfiedLinkError:/usr/java/j2sdk1.4.2_06/jre/lib/i386/libawt.so: libXt.so.6ErrorJava