Getting rid of Insert Ubuntu Disc Message

This “Insert Disc” message was annoying and frustrating almost at any time I was trying to install a new software on my Ubuntu (7.10 gutsy-gibbon).

Media change: please insert the disc labeled 'Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.1)' in the drive '/cdrom/' and press enter

If you want to get rid of it you should comment out the line that point to the “CD-ROM” Source.

Type the following in the terminal:

gksudo gedit /etc/apt/sources.list

Locate the line that reads:

deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted

and comment it out

#deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted

Save the file, close the editor, back in the terminal window type:

sudo apt-get update

Good luck and thank you for choosing Ubuntu.

5 Responses

  1. get rid not read

    gibbon - January 16, 2008 at 4:19 pm
  2. @gibbon, typo typo, at least not in the title… ;-)

    Tzury Bar Yochay - January 16, 2008 at 4:37 pm
  3. In my software sources, Ubuntu Software tab, at the bottom was “Installable from CD-ROM/DVD”

    I unchecked that box and the no more cd rom crap at the CLI.

    Renjiro - January 21, 2008 at 4:45 pm
  4. I couldn’t figure out why I needed the CD to use apt-get. This worked great, thanks!

    Jeff - February 12, 2008 at 11:06 pm
  5. Thank you, ran into this, and your info helped me!

    Raoul Teeuwen - May 12, 2008 at 7:25 pm

Leave a Reply