模板:Ubuntu:Feisty/Repositories:修订间差异
来自Ubuntu中文
跳到导航跳到搜索
小 New page: ==== Upgrade Ubuntu Edgy to Ubuntu Feisty ==== *[http://www.ubuntugeek.com/upgrade-ubuntu-610-edgy-eft-to-ubuntu-704-feisty-fawn-2.html Step By Step Upgrade Guide with Screenshots ] *[htt... |
|||
(未显示同一用户的1个中间版本) | |||
第1行: | 第1行: | ||
==== | ==== 从 Ubuntu Edgy 更新到 Ubuntu Feisty ==== | ||
*[http://www.ubuntugeek.com/upgrade-ubuntu-610-edgy-eft-to-ubuntu-704-feisty-fawn-2.html | *[http://www.ubuntugeek.com/upgrade-ubuntu-610-edgy-eft-to-ubuntu-704-feisty-fawn-2.html 手把手更新指南,有截图 ] | ||
*[http://www.ubuntugeek.com/upgrade-ubuntu-server-610-edgy-eft-to-704-feisty-fawn.html | *[http://www.ubuntugeek.com/upgrade-ubuntu-server-610-edgy-eft-to-704-feisty-fawn.html 怎样从Ubuntu Edgy Server 更新到 Feisty Server] | ||
==== | ==== 如何添加额外的软件源 ==== | ||
* | *阅读 [[#概述]] | ||
* | *可以用"软件源"应用程序添加额外的源,见'''系统 -> 系统管理 -> 软件源'''。在你认为需要的源(main, universe, restricted, multiverse)前面打勾。你可能不需要'源代码'这个源。'''推荐用这种方法添加额外的源。''' | ||
*添加源还有一种方法,用以下步骤 '''(风险自负)''': | |||
* | *创建一个你现在使用的源列表的备份 | ||
sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_backup | sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_backup | ||
* | *用任一文本编辑器打开源的列表 | ||
:Ubuntu (GNOME) | :Ubuntu (GNOME) 用户: | ||
sudo gedit /etc/apt/sources.list | sudo gedit /etc/apt/sources.list | ||
:Kubuntu (KDE) | :Kubuntu (KDE) 用户: | ||
sudo kate /etc/apt/sources.list | sudo kate /etc/apt/sources.list | ||
: | :其他用户 (在上面这些都不行的情况下): | ||
sudo nano /etc/apt/sources.list | sudo nano /etc/apt/sources.list | ||
* | *以下面这些行作为模板,自己在sources.list中编辑源: | ||
: | :可试着用下面这几行代替sources.list中的当前内容 | ||
: | :要使用你所在地的镜像,在''archive.ubuntu.com''前面加上"''cc.''", 其中 cc = 你所在国家的代码 | ||
: | :例如 ''<nowiki>deb http://lv.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse</nowiki>'' | ||
<pre> | <pre> | ||
第101行: | 第100行: | ||
</pre> | </pre> | ||
* | *保存编辑过的文件 | ||
* | * 下载需要的 gpg keys; 比如可以下面的命令得到 PLF 源的 gpg key: | ||
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - | wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - | ||
* | * 要想试用 E17 beta, 还需要下载其 gpg key: | ||
wget -q http://lut1n.ifrance.com/repo_key.asc -O- | sudo apt-key add - | wget -q http://lut1n.ifrance.com/repo_key.asc -O- | sudo apt-key add - | ||
* | * 刷新包列表: | ||
sudo aptitude update | sudo aptitude update | ||
* | * 也可以生成你自己的sources.list,或到 http://www.ubuntulinux.nl/source-o-matic 寻找其他的源。 | ||
* '' | * ''只有在知道自己在做什么的前提下才可修改默认的Ubuntu sources.list! 把不同的源混杂在一起可能使你的系统 '''崩溃'''。'' |
2007年6月1日 (五) 13:59的最新版本
从 Ubuntu Edgy 更新到 Ubuntu Feisty
如何添加额外的软件源
- 阅读 #概述
- 可以用"软件源"应用程序添加额外的源,见系统 -> 系统管理 -> 软件源。在你认为需要的源(main, universe, restricted, multiverse)前面打勾。你可能不需要'源代码'这个源。推荐用这种方法添加额外的源。
- 添加源还有一种方法,用以下步骤 (风险自负):
- 创建一个你现在使用的源列表的备份
sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_backup
- 用任一文本编辑器打开源的列表
- Ubuntu (GNOME) 用户:
sudo gedit /etc/apt/sources.list
- Kubuntu (KDE) 用户:
sudo kate /etc/apt/sources.list
- 其他用户 (在上面这些都不行的情况下):
sudo nano /etc/apt/sources.list
- 以下面这些行作为模板,自己在sources.list中编辑源:
- 可试着用下面这几行代替sources.list中的当前内容
- 要使用你所在地的镜像,在archive.ubuntu.com前面加上"cc.", 其中 cc = 你所在国家的代码
- 例如 deb http://lv.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
## See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to ## newer versions of the distribution. ## Add comments (##) in front of any line to remove it from being checked. ## Use the following sources.list at your own risk. ## Uncomment deb-src if you wish to download the source packages ## If you have a install CD you can add it to the reposity using 'apt-cdrom add' ## which will add a line similar to the following: #deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Beta i386 (20070322.1)]/ feisty main restricted deb http://us.archive.ubuntu.com/ubuntu/ feisty main restricted #deb-src http://us.archive.ubuntu.com/ubuntu/ feisty main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted #deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## universe WILL NOT receive any review or updates from the Ubuntu security ## team. deb http://us.archive.ubuntu.com/ubuntu/ feisty universe #deb-src http://us.archive.ubuntu.com/ubuntu/ feisty universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://us.archive.ubuntu.com/ubuntu/ feisty multiverse #deb-src http://us.archive.ubuntu.com/ubuntu/ feisty multiverse ## Uncomment the following two lines to add software from the 'backports' ## repository. ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse #deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu feisty-security main restricted #deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted deb http://security.ubuntu.com/ubuntu feisty-security universe #deb-src http://security.ubuntu.com/ubuntu feisty-security universe deb http://security.ubuntu.com/ubuntu feisty-security multiverse #deb-src http://security.ubuntu.com/ubuntu feisty-security multiverse ## PLF REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.) ## Medibuntu - Ubuntu 7.04 "feisty fawn" ## Please report any bug on https://launchpad.net/products/medibuntu/+bugs deb http://medibuntu.sos-sts.com/repo/ feisty free non-free #deb-src http://medibuntu.sos-sts.com/repo/ feisty free non-free ## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu ## servers. RealPlayer10, Opera, DesktopSecure and more to come.) deb http://archive.canonical.com/ubuntu feisty-commercial main ## enlightenment e17 beta, use at your own risk ## E17 is in Beta and may break or break your system #deb http://edevelop.org/pkg-e/ubuntu feisty e17 #deb http://e17.dunnewind.net/ubuntu feisty e17 #deb-src http://edevelop.org/pkg-e/ubuntu feisty e17
- 保存编辑过的文件
- 下载需要的 gpg keys; 比如可以下面的命令得到 PLF 源的 gpg key:
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
- 要想试用 E17 beta, 还需要下载其 gpg key:
wget -q http://lut1n.ifrance.com/repo_key.asc -O- | sudo apt-key add -
- 刷新包列表:
sudo aptitude update
- 也可以生成你自己的sources.list,或到 http://www.ubuntulinux.nl/source-o-matic 寻找其他的源。
- 只有在知道自己在做什么的前提下才可修改默认的Ubuntu sources.list! 把不同的源混杂在一起可能使你的系统 崩溃。