Find the answer to your Linux question:
Results 1 to 6 of 6
Noob finally got the internet working but while trying to figure that out I came across this EDIT! - This is a less from /etc/apt source.list Code: # # deb ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2011
    Posts
    36

    Source.list has things commented out. Should I uncomment???


    Noob finally got the internet working but while trying to figure that out I came across this

    EDIT! - This is a less from /etc/apt source.list
    Code:
    # 
    
    # deb cdrom:[Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 DVD Binary-1 20111008-13:01]/ squeeze contrib main
    
    deb cdrom:[Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 DVD Binary-1 20111008-13:01]/ squeeze contrib main
    
    # Line commented out by installer because it failed to verify:
    #deb http:/security.debian.org/ squeeze/updates main contrib
    # Line commented out by installer because it failed to verify:
    #deb-src http:/security.debian.org/ squeeze/updates main contrib
    
    # squeeze-updates, previously known as 'volatile'
    # A network mirror was not selected during install.  The following entries
    # are provided as examples, but you should amend them as appropriate
    # for your mirror of choice.
    #
    # deb http:/ftp.debian.org/debian/ squeeze-updates main contrib
    # deb-src http:/ftp.debian.org/debian/ squeeze-updates main contrib
    deb http:/ftp.us.debian.org/debian squeeze main contrib non-free
    the last line was added by ME while trying to fix the WIFI problem.

    I suspect that these were commented out by the installer because it couldn't connect to the internet. They look important and look as tho they shouldn't be commented out anymore but I'm not sure if that's the right thing to do or not

    should these be un-commented???

    Cheers

    GGGGRRRRRrrrrrrrrrrr......note The URL's have been changed to make them not URL's as I cant post url's til I have a few more posts.
    Last edited by Kodocha; 12-11-2011 at 06:57 AM.

  2. #2
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    I've never used Debian proper, so this might just be incorrect
    I'm gonna make some changes, marked in red, that might work for you.
    Code:
    # 
    
    # deb cdrom:[Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 DVD Binary-1 20111008-13:01]/ squeeze contrib main
    
    #deb cdrom:[Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 DVD Binary-1 20111008-13:01]/ squeeze contrib main
    
    # Line commented out by installer because it failed to verify:
    #deb http:/security.debian.org/ squeeze/updates main contrib
    # Line commented out by installer because it failed to verify:
    #deb-src http:/security.debian.org/ squeeze/updates main contrib
    
    # squeeze-updates, previously known as 'volatile'
    # A network mirror was not selected during install.  The following entries
    # are provided as examples, but you should amend them as appropriate
    # for your mirror of choice.
    #
    deb http:/ftp.debian.org/debian/ squeeze-updates main contrib
    deb-src http:/ftp.debian.org/debian/ squeeze-updates main contrib
    deb http:/ftp.us.debian.org/debian squeeze main contrib non-free
    Notice the longer lines, where the hash mark (#) has been removed.
    Run your updates after making this change. And don't worry... this is easily changed back if it don't work!
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  3. #3
    Just Joined!
    Join Date
    Aug 2006
    Posts
    8
    Hi jayd512!

    Her is mine sources.list
    Code:
    # deb cdrom:[Debian GNU/Linux 5.0.4 _Lenny_ - Official i386 NETINST Binary-1 20100201-16:45]/ lenny main
    
    # deb cdrom:[Debian GNU/Linux 5.0.4 _Lenny_ - Official i386 NETINST Binary-1 20100201-16:45]/ lenny main
    
    deb http:/ftp.se.debian.org/debian/ squeeze main contrib non-free
    deb-src http:/ftp.se.debian.org/debian/ squeeze main contrib non-free
    
    deb http:/security.debian.org/ squeeze/updates main contrib non-free
    deb-src http:/security.debian.org/ squeeze/updates main contrib non-free
    
    #deb http:/volatile.debian.org/debian-volatile squeeze/volatile main
    deb http:/ftp.se.debian.org/debian squeeze-updates main
    
    deb http:/ftp.se.debian.org/debian/ squeeze-proposed-updates contrib non-free main
    deb-src http:/ftp.se.debian.org/debian/ squeeze-proposed-updates contrib non-free main
    #deb-src http:/volatile.debian.org/debian-volatile squeeze/volatile main
    What you need to do is to go to debian.org/mirror and find one or two mirrors near you to download updates from. Then make enters like the ones in my sources.list but substitute the URLs with mirrors near you. You don't neseserely need all the enterys I maid but at least one like deb <URL for miror> squeeze-updates main contrib

  4. #4
    Just Joined!
    Join Date
    Dec 2011
    Posts
    36
    I did the Edit's JAY suggested and looks like It's all now functioning within established parameters.... un-commenting was the right move tho I understand the selecting of mirrors that are close... but I figure as long as it works for now I can deal with making more complex changes later. When I know more about the System and what I'm doing... I'll get there eventually...

    AGAIN THANX FOR ALL THE HELP EVERYONE!

  5. #5
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Wonderful! I'm glad that it's working for you!
    Quote Originally Posted by Kodocha View Post
    I'll get there eventually...
    Keep messing around with it, and you'll find that you'll constantly be picking up new pieces of info.
    Last edited by jayd512; 12-12-2011 at 07:04 AM. Reason: fixed tag
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  6. #6
    Linux Newbie
    Join Date
    Sep 2007
    Posts
    218
    These sources need to be enabled (uncommented) for security updates. Also, add "non-free" after contrib to get the non-free updates as well.

    Code:
    deb http:/security.debian.org/ squeeze/updates main contrib non-free
    deb-src http:/security.debian.org/ squeeze/updates main contrib non-free
    The first and the third below are two different mirrors for the same source list. In that each mirror's pkg list is stored (/var/lib/apt/lists), it creates a duplicate record... not a big deal but unneccesary.

    Code:
    deb http:/ftp.debian.org/debian/ squeeze-updates main contrib
    deb-src http:/ftp.debian.org/debian/ squeeze-updates main contrib
    deb http:/ftp.us.debian.org/debian squeeze main contrib non-free
    Suggestion A: comment out the third source and add "non-free" after contrib, at the end the first two sources.
    Code:
    deb http:/ftp.debian.org/debian/ squeeze-updates main contrib non-free
    deb-src http:/ftp.debian.org/debian/ squeeze-updates main contrib non-free
    # deb http:/ftp.us.debian.org/debian squeeze main contrib non-free
    Suggestion B: comment out the first two sources and add a deb-src address.
    Code:
    # deb http:/ftp.debian.org/debian/ squeeze-updates main contrib
    # deb-src http:/ftp.debian.org/debian/ squeeze-updates main contrib
    deb http:/ftp.us.debian.org/debian squeeze main contrib non-free
    deb-src http:/ftp.us.debian.org/debian squeeze main contrib non-free

Posting Permissions

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