当Debiantesting有32位库可用并且完全可以工作和安装,以便下面的命令没有破坏包错误的情况下工作时,什么方法可以提前确定,而不需要完整安装64位Debian Testing NETINST?
apt-get install ia32-libs ia32-libs-gtk
下面详细介绍32位库不可用时仍然处于某种中断状态或发生中断的错误。 我已经得出结论说,“只安装稳定”是我现在的一个缩小差距的措施,但是我想知道上述问题的答案,以避免长时间的安装过程才会遇到这些问题。
几天前,我下载了64位Debian Testing。 这是通过http://tinyurl.com/lejpa 20131014-06:07build立的“Jessie”。 这是每周testing版本。 是的,我知道我应该期待问题,而且我也是。 我设法让它完全安装,并能够调用到GNOME,但不能超过32位库的问题。
当我尝试通过以下方式安装32位库时,问题就开始了:
apt-get install ia32-libs ia32-libs-gtk
返回:
root@breath:~# apt-get install ia32-libs ia32-libs-gtk 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: ia32-libs : Depends: ia32-libs-i386 but it is not installable ia32-libs-gtk : Depends: ia32-libs-i386 but it is not installable Depends: ia32-libs-gtk-i386 but it is not installable E: Unable to correct problems, you have held broken packages.
然后我发现一个旧的(2012年对我来说)答案在ia32-libs:取决于:ia32-libs-i386,但它不是安装 ,甚至尝试了什么,他们在那里build议
dpkg --add-architecture i386 apt-get update
执行上述之后,我再次尝试,但得到:
root@breath:~# apt-get install ia32-libs ia32-libs-gtk 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: ia32-libs : Depends: ia32-libs-i386 ia32-libs-gtk : Depends: ia32-libs-i386 E: Unable to correct problems, you have held broken packages. root@breath:~#
然后尝试这个:
root@breath:~# dpkg --get-selections | grep hold
那没有任何回报。 不仅破解软件包,系统甚至不知道哪些软件包被破坏,所以Debian Stable是我现在唯一知道的解决scheme。
因此我的问题在上面。
我回去安装Debian Stable,命令仍然以相同的方式失败:
apt-get install ia32-libs ia32-libs-gtk
这些软件包不再安装在现在所谓的Debian Stable上。 显然,Debian已经转向了多元化机制,导致这些软件包不再有效。 所做的工作是安装一些软件包,后缀名为“:i386”。 广泛的networkingsearch后,我终于findhttp://gromgull.net/blog/2013/02/32bit-firefoxthunderbird-on-debian-amd64/#post-628这是相当有益的。
对于那些使用新Debian 8“Jessie”的人来说,我发现这个解决scheme非常完美。 。 。 。 。
apt-get -y –force-yes安装lib32z1 lib32ncurses5
导致以下脚本成功:
正在读取软件包列表…完成编译依赖关系树
读取状态信息…完成将安装以下额外的软件包:lib32tinfo5 libc6-i386将安装以下新软件包:lib32ncurses5 lib32tinfo5 lib32z1 libc6-i386 0升级,4新安装,0删除和316未升级。 需要得到2,856 kB的档案。 完成此操作后,将使用10.8 MB的额外磁盘空间。
希望这可以帮助。