Results 1 to 2 of 2

Thread: Noob question about apt-get and sources.list

  1. #1
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338

    Noob question about apt-get and sources.list

    I have a lot of entries in my etc/apt/sources.list, and even though I haven't a clue about more than half of them, some being commented out previously by who knows who, and others, like security update lines, have been added, and then found to be faulty, so then commented out...

    My issues: Is it common to be commenting out entries in the /etc/apt/sources.list? I realize that sites go up and down, and crash, and are changed to other locations, and all that, but, how do you keep track of all this...

    I did a apt-get update - and got a whole screen-full of warnings, and errors in the listings...

    Specifically:
    ftp://ftp.gwdg.de (134.76.11.100) connection timed out...
    http://people.debian.org ./sources -=- 403 forbidden
    ./packages and sid/i386 packages with 404 not found
    http://non-us.debian.org ./sources and ./packages with 404 not found
    and lastly, which I figured was an easy better comment this out...
    http://www.videolan.org sources/ sources and i386/ packages with 301 moved permanently

    I realize that the file /etc/apt/sources.list is the MAIN update/upgrade file for locating needed, and wanted programs, and that the file is sooooo easily updated with any editor, that can make it even easier to mess it all up. Either by accident, or by adding/commenting out entries in a kind of nilly-willy manor.

    Looking over the above entries, finding all of them, except for the non-us.debian.org entry, I manually began to comment them out, with information on why and when they were commented out, then thought... Maybe, before I possibly muck things up with a update or upgrade, I might want to check beforehand....

    Anyone got ideas on this subject?
    Thanks to everyone,
    Cuddles

  2. #2
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    I realized after sending off my original post, that I might have been a little abrupt, and missed the thought of adding the sources.list I have, this is the "proposed alteration" of the file:

    Code:
    # See sources.list(5) for more information, especialy
    # Remember that you can only use http, ftp or file URIs
    # CDROMs are managed through the apt-cdrom tool.
    
    # Security updates for "stable"
    deb http://security.debian.org stable/updates main contrib non-free
    deb http://security.debian.org testing/updates main contrib non-free
    
    # Security updates for "unstable" user inserted per SecurityHOWTO
    # AptGet warnings on the below path REMOVED by user until resolved (20040109)
    #deb http://security.debian.org unstable/updates main contrib non-free
    
    # Stable
    deb http://ftp2.de.debian.org/pub/debian stable main contrib non-free
    deb http://ftp2.de.debian.org/pub/debian-non-US stable/non-US main contrib non-free
    
    # Sources
    deb-src http://ftp2.de.debian.org/pub/debian stable main contrib non-free
    deb-src http://ftp2.de.debian.org/pub/debian-non-US stable/non-US main contrib non-free
    
    # Testing
    deb http://ftp2.de.debian.org/pub/debian testing main contrib non-free
    deb http://ftp2.de.debian.org/pub/debian-non-US testing/non-US main contrib non-free
    
    # Sources
    deb-src http://ftp2.de.debian.org/pub/debian testing main contrib non-free
    deb-src http://ftp2.de.debian.org/pub/debian-non-US testing/non-US main contrib non-free
    
    # Unstable
    deb http://ftp2.de.debian.org/debian unstable main contrib non-free
    deb http://ftp2.de.debian.org/debian-non-US unstable/non-US main contrib non-free
    
    # Sources
    deb-src http://ftp2.de.debian.org/debian unstable main contrib non-free
    deb-src http://ftp2.de.debian.org/debian-non-US unstable/non-US main contrib non-free
    
    # Experimental
    deb http://ftp2.de.debian.org/debian ../project/experimental main contrib non-free
    deb-src http://ftp2.de.debian.org/debian ../project/experimental main contrib non-free
    
    # Package and Software Specific
    # DVD
    #    currently getting a 301 moved permanently message (commented out 20040109)
    #deb http://www.videolan.org/pub/videolan/debian $(ARCH)/
    #deb-src http://www.videolan.org/pub/videolan/debian sources/
    
    # Mozilla
    deb http://non-us.debian.org/~kitame/mozilla ./
    deb-src http://non-us.debian.org/~kitame/mozilla ./
    
    # GNOME 2.0
    # deb http://www.gnome.de/debian/ ./
    
    # KDE 3
    # deb http://ktown.kde.org/~nolden/kde stable main
    # deb-src http://ktown.kde.org/~nolden/kde stable main
    # We get packages from testing/unstable for now
    
    # cdbakeoven
    # deb http://coyote.asoc.euitt.upm.es/mud/debian/ ./
    
    # XFree 4.2/4.3
    #    currently getting a 404 not found message (commented out 20040109)
    #deb http://people.debian.org/~branden/packages sid/i386/
    #deb-src http://people.debian.org/~branden/packages sid/source/
    # below was already commented out
    # deb http://www.penguinppc.org/~daniels/sid/i386 ./
    # deb-src http://www.penguinppc.org/~daniels/sid/source ./
    
    # Java
    #    currently getting a connection timed out message (ip=134.76.11.100) (commented out 20040109)
    #deb ftp://ftp.gwdg.de/pub/languages/java/linux/debian woody main non-free
    #deb-src ftp://ftp.gwdg.de/pub/languages/java/linux/debian woody main non-free
    #deb ftp://ftp.gwdg.de/pub/languages/java/linux/debian unstable main non-free
    #deb-src ftp://ftp.gwdg.de/pub/languages/java/linux/debian unstable main non-free
    # below was already commented out
    # deb http://people.debian.org/~sgybas/jdk13
    
    # LyX & others (now in debian/unstable)
    # deb ftp://ntama.uni-mainz.de/pub/debian unofficial/
    # deb-src ftp://ntama.uni-mainz.de/pub/debian unofficial/
    
    # Evolution
    #deb ftp://ftp.ximian.com/pub/debian stable main
    #deb-src ftp://ftp.ximian.com/pub/debian stable main
    
    # Blades Repository (pppoeconf & co)
    #    currently getting a  message (commented out 20040109)
    deb http://people.debian.org/~blade/testing ./
    deb-src http://people.debian.org/~blade/testing ./
    
    # Wine CVS snapshot
    # deb http://people.debian.org/~andreas/debian wine main
    # deb-src http://people.debian.org/~andreas/debian wine main
    
    # deb cdrom:[Debian GNU/Linux 2.2 r3 _Potato_ - Official i386 Binary-1 (20010427)]/ unstable contrib main non-US/contrib non-US/main
    [/code]

    hopefully, this works, I am still learning the interface here,
    Cuddles[/code]

Similar Threads

  1. knoppix sources.list repository incomplete list.
    By vdesibabu in forum Customising & Remastering
    Replies: 0
    Last Post: 01-05-2005, 05:47 PM
  2. Apt Sources list
    By Timo in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 09-28-2004, 07:50 AM
  3. sources.list
    By tsitras in forum General Support
    Replies: 3
    Last Post: 05-18-2004, 03:10 PM
  4. sources.list question
    By TimWhite in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 03-14-2004, 12:35 PM
  5. sources.list question
    By rattler in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 01-27-2003, 06:17 AM

Posting Permissions

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


1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE

$259.00



2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL picture

2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL

$299.00



HP ProLiant MicroServer Gen8 Server Xeon E3-1220L 8GB RAM No HDD's picture

HP ProLiant MicroServer Gen8 Server Xeon E3-1220L 8GB RAM No HDD's

$229.99



HP HPE Microserver Gen 7 8 9 iLO 2/3/4/5Advanced License Lifetime Key| FAST SHIP picture

HP HPE Microserver Gen 7 8 9 iLO 2/3/4/5Advanced License Lifetime Key| FAST SHIP

$10.00



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon

$822.88



HPE ProLiant MicroServer Gen10 picture

HPE ProLiant MicroServer Gen10

$420.00



HP ProLiant MicroServer HSTNS-5151 picture

HP ProLiant MicroServer HSTNS-5151

$59.99



Supermicro CSE-847 Server 2*INTEL XEON E5-2690 V2 96GB 36-Bay 3.5

Supermicro CSE-847 Server 2*INTEL XEON E5-2690 V2 96GB 36-Bay 3.5" 4U SEE NOTES

$200.99



Supermicro 4U Server 36 Caddy Bay LFF E ATX Storage Chassis 6Gbs 847E16-R1400LPB picture

Supermicro 4U Server 36 Caddy Bay LFF E ATX Storage Chassis 6Gbs 847E16-R1400LPB

$275.00