Posted by: isaraffee | September 14, 2009

Managing Repositories in Ubuntu 9.04 Jaunty

Managing Repositories in Ubuntu 9.04 Jaunty

To see the repositories for Ubuntu Jaunty,go to :

cd /etc/apt/

Type the following command:

less sources.list | grep -v “^#”

The command above basically will filter off the lines that begins with the pound sign #.

My output look like the one below:

deb http://sg.archive.ubuntu.com/ubuntu/ jaunty main restricted

deb-src http://sg.archive.ubuntu.com/ubuntu/ jaunty main restricted

deb http://sg.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted

deb-src http://sg.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted

deb http://sg.archive.ubuntu.com/ubuntu/ jaunty universe

deb-src http://sg.archive.ubuntu.com/ubuntu/ jaunty universe

deb http://sg.archive.ubuntu.com/ubuntu/ jaunty-updates universe

deb-src http://sg.archive.ubuntu.com/ubuntu/ jaunty-updates universe

deb http://sg.archive.ubuntu.com/ubuntu/ jaunty multiverse

deb-src http://sg.archive.ubuntu.com/ubuntu/ jaunty multiverse

deb http://sg.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse

deb-src http://sg.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse

deb http://security.ubuntu.com/ubuntu jaunty-security main restricted

deb-src http://security.ubuntu.com/ubuntu jaunty-security main restricted

deb http://security.ubuntu.com/ubuntu jaunty-security universe

deb-src http://security.ubuntu.com/ubuntu jaunty-security universe

deb http://security.ubuntu.com/ubuntu jaunty-security multiverse

deb-src http://security.ubuntu.com/ubuntu jaunty-security multiverse

The deb line refers to the packages while the deb-src refers to the source file

The repository components are:

  • Main – Officially supported software.
  • Restricted – Supported software that is not available under a completely free license.
  • Universe – Community maintained software, i.e. not officially supported software.
  • Multiverse – Software that is not free and not officially supported

You can update the repository file through command line and GUI. To edit by command line, use any editor of your choice. If you want to edit via GUI, you can use one of the following methods:

System–>Administration–>Software Sources

System–>Administration–>Synaptic Package Manager

By using the software package management tools already installed on your system, you can search for, install and update any piece of software directly over the Internet, without the need for the CD.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: