个人工具

UbuntuHelp:EdgyUpgrades

来自Ubuntu中文

跳转至: 导航, 搜索

6.10 "Edgy Eft"

Ubuntu 6.10 "Edgy Eft" is a former stable version of the Ubuntu operating system. It was released October 26th, 2006. The common name given to this release from the time of its early development was "Edgy Eft". This release will be supported for 18 months on both desktops and servers. Note that the previous stable release (6.06 LTS) is a long-term support release, and so users requiring a longer support lifetime may choose to continue using that version rather than upgrade to or install 6.10. Edgy Eft was superseded as the current stable version by Ubuntu 7.04 "Feisty Fawn" in April 2007. Users installing Ubuntu on a new system may want to install the current stable version. Users upgrading from an earlier version of Ubuntu have no direct upgrade path from 6.06, and will probably want to do a stepwise upgrade to Edgy and then to Feisty.

Before you start

You can only upgrade to 6.10 "Edgy Eft" from Ubuntu 6.06 ("Dapper Drake"). (see UpgradeNotes)

Upgrading using Update Manager

If you want to upgrade from 6.06 LTS to 6.10, run the following command (either via ALT-F2 or a terminal):

gksu "update-manager -c" 

The -c (or equivalently --check-dist-upgrades) switch instructs Update Manager to look for upgrades. By default, the Ubuntu 6.06 LTS release will not offer that automatically because of its long support cycle and high stability. If you have a working network connection, it should then inform you about a new release and offer to upgrade your system. If you have the Edgy Alternate Install CD (not the Desktop CD), you can save bandwidth by using:

gksu "sh /cdrom/cdromupgrade" 

Upgrading using apt-get -- NOT RECOMMENDED

Please note - this method is much less reliable. If you use this method, you MUST be prepared to fix problems manually, such as packages being unexpectedly removed, apt crashing unexpectedly, etc. Using Update Manager (see above) is likely to be much less problematic.

  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 
  1. 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 
  1. Edit your /etc/apt/sources.list as root. Change every occurrence of dapper to edgy. 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/\sdapper/ edgy/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)

  1. If you have the edgy alternate install CD, you can save bandwidth by loading the CD into your CD-ROM drive and using:
  sudo apt-cdrom add 
  1. 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.

  1. 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.

  1. Reboot in order to effect all changes. (kernel upgrades, upstart, etc...)

Notes

Packages that are held back.

Some packages are intentionally held back when upgrading using apt-get. This is normal and it's perfectly safe to reboot a machine without these packages.

Problems with X

If after the upgrade the X server doesn't start (i.e. if you can't get the graphical login), then that can be caused by either a misconfigured X server or because the xserver-xorg package has been removed. Most of the times a reconfiguration of the xserver-xorg package will be enough. To do so issue the following command: sudo dpkg-reconfigure xserver-xorg If that didn't work or if the package wasn't installed anymore, try to reinstall it, and thus do a reconfiguration too: sudo apt-get install --reinstall xserver-xorg Instead of using the following command as stated before, which didn't work for me for some reason, plus it wouldn't reinstall if it is installed already (using the --reinstall switch it will allways work; twosouls82 on 20061212): sudo apt-get install xserver-xorg

Upgrading from pre-release versions of Edgy

If you have installed a pre-release version of Edgy, it is assumed that you are already familiar enough with the package management tools to perform an ordinary upgrade.

  1. If you are upgrading from the beta release of Edgy to the release candidate, note that the default console font has changed for many languages. If you want to change your system to use the current default, edit `/etc/default/console-setup` and look for the `FONTFACE=` line. If it is set to `"Terminus"`, change this line to `FONTFACE="VGA"`, and, if necessary, change the `FONTSIZE=` line to `FONTSIZE="16"`. This step is not necessary for upgrades to the final Edgy release.

PLF Ubuntu project

PLF no longer exists, but you can use the Medibuntu project.