JonathanRyan.org

Apt-Get in Ubuntu Server with No CD

I recently set up a few Ubuntu servers at work, and for some reason they would ask for the Ubuntu CD instead of looking online for new packages.  The fix is easy, but there aren’t any good hits high on Google so I’m putting this out here to help other people looking to solve the same problem.

All you need to do is edit /etc/apt/sources.list and comment out the entry for the cd drive.

This file contains a list of all the repositories apt-get will check for packages.  The top entry is will look something like “deb cdrom:[Ubuntu-Server….”.  Comment it out by adding a “#” to the front of the line.

2007-08-07 12:11 by Jon, Filed under:Uncategorized   No Comments »

Comments

No comments yet.

Leave a comment

(required)

(required)

RSS feed for comments on this post.

Powered by WordPress , Theme Ported to Wordpress by Liu Xun. Original Design by Cathayan

liuxun at gmail dot com