Not getting a package on Ubuntu?

If you are not getting a package on Ubunu using apt-get then chances are that it has not been updated in the /etc/apt/sources.list file

For example, the following should be there in the sources.list file if you are running Ubuntu 10.04 LTS (codename lucid)

## main & restricted repositories
deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted

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

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

## universe repositories - uncomment to enable
deb http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe

deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe

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

Related posts:

  1. Installing MySQL 5.1 on Ubuntu
  2. Installing T1LIB on Ubuntu
  3. Good bye CentOS! Hello Ubuntu
  4. Webmin’s Software Package Update emails are not working
  5. Installing Lighttpd, PHP and MySQL on Ubuntu

One thought on “Not getting a package on Ubuntu?

  1. Pingback: TechBytes » Blog Archive » Installing Lighttpd, PHP and MySQL on Ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>