Windows DatabaseebooksStatistical Information

LLE10097 : Howto stop a debian system to look for a CD by installation of packages

Symptom:

You do not want to put the debian CD in the drive each time you install something

Cause:

Wrong configuration in /etc/apt/sources.list

Solution:

Under debian this is very easy. You just need to change the file /etc/apt/sources.list and remark one line.

The file on debian etch looks like:



#
# deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official amd64 CD Binary-1 20080803-21:56]/ etch contrib main

deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official amd64 CD Binary-1 20080803-21:56]/ etch contrib main

deb http://ftp.de.debian.org/debian/ etch main
deb-src http://ftp.de.debian.org/debian/ etch main

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib


The only thing you need to do is add a # in front of the "deb cdrom" line with your favorite editor. I normally use vim to do this.

So the result will be:


#
# deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official amd64 CD Binary-1 20080803-21:56]/ etch contrib main

#deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official amd64 CD Binary-1 20080803-21:56]/ etch contrib main

deb http://ftp.de.debian.org/debian/ etch main
deb-src http://ftp.de.debian.org/debian/ etch main

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib

 


 


Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2011 Lubby (V3.0.10 Aug 2011)
Sponsored by Keskon.
Statistical information by Google Analytics