Problems upgrading to 7.10

Asked by Lawrence Robinson

I have been trying to upgrade from Ubuntu 7.04 to 7.10 since the release. I keep getting the following error messages:

"Failed to fetch http://archive.canonical.com/ubuntu/dists/feisty-commercial/main/binary-i386/Packages.gz Sub-process gzip returned an error code (1)
Failed to fetch http://archive.canonical.com/ubuntu/dists/feisty-commercial/main/binary-i386/Packages.gz Sub-process gzip returned an error code (1)"

I also obtained a cd of the new version, but when I try to uprade using directions provided at the official site nothing happened. These instructions are:

"If the upgrade dialog is not displayed for any reason, you may also run the following command using Atl+F2:
gksu "sh /cdrom/cdromupgrade"."

I was just beginning to prefer Ubuntu over Windows XP, but am now full of doubt. I do not want to make a clean install, like Windows, and then have to reinstall all my applications and reset all my preferences.

Can anyone please help me?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier
Solved:
Last query:
Last reply:
Revision history for this message
Olivier (olivier-lacroix) said :
#1

Hi !

I have no idea what happened, but that should not be that hard to correct. Please post the following file here

/etc/apt/sources.list

you can get it by typing in a terminal

cat /etc/apt/sources.list

Revision history for this message
Lawrence Robinson (lrobby25) said :
#2

Hi Oliver,

Here is the file, hope you can help.

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy 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

#AUTOMATIX REPOS START

deb http://www.getautomatix.com/apt feisty main

deb http://archive.canonical.com/ubuntu feisty-commercial main

deb http://archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu feisty-updates universe multiverse

deb http://archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
#AUTOMATIX REPOS END

Revision history for this message
Best Olivier (olivier-lacroix) said :
#3

OK.

This file has multiple references to "feisty", that need to be changed into "gutsy".

I also see that you used automatix : I advise you to avoid it. I know it caused many problems, and what it does can be obtained by hand, avoiding any risk.

open the file, for instance, enter in the terminal

sudo gedit /etc/apt/sources.list

delete everything, and paste this

## Binary repositories
deb http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ gutsy partner
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Source repositories (usually not useful, delete the # to activate them )
# deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse
# deb-src http://security.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
# deb-src http://archive.canonical.com/ubuntu/ gutsy partner

## non-free codec repository
deb http://fr.packages.medibuntu.org/ gutsy free non-free

Save it and close. I added the medibuntu repository, that include non-free (as in free-speech) codecs and software. have a look at
http://medibuntu.org/ for more info

then in a terminal enter the following commands

wget -q http://fr.packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get dist-upgrade

that should do the trick. Tell me if you have any problem

Revision history for this message
Lawrence Robinson (lrobby25) said :
#4

Thank you Olivier. Your suggestion worked like a charm. One cannot get this type of quick and effective response from Microsoft - Thank heavens for Linux.