Ubuntu cd request on apt-get install

By Ettore

If you are asked to insert your ubuntu cdrom when installing something with apt-get, and you don’t want to, just do:

  1. gksudo gedit /etc/apt/sources.list
  2. insert a ‘#’ in front of the first entry to comment it out (the one with the cdrom)
  3. sudo apt-get update

EDIT: Kevin Guertin suggested a graphical way of doing it (for the less geeky of us :) ):

Go to System > Administration > Software Sources and uncheck the “Cdrom with Ubuntu 7.10 Gutsy Gibbon” checkbox on the “Ubuntu Software” tab.

3 Responses to “Ubuntu cd request on apt-get install”

  1. Kevin Guertin Says:

    Or you can do it graphically by going to System > Administration > Software Sources and uncheck the “Cdrom with Ubuntu 7.10 Gutsy Gibbon” checkbox on the “Ubuntu Software” tab. :)

  2. Ettore Says:

    Well but then you assume that the X server is installed and running! Kidding :) :) :) Thanks, post updated.

  3. Luong Says:

    It’s so cool. I finished with your guide. Thanks

Leave a Reply