ATP sources.list 自动生成
昨天过了个七夕,回家后发现电脑无法正常使用。折腾了近10个小时,基本判断为主板或者显卡有问题。很有可能是主板电容爆浆……不知道啥时候才能修好。
我们来看看这个有趣的网站,虽然本身的资料库还不够庞大,思路还是很不错的。
打开网站就可以看到网站已经定位了你的地点,给你预选了系统版本。
点击 Send 之后:
各个仓库显示了出来,有默认的系统仓库也有一些特殊软件的仓库可选,比如 Opera、Beryl(现在貌似已经不叫这个名字了。)
最后点击右下角的 Create sources.list 你就会得到需要的 sources.list 文件内容了。
举例:
# Automatically generated sources.list
# http://www.ubuntu-nl.org/source-o-matic/
#
# If you get GPG errors with this sources.list, locate the GPG key in this file
# and run these commands (where KEY is replaced with that key)
#
# gpg –keyserver hkp://subkeys.pgp.net –recv-keys KEY
# gpg –export –armor KEY | sudo apt-key add -
#
# If you don’t know what to do with this file, read
# https://help.ubuntu.com/community/Repositories/CommandLine
# Ubuntu supported packages
# GPG key: 437D05B5
deb http://cn.archive.ubuntu.com/ubuntu feisty main restricted
deb http://cn.archive.ubuntu.com/ubuntu feisty-updates main restricted
deb http://security.ubuntu.com/ubuntu feisty-security main restricted
# Ubuntu community supported packages
# GPG key: 437D05B5
deb http://cn.archive.ubuntu.com/ubuntu feisty universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-updates universe multiverse
deb http://security.ubuntu.com/ubuntu feisty-security universe multiverse

