ubuntu11.04更新源

      Ubuntu一些old release version如11.04 ,9.10,源已经失效,安装一些命令或者包时候,无法获取到,网上搜索到的很多源都不能使用,几经周折找到了些可以用的源,具体操作步骤如下:

先备份源列表文件:

sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup

Ubuntu 11.04 old-releases源

deb http://old-releases.ubuntu.com/ubuntu/ natty main restricted universe multiverse

deb http://old-releases.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse

deb http://old-releases.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse

deb http://old-releases.ubuntu.com/ubuntu/ natty-proposed main restricted universe multiverse

deb http://old-releases.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse

deb-src http://old-releases.ubuntu.com/ubuntu/ natty main restricted universe multiverse

deb-src http://old-releases.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse

deb-src http://old-releases.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse

deb-src http://old-releases.ubuntu.com/ubuntu/ natty-proposed main restricted universe multiverse

deb-src http://old-releases.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse

更新源列表,使配置生效:

sudo apt-get update

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容