运行adb显示无此文件或者目录,路径配置正确。
错误:
bash: /home/zhong/java/adt-bundle-linux-x86_64-20140321/sdk/platform-tools/adb: 没有那个文件或目录
file /home/zhong/java/adt-bundle-linux-x86_64-20140321/sdk/platform-tools/adb
/home/zhong/java/adt-bundle-linux-x86_64-20140321/sdk/platform-tools/adb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not stripped
解决方法:
sudo apt-get install ia32-libs
下列软件包有未满足的依赖关系:
ia32-libs : 依赖: ia32-libs-multiarch
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
这是因为在安装的过程中,由于一些软件包的缺失,造成此问题。解决的方法很简单,是因为软件包的源出了问题。修改源即可。
vim etc/apt/source.list
56 ## This software is not part of Ubuntu, but is offered by third-party 57 ## developers who want to ship their latest software. 58 deb http://extras.ubuntu.com/ubuntu precise main 59 deb-src http://extras.ubuntu.com/ubuntu precise main
56 ## This software is not part of Ubuntu, but is offered by third-party 57 ## developers who want to ship their latest software. 58 #deb http://extras.ubuntu.com/ubuntu precise main 59 #deb-src http://extras.ubuntu.com/ubuntu precise main #添加 deb http://archive.ubuntu.com/ubuntu/ precise-security main restricted