[英]unable to install 32 bit libraries on 64 bit ubuntu
I am trying to set up android dev environment on my 64 bit ubuntu 14.04. 我试图在我的64位ubuntu 14.04上设置android dev环境。
But I am getting a dependency deadlock while trying to install 32 bit libraries. 但是在尝试安装32位库时出现了依赖项死锁。
I have added multi-architecture support. 我添加了多体系结构支持。
sudo dpkg --add-architecture i386
But when I try to install the libraries, I get this 但是当我尝试安装库时,我得到了
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
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:
以下软件包具有未满足的依赖性:
libc6:i386 : Depends: libgcc1:i386 but it is not going to be installedlibc6:i386:取决于:libgcc1:i386,但是不会被安装
libstdc++6:i386 : Depends: libgcc1:i386 (>= 1:4.1.1) but it is not going to be installedlibstdc ++ 6:i386:取决于:libgcc1:i386(> = 1:4.1.1)但不会被安装
E: Unable to correct problems, you have held broken packages.E:无法纠正问题,您拿着破碎的包装。
I have tried to install libgcc along with this too, but that leads to just an infinite loop of other dependencies. 我也尝试与此一起安装libgcc,但这导致其他依赖项的无限循环。
Any help is appreciated. 任何帮助表示赞赏。
So it looks like my system libraries were screwed up when I upgraded Ubuntu using the system upgrader. 因此,当我使用系统升级程序升级Ubuntu时,似乎系统库被搞砸了。 Finally I needed to reinstall my root partition and I am up and running !
最后,我需要重新安装我的根分区,并且可以正常运行了!
Lesson - Do no upgrade your release unless you want to go into weird dependency issues. 课程-除非要解决奇怪的依赖性问题,否则请不要升级您的发行版。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.