Results 1 to 4 of 4

Thread: apt-get update error

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Posts
    9

    apt-get update error

    hello, i tried running apt-get update but it gave me errors and died, so i tried running netselect-apt and i replaced my sources.list, but the new file only had one mirror, so i added a few more and now i have this
    Code:
    # the main Debian packages.  Uncomment the deb-src line if you
    # want 'apt-get source' to work with most packages.
    #deb http://ftp3.nrc.ca/debian/ stable main contrib non-free
    # deb-src http://ftp3.nrc.ca/debian/ stable main contrib non-free
    
    # the non-US Debian packages.  Uncomment the deb-src line if you
    # want 'apt-get source' to work with non-US packages.
    deb http://debian.teleglobe.net/non-US/ stable/non-US main contrib non-free
    # deb-src http://debian.teleglobe.net/non-US/ stable/non-US main contrib non-fre
    e
    deb ftp://mirror.direct.ca/pub/linux/debian/ stable main
    deb ftp://debian.yorku.ca/debian stable main
    and that doesn't work either...
    i get this error

    Code:
    root@box:/home/knoppix# apt-get update
    Err ftp://debian.yorku.ca stable/main Packages
      Could not connect to debian.yorku.ca:21 (130.63.236.141). - connect (111 Connection refused)
    Err ftp://debian.yorku.ca stable/main Release
      Could not connect to debian.yorku.ca:21 (130.63.236.141). - connect (111 Connection refused)
    Hit ftp://mirror.direct.ca stable/main Packages
    Hit http://debian.teleglobe.net stable/non-US/main Packages
    Hit http://debian.teleglobe.net stable/non-US/main Release
    Hit http://debian.teleglobe.net stable/non-US/contrib Packages
    Hit http://debian.teleglobe.net stable/non-US/contrib Release
    Hit http://debian.teleglobe.net stable/non-US/non-free Packages
    Hit http://debian.teleglobe.net stable/non-US/non-free Release
    Hit ftp://mirror.direct.ca stable/main Release
    Failed to fetch ftp://debian.yorku.ca/debian/dists/s...86/Packages.gz  Could not connect to debian.yorku.ca:21 (130.63.236.141). - connect (111 Connection refused)
    Failed to fetch ftp://debian.yorku.ca/debian/dists/s...y-i386/Release  Could not connect to debian.yorku.ca:21 (130.63.236.141). - connect (111 Connection refused)
    Reading Package Lists... Done
    W: Couldn't stat source package list ftp://debian.yorku.ca stable/main Packages (/var/lib/apt/lists/debian.yorku.ca_debian_dists_stable_main_binary-i386_Packages) - stat (2 No such file or directory)
    W: You may want to run apt-get update to correct these problems
    E: Some index files failed to download, they have been ignored, or old ones used instead.
    what did i do wrong?

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353

    Re: apt-get update error

    Quote Originally Posted by bennyp
    hello, i tried running apt-get update but it gave me errors and died, so i tried running netselect-apt and i replaced my sources.list, but the new file only had one mirror, so i added a few more and now i have this
    Code:
    # the main Debian packages.  Uncomment the deb-src line if you
    # want 'apt-get source' to work with most packages.
    #deb http://ftp3.nrc.ca/debian/ stable main contrib non-free
    # deb-src http://ftp3.nrc.ca/debian/ stable main contrib non-free
    
    # the non-US Debian packages.  Uncomment the deb-src line if you
    # want 'apt-get source' to work with non-US packages.
    deb http://debian.teleglobe.net/non-US/ stable/non-US main contrib non-free
    # deb-src http://debian.teleglobe.net/non-US/ stable/non-US main contrib non-fre
    e
    deb ftp://mirror.direct.ca/pub/linux/debian/ stable main
    deb ftp://debian.yorku.ca/debian stable main
    and that doesn't work either...
    i get this error

    Code:
    root@box:/home/knoppix# apt-get update
    Err ftp://debian.yorku.ca stable/main Packages
      Could not connect to debian.yorku.ca:21 (130.63.236.141). - connect (111 Connection refused)
    Err ftp://debian.yorku.ca stable/main Release
      Could not connect to debian.yorku.ca:21 (130.63.236.141). - connect (111 Connection refused)
    Hit ftp://mirror.direct.ca stable/main Packages
    Hit http://debian.teleglobe.net stable/non-US/main Packages
    Hit http://debian.teleglobe.net stable/non-US/main Release
    Hit http://debian.teleglobe.net stable/non-US/contrib Packages
    Hit http://debian.teleglobe.net stable/non-US/contrib Release
    Hit http://debian.teleglobe.net stable/non-US/non-free Packages
    Hit http://debian.teleglobe.net stable/non-US/non-free Release
    Hit ftp://mirror.direct.ca stable/main Release
    Failed to fetch ftp://debian.yorku.ca/debian/dists/s...86/Packages.gz  Could not connect to debian.yorku.ca:21 (130.63.236.141). - connect (111 Connection refused)
    Failed to fetch ftp://debian.yorku.ca/debian/dists/s...y-i386/Release  Could not connect to debian.yorku.ca:21 (130.63.236.141). - connect (111 Connection refused)
    Reading Package Lists... Done
    W: Couldn't stat source package list ftp://debian.yorku.ca stable/main Packages (/var/lib/apt/lists/debian.yorku.ca_debian_dists_stable_main_binary-i386_Packages) - stat (2 No such file or directory)
    W: You may want to run apt-get update to correct these problems
    E: Some index files failed to download, they have been ignored, or old ones used instead.
    what did i do wrong?
    The ftp://debian.yorku.ca appear to not be available. You need to comment them out of /etc/apt/sources.list and perhaps replace them with other entries.

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: apt-get update error

    Try this for a sources.list.

    Code:
    # Security updates
    deb http://security.debian.org/ stable/updates main contrib non-free
    deb http://security.debian.org/ testing/updates main contrib non-free
    #deb http://security.debian.org/ unstable/updates main contrib non-free
    
    # Stable
    deb http://ftp.de.debian.org/debian/ stable main non-free contrib
    deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
    
    # Sources
    deb-src http://ftp.de.debian.org/debian/ stable main non-free contrib
    deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
    
    # Testing
    deb http://ftp.de.debian.org/debian/ testing main non-free contrib
    deb http://nonus.debian.org/debian-non-US testing/non-US main contrib non-free
    
    # Sources
    deb-src http://ftp.de.debian.org/debian testing main contrib non-free
    deb-src http://nonus.debian.org/debian-non-US testing/non-US main contrib non-free
    
    # Unstable
    deb http://ftp.de.debian.org/debian/ unstable main non-free contrib
    deb http://nonus.debian.org/debian-non-US unstable/non-US main contrib non-free
    
    # Sources
    deb-src http://ftp.de.debian.org/debian unstable main contrib non-free
    deb-src http://nonus.debian.org/debian-non-US unstable/non-US main contrib non-free
    
    ## Various Multimedia Helper Apps Mplayer, Real, etc.. ##
    deb ftp://ftp.nerim.net/debian-marillat/ unstable main

  4. #4
    Junior Member
    Join Date
    Apr 2004
    Posts
    9
    thanks stephen your list worked well for me

Similar Threads

  1. Error when running apt-get update
    By sunpascal in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 01-23-2005, 12:57 PM
  2. Apt Update error msg
    By kbhat in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 01-10-2005, 03:26 AM
  3. error msg with apt-get update
    By MR_EPOD in forum Customising & Remastering
    Replies: 2
    Last Post: 12-18-2004, 12:09 PM
  4. apt-get update error
    By pc3 in forum General Support
    Replies: 4
    Last Post: 08-19-2004, 04:10 PM
  5. apt-get update Error
    By Cronos55 in forum General Support
    Replies: 6
    Last Post: 11-24-2003, 01:20 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
  •  


New Cisco GLC-TE 1G SFP Copper RJ45 100m 1000BASE-T Transceiver Module picture

New Cisco GLC-TE 1G SFP Copper RJ45 100m 1000BASE-T Transceiver Module

$22.32



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$18.00



New Sealed Cisco SFP-10G-LR 10GBASE-LR SFP Plug-in Transceiver Module picture

New Sealed Cisco SFP-10G-LR 10GBASE-LR SFP Plug-in Transceiver Module

$15.00



New HP HPE Aruba J4858D 1G SFP LC SX 850nm  500m MMF XCVR Transceiver Module picture

New HP HPE Aruba J4858D 1G SFP LC SX 850nm 500m MMF XCVR Transceiver Module

$28.49



GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03 picture

GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03

$6.80



HP 10Gb SR SFP+ 10GBASE-SR 455885-001 10Gigabit Ethernet Transceiver 456096-001 picture

HP 10Gb SR SFP+ 10GBASE-SR 455885-001 10Gigabit Ethernet Transceiver 456096-001

$6.99



Cisco GLC-LH-SMD Transceiver Module SFP 10-2625-01  picture

Cisco GLC-LH-SMD Transceiver Module SFP 10-2625-01

$14.25



🔥🔥🔥SFP-10G-SR V03 Original CISCO 10-2415-03 850nm 10GB SFP+ Multi Module🔥🔥 picture

🔥🔥🔥SFP-10G-SR V03 Original CISCO 10-2415-03 850nm 10GB SFP+ Multi Module🔥🔥

$6.80



For Cisco SFP-10G-T, Ubiquiti UF-RJ45-10G Transceiver, SFP+ to RJ45 10GBase-T picture

For Cisco SFP-10G-T, Ubiquiti UF-RJ45-10G Transceiver, SFP+ to RJ45 10GBase-T

$45.99



LOT OF 10 455883-B21 HP 10Gb SR SFP Transceiver 455885-001 456096-001 picture

LOT OF 10 455883-B21 HP 10Gb SR SFP Transceiver 455885-001 456096-001

$59.99