add/remove software

Peter Garrett peter.garrett at optusnet.com.au
Sun Jan 21 19:47:22 UTC 2007


On Sun, 21 Jan 2007 14:11:33 -0500
Erik Schmidt <eschmidt90 at gmail.com> wrote:

[snipped extremely strange-looking much-hacked about  /etc/apt/sources.list ]

OK.

Move that out of the way ( not that it will be much use anyway )

sudo mv /etc/apt/sources.list /etc/apt/sources.list.broken

Open an editor and paste in the following (between the ##### lines) using
( gksudo gedit /etc/apt/sources.list , or  whatever you are
comfortable with )

###############################################
# All the usual repositories
deb http://us.archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse

# Updates
deb http://us.archive.ubuntu.com/ubuntu/ edgy-updates main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ edgy-updates main restricted universe multiverse

# Security, from the main security archive
deb http://security.ubuntu.com/ubuntu/ edgy-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu/ edgy-security main restricted universe multiverse

###############################################

Save the file as /etc/apt/sources.list

Then

sudo apt-get update && sudo apt-get install build-essential

Unless there's a typo  in the file as I've given it above, it should work OK I think.

Let us know how that goes.

Peter




More information about the ubuntu-users mailing list