无法在 64 位上安装 32 位库 ubuntu
unable to install 32 bit libraries on 64 bit ubuntu
我正在尝试在我的 64 位 ubuntu 14.04.
上设置 android 开发环境
但是我在尝试安装 32 位库时出现依赖性死锁。
我添加了多架构支持。
sudo dpkg --add-architecture i386
但是当我尝试安装这些库时,我得到了这个
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
libstdc++6:i386 : Depends: libgcc1:i386 (>= 1:4.1.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我也尝试过安装 libgcc,但这只会导致其他依赖项的无限循环。
感谢任何帮助。
因此,当我使用系统升级程序升级 Ubuntu 时,我的系统库似乎被搞砸了。最后我需要重新安装我的根分区,然后我就起来 运行 !
教训 - 不要升级你的版本,除非你想解决奇怪的依赖问题。
我正在尝试在我的 64 位 ubuntu 14.04.
上设置 android 开发环境但是我在尝试安装 32 位库时出现依赖性死锁。
我添加了多架构支持。
sudo dpkg --add-architecture i386
但是当我尝试安装这些库时,我得到了这个
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
libstdc++6:i386 : Depends: libgcc1:i386 (>= 1:4.1.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我也尝试过安装 libgcc,但这只会导致其他依赖项的无限循环。
感谢任何帮助。
因此,当我使用系统升级程序升级 Ubuntu 时,我的系统库似乎被搞砸了。最后我需要重新安装我的根分区,然后我就起来 运行 !
教训 - 不要升级你的版本,除非你想解决奇怪的依赖问题。