Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    as root (nano or your favorite text editor)
    Code:
    nano /etc/apt/sources.list
    the first line should be the line for the cd, comment it out with a # and save your changes
    then
    Code:
    apt-get update
    apt-get install blah_package_name

  3. #3
    Just 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

  4. #4
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    do you have the volitile repositories on purpose?

    here is mine
    Code:
    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
    replace lenny or unstable for etch, testing, or unstable and find a mirror close to you
    APT HOWTO - Basic Configuration

  5. #5
    Just 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •