LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   getting debian cd's thru soruces.list (https://www.linuxquestions.org/questions/linux-newbie-8/getting-debian-cds-thru-soruces-list-609774/)

sigkill 12-29-2007 03:37 AM

getting debian cd's thru soruces.list
 
Hi this is my first time posting here and also my first time installing debian etch.

i downloaded the 1st cd of etch and installed it right away, since debian etch has 22cd's im wondering how can i get the rest of the cds using source.list?

i have this on my sources.list

Code:

#
#deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 CD Binary-1 20070819-11:52]/ etch contrib main

deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 CD Binary-1 20070819-11:52]/ etch contrib main

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

i added the http://http.us.debian.org/debian and issue the command apt-get update it took about 5 minutes i think to update. but if im going to get all that 22cds im sure it will not only take 5 minutes.

how can i get it using sources.list and how would i know if i already have all of them?

RobertP 12-29-2007 07:39 AM

Quote:

i added the http://http.us.debian.org/debian and issue the command apt-get update it took about 5 minutes i think to update. but if im going to get all that 22cds im sure it will not only take 5 minutes.
That procedure does give you access to the entire repository. What you have downloaded is the package list from the remote repository. There are many such repositories. You may look for one closer or faster.

You will have an amazing system with only 10% of the packages installed so there is rarely any need to download all the packages. An exception is if your site is very remote, you do many installations or your site has a slow connection to the Internet. Then you may find it useful to create your own repository on a hard drive and bring it to your site.

To look in the repository, use

apt-cache search keywords

and

apt-cache -f search keywords


All times are GMT -5. The time now is 07:18 AM.