Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21
I get the attached output for an apt-get update I know those locations exist. I can download the files from there when doing it with a webbrowser. I have web ...
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Posts
    12

    apt-get doesn't update

    I get the attached output for an apt-get update

    I know those locations exist. I can download the files from there when doing it with a webbrowser.
    I have web access from that computer. I even was able to wget files from that repo.
    I triple-checked the firewall, and as the example before also shows. this can hardly be the reason.
    My final guess was that something else with the syntax in that file is wrong but a different computer with this file works just fine.

    So please someone tell me what is going on. Is it possible that apt-get needs to have a weird port opened up apart from 80?

    Code:
    apt-get update
    Err http://non-us.debian.org stable/non-US/main Packages
      404 Not Found
    Ign http://non-us.debian.org stable/non-US/main Release
    Err http://non-us.debian.org stable/non-US/contrib Packages
      404 Not Found
    Ign http://non-us.debian.org stable/non-US/contrib Release
    Err http://non-us.debian.org stable/non-US/non-free Packages
      404 Not Found
    Err http://security.debian.org stable/updates/main Packages
      404 Not Found
    Ign http://security.debian.org stable/updates/main Release
    Err http://security.debian.org stable/updates/contrib Packages
      404 Not Found
    Ign http://security.debian.org stable/updates/contrib Release
    Err http://security.debian.org stable/updates/non-free Packages
      404 Not Found
    Ign http://security.debian.org stable/updates/non-free Release
    Ign http://non-us.debian.org stable/non-US/non-free Release
    Err http://http.us.debian.org stable/main Packages
      404 Not Found
    Ign http://http.us.debian.org stable/main Release
    Err http://http.us.debian.org stable/contrib Packages
      404 Not Found
    Ign http://http.us.debian.org stable/contrib Release
    Err http://http.us.debian.org stable/non-free Packages
      404 Not Found
    Ign http://http.us.debian.org stable/non-free Release
    Failed to fetch http://http.us.debian.org/debian/dists/stable/main/binary-i386/Packages  404 Not Found
    Failed to fetch http://http.us.debian.org/debian/dists/stable/contrib/binary-i386/Packages  404 Not Found
    Failed to fetch http://http.us.debian.org/debian/dists/stable/non-free/binary-i386/Packages  404 Not Found
    Failed to fetch http://non-us.debian.org/debian-non-US/dists/stable/non-US/main/binary-i386/Packages  404 Not Found
    Failed to fetch http://non-us.debian.org/debian-non-US/dists/stable/non-US/contrib/binary-i386/Packages  404 Not Found
    Failed to fetch http://non-us.debian.org/debian-non-US/dists/stable/non-US/non-free/binary-i386/Packages  404 Not Found
    Failed to fetch http://security.debian.org/dists/stable/updates/main/binary-i386/Packages  404 Not Found
    Failed to fetch http://security.debian.org/dists/stable/updates/contrib/binary-i386/Packages  404 Not Found
    Failed to fetch http://security.debian.org/dists/stable/updates/non-free/binary-i386/Packages  404 Not Found
    Reading Package Lists... Done
    Building Dependency Tree... Done
    W: Couldn't stat source package list http://http.us.debian.org stable/main Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_stable_main_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://http.us.debian.org stable/contrib Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_stable_contrib_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://http.us.debian.org stable/non-free Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_stable_non-free_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://non-us.debian.org stable/non-US/main Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://non-us.debian.org stable/non-US/contrib Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_contrib_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://non-us.debian.org stable/non-US/non-free Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_non-free_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://security.debian.org stable/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_stable_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://security.debian.org stable/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_stable_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://security.debian.org stable/updates/non-free Packages (/var/lib/apt/lists/security.debian.org_dists_stable_updates_non-free_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.

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,343
    It seems like the mirror could be down. Try again later or change your mirrors.

  3. #3
    Just Joined!
    Join Date
    Apr 2008
    Posts
    12

    Unfortunately not

    Thanks for the reply. It works at the same time but from a different computer. Any other ideas?

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Whats the output of this:
    Code:
    ping google.com
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Apr 2008
    Posts
    12
    Code:
    ping -c 3 www.google.de
    PING www.l.google.com (209.85.137.104): 56 data bytes
    64 bytes from 209.85.137.104: icmp_seq=0 ttl=240 time=17.8 ms
    64 bytes from 209.85.137.104: icmp_seq=1 ttl=240 time=16.8 ms
    64 bytes from 209.85.137.104: icmp_seq=2 ttl=240 time=17.9 ms
    
    --- www.l.google.com ping statistics ---
    3 packets transmitted, 3 packets received, 0% packet loss
    round-trip min/avg/max = 16.8/17.5/17.9 ms
    and wget works as well. If i wget some random site even the ones mentioned in the output above i can download them. This is a problem only with apt-get it seems.

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Post the contents of /etc/apt/sources.list file here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined!
    Join Date
    Apr 2008
    Posts
    12
    cat /etc/apt/sources.list
    deb Index of /debian sarge main non-free contrib
    deb-src Index of /debian sarge main non-free contrib
    deb Index of /debian-non-US sarge/non-US main contrib non-free
    deb-src Index of /debian-non-US sarge/non-US main contrib non-free

    deb Debian -- Security Information sarge/updates main contrib non-free

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Thats a correct file. Whats the output of this :
    Code:
    su -
    apt-get clean all
    apt-get update
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Just Joined!
    Join Date
    Apr 2008
    Posts
    12
    That seems to have helped. Thank you very much.

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Glad to help you !
    Do start a new thread if you have any other question.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 3 1 2 3 LastLast

Posting Permissions

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