简体   繁体   English

无法在64位ubuntu上安装32位库

[英]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 installed libc6:i386:取决于:libgcc1:i386,但是不会被安装
libstdc++6:i386 : Depends: libgcc1:i386 (>= 1:4.1.1) but it is not going to be installed libstdc ++ 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.

相关问题 在 64 位 android 上使用 32 位 jni 库 - Use 32-bit jni libraries on 64-bit android 如何在64位Windows上安装32位Android Studio? - How to install 32 bit Android Studio on 64 bit Windows? 如何强制Android应用程序使用32位或64位库 - How to force Android application to use either 32bit or 64 bit libraries DS-5版,用于使用Arm 64位和32位本机库开发和调试Android应用 - DS-5 edition to develop and debug Android Apps with Arm 64-bit and 32-bit native libraries AOSP 4.2.2:无法在64位JVM上加载32位SWT库 - AOSP 4.2.2: Cannot load 32-bit SWT libraries on 64-bit JVM 如何在64位Android设备上使用32位本机库 - How to use 32-bit native libraries on 64-bit Android device 确保gradle依赖项在应用包中包括32位和64位库 - Make sure a gradle dependency includes 32bit and 64bit libraries in app bundles 在 64 位版本的 Lubuntu 上安装 Android Studio 无法安装一些 32 位库 - Intstalling Android Studio on 64-bit version of Lubuntu fails installing some 32-bit libraries 在我的应用程序中包含 64 位库,但是当我分析 apk 时它仍然是 32 位 - In my app included 64-bit libraries but when i analysis apk it's still 32 bit 如何在Ubuntu 11.10(32位)上安装Tegra Android Development Pack - How to install Tegra Android Development Pack on Ubuntu 11.10 (32 bit)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM