Ubuntu7.10升级方式?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
yexin218
帖子: 461
注册时间: 2007-08-22 17:36
来自: 澳门
联系:

Ubuntu7.10升级方式?

#1

帖子 yexin218 » 2007-09-30 9:03

我在网上看到两种不同在线升级方式:
第一种:
1.

Press Alt+F2 to run a command, or open a terminal window
2.

Run the following command:

代码: 全选

  update-manager -d
3.

Follow the on-screen instructions

第二种:

代码: 全选

sudo sed -i 's/feisty/gutsy/'  /etc/apt/sources.list
  sudo apt-get update
  sudo apt-get dist-upgrade
请问这两种方法有区别吗?另外在线升级A卡需要注意什么?
谢谢!
我很敏捷,我是网上的蜘蛛;我很茫然,我是网中的猎物!
欢迎到我的Blog※代码回音※
colinzhu
帖子: 17
注册时间: 2007-08-18 13:26

#2

帖子 colinzhu » 2007-09-30 9:38

我用的第1种方法,先选择一个速度快的源,再升级。

我的升级的时候速度大概200KB/s ,下载了700多MB的文件,花了大概1个小时,然后安装了半小时
joo.tsao
帖子: 37
注册时间: 2007-03-18 22:39

Ubuntu手工升级

#3

帖子 joo.tsao » 2007-09-30 16:48

1.

Make sure that you have the packages "ubuntu-minimal" and "ubuntu-standard" installed, regardless of whether you're using Ubuntu, Kubuntu, Xubuntu or Edubuntu:
*

Example:

sudo apt-get install ubuntu-minimal ubuntu-standard

2.

The appropriate desktop package for your version of Ubuntu must also be installed. They are "ubuntu-desktop" for Ubuntu, "kubuntu-desktop" for Kubuntu, "xubuntu-desktop" for Xubuntu, and "edubuntu-desktop" for Edubuntu:
*

Example:

For Ubuntu

sudo apt-get install ubuntu-desktop

For Kubuntu

sudo apt-get install kubuntu-desktop

For Xubuntu

sudo apt-get install xubuntu-desktop

For Edubuntu

sudo apt-get install edubuntu-desktop

3.

Edit your /etc/apt/sources.list as root. Change every occurrence of edgy to feisty. It is also recommended that you remove or disable any extra repository that may have been added besides the Ubuntu repositories.
*

Long route: Use your preferred editor. If you have a CD-ROM line in your file, then remove it.

For Ubuntu.

gksudo gedit /etc/apt/sources.list

For Kubuntu.

kdesu kate /etc/apt/sources.list

For Xubuntu.

gksudo mousepad /etc/apt/sources.list

In any terminal program.

sudo nano /etc/apt/sources.list
sudo vi /etc/apt/sources.list

*

Shortcut:

sudo sed -e 's/\sedgy/ gusty/g' -i /etc/apt/sources.list

NOTE: This might not remove old CD-ROM lines. Manual inspection is suggested after running this command. (see Long Route)
4.

If you have the alternate install CD, you can save bandwidth by loading the CD into your CD-ROM drive and using:
*

sudo apt-cdrom add

5.

Perform the upgrade:
*

sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get dist-upgrade

OR, You can also use Aptitude:

sudo aptitude update && sudo aptitude dist-upgrade && sudo aptitude dist-upgrade

NOTE: The first run of dist-upgrade will upgrade everything except for upstart. After this a second dist-upgrade will finish the upgrade.
6.

Just to be totally sure that everything is installed properly, run these commands:
*

sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get -f install
sudo dpkg --configure -a

Running dist-upgrade again is done to ensure that no packages are left to install or upgrade. In some cases, certain packages fail to install even after running dist-upgrade the second time.
7.

Reboot in order to effect all changes. (kernel upgrades, upstart, etc...)
evarei
帖子: 72
注册时间: 2007-05-17 16:02

#4

帖子 evarei » 2007-10-01 0:56

update-manager -d

我用这种,CN99下载了1个小时
回复