Enabling repositories at sources.list on a apt enabled lenny server

While setting up a debian server, the initial hurdle was to get the packages downloading from the repositories. It was redirecting to CDRom, asking for CDRom to be inserted.

Get a mirror close to the server from http://www.debian.org/mirror/list . Edited the file /etc/apt/sources.list

Commented out the lines,

#deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official amd64 CD Binary-1 20090214-19:11]/ lenny main
#deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official amd64 CD Binary-1 20090214-19:11]/ lenny main

and added below lines

deb http://ftp.au.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.au.debian.org/debian/ lenny main

Finally reloaded the aptitude with the following commands

aptitude update

And voila, I have the repository read to start the small task.

Related posts:

  1. Error in Drupal while enabling clean URL
  2. Enabling mod_rewrite in Apache 2.2
  3. How to list out all the mysql database tables having the storage engine of INNODB
  4. How to install 32 bit and 64 bit applications on 64 bit Ubuntu OS
  5. OpenVPN issues on a OpenVZ / Virtuozzo enabled VPS

Comment Form

About this blog

This blog, acts as a knowledge repository for the world and is unofficial! Anything we find interesting in the cyber world will go here. Most cases, this blog will reflect the happiness of our staff in reaching successful solution to an issue (s)he worked on. A reference for other fellow SAGEs who come across similar issues later