Prevent Ubuntu from Asking for an Install CD
Posted by Kevin Purdy at 1:30 AM on December 29, 2007

One of the very few things that can remind a new Ubuntu Linux user of the long-ago days of ancient Windows is when the system asks for the installation CD or DVD to install a program or utility. That's because Ubuntu keeps the CD as an installation option by default, looking for it whenever a net connection isn't present. To keep CD begging at bay, the FOSSwire blog recommends the following:
Experienced Linux users likely handle most of their software source editing in the command line, but this tweak should help prevent a few headaches for beginners.
- In Ubuntu (the normal Gnome version), go to System > Administration > Software Sources. On Kubuntu, head to the Adept Manager application, then go to Adept > Manage Repositories.
- Go to the Third Party Software tab Note: In Ubuntu 7.10, this option is in the "Ubuntu Software" tab instead
- Uncheck any entries starting with "cdrom," then reload software lists if prompted

Comments (AU Comments · US Comments)
There are currently no AU comments for this post.
emmetp
Posted 7:45 AM 28/12/07
thanks kevin! This always happens to me now. I wonder why it never did that on 7.04?
emmetp
Ellidi Tumason
Posted 9:12 AM 28/12/07
Because this option wasn't enabled by default?
Ellidi Tumason
emmetp
Posted 9:59 AM 28/12/07
@ELLIDI TUMASON yeah i know, but i wonder why they decided to change the defaults.
emmetp
nikoPSK
Posted 11:18 AM 28/12/07
I've known that for ages... :P
nikoPSK
Bill
Posted 3:20 PM 28/12/07
For those running ubuntu as a server without a GUI, it's as simple as running "sudo vi /etc/apt/sources.list" and then commenting out (with a #) the line near the top of the file that starts like this:
deb cdrom
There may be one line in the sources.list that begins with "deb cdrom" that's already commented out, but there will most likely be another there as well.
Bill
war59312
Posted 4:48 AM 29/12/07
Yeah wondered why it asked for it a few hours ago... Thanks!
war59312
workingwriter
Posted 11:59 AM 31/12/07
openSUSE has a similar option in YaST: In v10.3 (current), go to Software Repositories and uncheck the CD option(s). Earlier versions the same module is called Installation Sources.
workingwriter