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
  •  


RAM-HOL-SAM52CPU RAM USB-C Powered Dock Samsung Tab Active4 Pro & Tab Active Pro picture

RAM-HOL-SAM52CPU RAM USB-C Powered Dock Samsung Tab Active4 Pro & Tab Active Pro

$81.99



Samsung 2.5

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot

$60.00



Lot of 12 Non-Working Samsung Galaxy Tablets with BAD LCD for Parts picture

Lot of 12 Non-Working Samsung Galaxy Tablets with BAD LCD for Parts

$381.38



Samsung Galaxy Tab A8 10.5

Samsung Galaxy Tab A8 10.5" Tablet SM-X200 (Gray 32GB) Wifi CRACKED

$41.93



RAM-HOL-SAM60CPU RAM USB-C Powered Dock for Samsung Tab Active5 - 3 - 2 picture

RAM-HOL-SAM60CPU RAM USB-C Powered Dock for Samsung Tab Active5 - 3 - 2

$81.99



Samsung PM961 512GB PCIe Gen 3x4 NVMe 2280 M.2 SSD MZVLW512HMJP-000D1 picture

Samsung PM961 512GB PCIe Gen 3x4 NVMe 2280 M.2 SSD MZVLW512HMJP-000D1

$60.00



RAM-GDS-SKIN-SAM54-NG-1 RAM Mounts IntelliSkin® Next Gen for Samsung Tab Active4 picture

RAM-GDS-SKIN-SAM54-NG-1 RAM Mounts IntelliSkin® Next Gen for Samsung Tab Active4

$93.99



Samsung 8GB DDR5 5600MHz SODIMM Laptop RAM PC5-44800 CL46 M425R1GB4BB0-CWM picture

Samsung 8GB DDR5 5600MHz SODIMM Laptop RAM PC5-44800 CL46 M425R1GB4BB0-CWM

$99.99



Samsung Galaxy Tab S7 FE 5G SM-T738U 12.4

Samsung Galaxy Tab S7 FE 5G SM-T738U 12.4" Tablet Gray 64GB T-Mobile CRACKED

$82.68



Samsung Galaxy Tab A 10.1

Samsung Galaxy Tab A 10.1" Tablet SM-T517P (Gray 32GB) Sprint CRACKED

$37.65