Remove CD-ROM from apt-get repositories Debian 6

I noticed that Debian 6 uses the media in the CD-ROM when using the “apt-get” utility.
The following message comes up when attempting to install or update a program using apt-get:

Media change: please insert the disc labeled
‘Debian GNU/Linux 6.0.0 _Squeeze_ – Official i386 DVD Binary-1 20110205-17:27′
in the drive ‘/media/cdrom/’ and press enter

The fix is easy. We need to remove the CD-ROM as a source for apt-get.
To do this, edit the following file: /etc/apt/sources.list

Comment or delete the line for the CD-ROM, save the changes, and try apt-get again.
This time, it should use the online repositories.

Advertisement

~ by ortuno2k on 03/14/2011.

4 Responses to “Remove CD-ROM from apt-get repositories Debian 6”

  1. Best explaination
    It works

  2. Excellent, thanks, it was annoying the hell out of me.

  3. Compartiste precisamente la información que andaba buscando … Gracias!

    “You shared the exact information i was looking for… Thanks! “

  4. hey, thanks! this helped.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.