Results 1 to 6 of 6
Hello,
I've contacted my local datacenter, and they have set me up with some nice servers, but the problem is, they have no experience with Debian, but I requested that ...
- 08-07-2006 #1Just Joined!
- Join Date
- Aug 2006
- Posts
- 3
apt-get + CD problems
Hello,
I've contacted my local datacenter, and they have set me up with some nice servers, but the problem is, they have no experience with Debian, but I requested that OS.
I've logged into root, and went to install some packages, and I get the following error:
What I really need to know, is how can I change it from wanting the CD, or getting the packages from the internet?0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/233kB of archives.
After unpacking 516kB of additional disk space will be used.
Media Change: Please insert the disc labelled
'Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-1 (20050605)'
in the drive '/cdrom/' and press enter
Thanks so much,
Richard.
- 08-07-2006 #2Linux Newbie
- Join Date
- Aug 2006
- Posts
- 107
edit the /etc/apt/sources.list file and comment out the line that lists the cd then make sure the appropriate sources are listed for debian.
Than do a
apt-get update
and then start installing all you want!
- 08-07-2006 #3Just Joined!
- Join Date
- Aug 2006
- Posts
- 3
thanks for the info. But in my /etc/apt/sources.list file all I see is the cd's. What are the appropriate sources that I should add?
Originally Posted by deanlinkous
- 08-07-2006 #4Linux Newbie
- Join Date
- Aug 2006
- Posts
- 107
Something like...
deb http://ftp.debian.org/debian/ sarge main contrib non-free
deb http://security.debian.org/ sarge/updates main contrib
is the basic debian repo and security repo
- 08-07-2006 #5
Try some of the mirrors nearest you, from this list.
Stand up and be counted as a Linux user!
- 08-09-2006 #6Just Joined!
- Join Date
- Aug 2006
- Location
- Central NewYork state, USA
- Posts
- 3
Apt sources
Try these out. Shortcut from figuring them out on your own, but these work well for what I do lately. Not sure where you are located, I am in central NY state and mirrors.kernel.org is pretty quick for me.
Originally Posted by GS-Richard
/etc/apt/sources.list:
# Main Debian packages
deb http://mirrors.kernel.org/debian stable main
deb-src http://mirrors.kernel.org/debian stable main
# Security update packages
deb http://security.debian.org/ stable/updates main contrib
deb-src http://security.debian.org/ stable/updates main
# BOINC - seti@home
deb http://pkg-boinc.alioth.debian.org/debian sarge main
deb-src http://pkg-boinc.alioth.debian.org/debian sarge main
# MythTV, mplayer, lame
deb http://www.debian-multimedia.org stable main
deb-src http://www.debian-multimedia.org stable main
You can leave out the BOINC one if you don't use seti@home. Make sure you comment out the instances of CD reference then run: apt-get update.
I would then go and run: apt-get upgrade
then: apt-get dist-upgrade
That will update what you have installed now to latest versions. Now you can go ahead and have fun installing some new packages.


Reply With Quote
