sudo -i
cd /etc/apt/sources.list.d
echo "deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse" > ia32-libs-raring.list
apt-get update
apt-get install ia32-libs
这里会报错:
root@Paranoid-PC:/etc/apt/sources.list.d# apt-get install ia32-libs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
lib32z1 lib32ncurses5 lib32bz2-1.0
E: Package 'ia32-libs' has no installation candidate
根据提示装:
root@Paranoid-PC:/etc/apt/sources.list.d# apt-get install lib32z1
再装:
paranoid@Paranoid-PC:~$ sudo apt-get install lib32stdc++6
应该就差不多了
删除恢复源
rm ia32-libs-raring.list
apt-get update
exit
本文介绍了解决在Ubuntu系统中安装ia32-libs包遇到的问题的方法。通过编辑源列表并安装替代包lib32z1和lib32stdc++6来解决依赖缺失问题,并提供了清理恢复系统的步骤。
2102

被折叠的 条评论
为什么被折叠?



