[ start | index | login ]

ubuntu

Created by retep. Last edited by glenn, 100 days ago. Viewed 4,249 times. #7
[diff] [history] [edit] [rdf]
labels
attachments
Ubuntu have a core package that they recommend you use to upgrade the distribution version. You can find out more about it at >>https://help.ubuntu.com/community/UpgradeNotes.

However the following steps are usually sufficient to upgrade your VPS software. As always, if you are not sure, feel free to get one of our staff to assist you by popping in a >>support ticket

Migrating from Edgy (6.04 LTS) to Hardy (8.04 LTS)

Ubuntu have stated that there *is* an upgrade path available for this process. It is likely that a reinstall may be a faster option, however refer to the links above for more information.

Migrating from Gutsy (7.10) to Hardy (8.04 LTS)

I have used the following process with no apparent issues on a clean install. Please note that this update includes newer versions of important software, such as mysql and the apache web server.

You should only upgrade one increment at a time (eg. not from Edgy to Hardy).

export DEBIAN_PRIORITY=critical
export DEBIAN_FRONTEND=noninteractive
sed --in-place 's/gutsy/hardy/' /etc/apt/sources.list
apt-get update 
apt-get -y dist-upgrade

Migrating from Feisty (7.04) to Gutsy (7.10)

The same tried an true method works for this upgrade as well as the one from Edgy to Feisty. Please note you should only upgrade one increment at a time (eg. not from Edgy to Gutsy).

export DEBIAN_PRIORITY=critical
export DEBIAN_FRONTEND=noninteractive
sed --in-place 's/feisty/gutsy/' /etc/apt/sources.list
apt-get update 
apt-get -y dist-upgrade

Migrating From Edgy (6.10) To Feisty (7.04)?

export DEBIAN_PRIORITY=critical
export DEBIAN_FRONTEND=noninteractive
sed --in-place 's/edgy/feisty/' /etc/apt/sources.list
apt-get update 
apt-get -y dist-upgrade

Migrating From Breezy Badger to Dapper Drake

Did you get setup with an Ubuntu 5 Breezy Badger distro? Need the latest Ubuntu 6 Dapper Drake distro?

We have done the dist-upgrade a few times and it runs pretty smoothly. Just run:

replace breezy dapper -- /etc/apt/sources.list ; apt-get update; apt-get -y dist-upgrade

When asked if you want to keep modified config files, it is best to keep the original ones. i.e. say N (for no).

Locale Errors With Apt?

Getting an error like this in Ubuntu when using apt?

Fetched 1155kB in 4s (274kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Run apt-get install language-pack-en

no comments | post comment
Powered by snipsnap.org Found a mistake in a howto? Let us know via an email to p.blikibugs at rimuhosting com.