Ubuntu官方已经不再对12.04之前的版本进行维护升级了,使用之前的老版本会遇到很多软件无法使用或者无法升级的问题,比如安装个skype登录时会经常提示连接服务器失败,此时需要安装更新的版本,但是安装又遇到问题,后来更新下source list在update一下就好了。
sudo vi /etc/apt/sources.list
复制一下连接并保存:
-
deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted universe multiverse
-
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
-
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
-
deb http://old-releases.ubuntu.com/ubuntu/ maverick-proposed main restricted universe multiverse
-
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
-
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick main restricted universe multiverse
-
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
-
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
-
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-proposed main restricted universe multiverse
-
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
sudo apt-get update
然后去安装你之前安装失败或者更新失败的应用再试试。
如果有提示Package libqt4-webkit is not installed之类的,尝试输入以下命令:
sudo apt-get -f install
用以上方法在我机器(11.04)上成功解决了skype无法安装新版的问题。
阅读(1632) | 评论(1) | 转发(0) |