Why is 'apt-get update' getting stuck?
Hi,
Recently, after running 'sudo apt-get update', and entering my password, it stops on this: 0% [Connecting to us.archive.ubuntu.com (2001:67c:1562::16)] [Connecting to sec My only choice is to ctrl-c to stop the command. If I use the 'enter' key, the last number gets incremented. :confused: |
Update: I went back to the open terminal window and it showed this:
Ign http://extras.ubuntu.com trusty InRelease Hit http://extras.ubuntu.com trusty Release.gpg Hit http://extras.ubuntu.com trusty Release Hit http://extras.ubuntu.com trusty/main Sources Hit http://extras.ubuntu.com trusty/main amd64 Packages Hit http://extras.ubuntu.com trusty/main i386 Packages Ign http://extras.ubuntu.com trusty/main Translation-en_US Ign http://extras.ubuntu.com trusty/main Translation-en 62 [Connecting to us.archive.ubuntu.com (2001:67c:1562::14)] [Connecting to se It's like advancing or running very very slooow... |
It is entirely possible that an individual repository might be off-line, overloaded, or experiencing connectivity or hardware problems.
Not everything on the internet works all the time. Stuff happens. My hosting provider, who has been very reliable for the five years I've used it, guarantees only 99 per cent uptime. I have also noticed with my Mint box that one of the Ubuntu repos I can't say which one I just wait it out does tend to load more slowly than the others. Give it a couple of hours or overnight to clear up. |
It is trying IPv6 address. Are you on IPv6 network?
|
frankbell: I thought my provider was throttling my connection so I did a speedtest. The connection is still what I'm paying for, so I will just let it run its course as suggested. Thanks for the tip.
Emerson: I went ahead and setup IPv6 to 'ignore' in the wired connection, but even after that, the command output still shows an IPv6 address. Disabling IPv6 is one of the first things I did in Windows past. It slipped my mind when I converted full time to Linux. :) |
Update:
It finished after a while: Fetched 4,292 kB in 12min 12s (5,860 B/s) Reading package lists... Done Now I'm looking to see if it's a 'mirror' issue. Thanks guys. |
Cool beans.
|
Yep, mirror issue. I remembered back during install that it didn't ask for which mirrors to use, so it went with defaults. I switched it to a repo mirror local to my state and it's fast again. :cool:
|
All times are GMT -5. The time now is 07:29 PM. |