当前位置: > Ubuntu >

ubuntu10.10 apt-get 总失败 解决办法

时间:2016-04-22 22:24来源:linux.it.net.cn 作者:IT
想apt-get install 个 openssh-server,各种不成功,想apt-get upate都不行!后来网上搜了下,发现版本ubuntu版本有点老了。。。

解决办法:在/etc/apt/source.list中添加下面几行:




#/etc/apt/sources.list

#Please make sure you have the following sources.list, change CODENAME to your release, e.g. breezy.


## EOL upgrade sources.list
# Required
deb http://old-releases.ubuntu.com/ubuntu/ CODENAME main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-security main restricted universe multiverse

# Optional
#deb http://old-releases.ubuntu.com/ubuntu/ CODENAME-backports main restricted universe multiverse







参考:https://help.ubuntu.com/community/EOLUpgrades/
(责任编辑:IT)
------分隔线----------------------------
栏目列表
推荐内容