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
  •  


HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS picture

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS

$199.00



Supermicro 505-2   Server picture

Supermicro 505-2 Server

$280.00



Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset picture

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset

$129.99



Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On picture

Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On

$450.00



HP PROLIANT  TPS-W003 MICRO- SERVER TOWER Gen 8, 16G RAM picture

HP PROLIANT TPS-W003 MICRO- SERVER TOWER Gen 8, 16G RAM

$195.00



Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram  240gb SSD 2x GPU *READ* picture

Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*

$369.99



SUPERMICRO CSE-836 XEON E5-1620 v3 @ 3.50GHz, 32GB RAM, NO HDD/OS picture

SUPERMICRO CSE-836 XEON E5-1620 v3 @ 3.50GHz, 32GB RAM, NO HDD/OS

$299.99



Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3 picture

Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3

$219.99



Supermicro CSE-216 No CPU No Ram No HDD Tested & Reset picture

Supermicro CSE-216 No CPU No Ram No HDD Tested & Reset

$149.99



Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC picture

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC

$187.50