Results 1 to 5 of 5
Hey, I just installed Debian with the minimal CD image, and I don't have a local network mirror or anything.
Quick and dirty, how do I get packages off the ...
- 01-25-2009 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 4
Debian Network Install - getting packages over http
Hey, I just installed Debian with the minimal CD image, and I don't have a local network mirror or anything.
Quick and dirty, how do I get packages off the web? I keep getting the 'package not available' message.
I'm sure I just need to edit a config file or something to be able to access all that's available.
My server is up and running with Internet access, but I don't have the slightest idea how to configure apt-get to access the web for stuff.
Any help would be greatly appreciated. :/
Karl
- 01-25-2009 #2
as root (nano or your favorite text editor)
the first line should be the line for the cd, comment it out with a # and save your changesCode:nano /etc/apt/sources.list
then
Code:apt-get update apt-get install blah_package_name
- 01-26-2009 #3Just Joined!
- Join Date
- Jan 2009
- Posts
- 4
No dice, still the same message.
Here's my sources.list file as it currently sits, FWIW.
Thanks for the help!
----------------------------------------
#
# deb cdrom:[Debian GNU/Linux 4.0 r6-etchnhalf _Etch-and-a-half_ - Official i386 NETINST 20081220-23:42]/ etch main
# deb cdrom:[Debian GNU/Linux 4.0 r6-etchnhalf _Etch-and-a-half_ - Official i386 NETINST 20081220-23:42]/ etch main
deb Debian -- Security Information etch/updates main
deb-src Debian -- Security Information etch/updates main
deb Index of /debian-volatile etch/volatile main
deb-src Index of /debian-volatile etch/volatile main
- 01-26-2009 #4
do you have the volitile repositories on purpose?
here is mine
replace lenny or unstable for etch, testing, or unstable and find a mirror close to youCode:deb http://ftp.us.debian.org/debian/ unstable main non-free deb-src http://ftp.us.debian.org/debian/ unstable main non-free # deb http://security.debian.org/ lenny/updates main # deb-src http://security.debian.org/ lenny/updates main deb http://http.us.debian.org/debian/ lenny main contrib non-free deb http://http.us.debian.org/debian/ lenny-proposed-updates contrib non-free m$ deb http://security.debian.org/ lenny/updates contrib non-free main deb http://dl.google.com/linux/deb/ testing non-free
APT HOWTO - Basic Configuration
- 01-26-2009 #5Just Joined!
- Join Date
- Jan 2009
- Posts
- 4
Perfect, that's got it for me! Thanks a ton!

The volitile reps weren't on purpose. That was what it defaulted to from the install. I replaced all your lenny's with my etch's, and it worked like a charm.


Reply With Quote
