How Do I Update /etc/apt/sources.list To 8.04 ??

Asked by taurus

I recently upgraded to 8.04 from 7.10. How can I update my etc/apt/sources.list to reflect future updates of 8.04? So far, I have the following in my list. I want to make sure I have the most updated info for my 8.04:

# deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

# Line commented out by installer because it failed to verify:
# deb http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
# Line commented out by installer because it failed to verify:
# deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-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.
# Line commented out by installer because it failed to verify:
# deb http://us.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
# deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
# deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates universe
# Line commented out by installer because it failed to verify:
# deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates 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.
# Line commented out by installer because it failed to verify:
# deb http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
# deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates 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/ gutsy-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu gutsy partner
# deb-src http://archive.canonical.com/ubuntu gutsy partner

# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
# Line commented out by installer because it failed to verify:
deb http://archive.ubuntu.com/ubuntu/ hardy universe main restricted multiverse
# deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse
deb http://deb.opera.com/opera/ stable non-free

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Gabriel Ruiz
Solved:
Last query:
Last reply:
Revision history for this message
Steven Rose (steveydoteu) said :
#1

Firstly, why has it not update your sources.list when it upgraded?

You will find a default version of the 8.04 list here http://ubuntuforums.org/showthread.php?t=783577 just replace the contents of your sources.list file with it. Remember to update the sources once the list is changed.

Revision history for this message
taurus (taurusxz) said :
#2

Hey, Steven, thanks a million for the tip. One more question for you related to this is, how can I add a line to my sources.list in order to update Deluge and Opera? And, how do I obtain the public key for them?

Revision history for this message
Steven Rose (steveydoteu) said :
#3

Do you have a specific repository/repositories in mind?

If this is the case find the deb line for it which will look something like the following:

deb http://repo.something hardy main

Then under System > Administration > Software Sources, and under the tab for third party repositories click add and paste that line in.

As for the keys, if one is available for the repository somewhere on the site it will tell you how to install it.

Revision history for this message
Best Gabriel Ruiz (anakron) said :
#4

The problem is too easy to solve :-). You must do some things:

sudo nano /etc/apt/sources.list

Replace gutsy with hardy in .every sentence.

sudo apt-get update

sudo apt-get dist-upgrade -y

Then you will upgrade your gutsy yo hardy.

If you want more information, visit this url, is a better explanation.

https://answers.launchpad.net/ubuntu/+question/39878

Revision history for this message
taurus (taurusxz) said :
#5

Thanks Gabriel Ruiz, that solved my question.