Public bug reported: apt-get doesn't validate servers, and/or has far to long timeout. Should seriously do some logic if server, index or other core files is unreachable.
E.g.: 1 ~$ sudo apt-get install gnome-common 2 Reading package lists... 3 Building dependency tree... 4 Reading state information... 5 The following extra packages will be installed: 6 autopoint 7 The following NEW packages will be installed: 8 autopoint gnome-common 9 0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded. 10 Need to get 621 kB of archives. 11 After this operation, 883 kB of additional disk space will be used. 12 Do you want to continue [Y/n]? 13 WARNING: The following packages cannot be authenticated! 14 autopoint gnome-common 15 Install these packages without verification [y/N]? y 16 ^CExit code: 130 Warning of line 13 is presumably because auth. can't be downloaded. Going to line 16 - here it hangs "forever". As there obviously is other mirrors - these are two bad and confusing faults. 1 $ apt-get source gnome-terminal 2 Reading package lists... Done 3 Building dependency tree 4 Reading state information... Done 5 NOTICE: 'gnome-terminal' packaging is maintained in the 'Bzr' version control system at: 6 http://code.launchpad.net/~ubuntu-desktop/gnome-terminal/ubuntu 7 Please use: 8 bzr branch http://code.launchpad.net/~ubuntu-desktop/gnome-terminal/ubuntu 9 to retrieve the latest (possibly unreleased) updates to the package. 10 Need to get 1,893 kB of source archives. 11 0% [Connecting to no.archive.ubuntu.com (130.239.18.138)] 12 ... 13 0% [Waiting for headers] Hangs on line 11, if you are lucky it enters line 13. Here is a complete halt. And: why does it say "Please use: bzr branch http://code.launchpad.net /~ubuntu-desktop/gnome-terminal/ubuntu" when it is a git repo at git://git.gnome.org/gnome-terminal? Further (not a bug per se, but still) - Why does it say "no.archive.ubuntu.com" when it is a Swedish server at the university of UmeƄ? $ dig no.archive.ubuntu.com ; <<>> DiG 9.8.1-P1 <<>> no.archive.ubuntu.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21573 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 4, ADDITIONAL: 0 ;; QUESTION SECTION: ;no.archive.ubuntu.com. IN A ;; ANSWER SECTION: no.archive.ubuntu.com. 141 IN CNAME ftp.acc.umu.se. ftp.acc.umu.se. 141 IN A 130.239.18.138 ftp.acc.umu.se. 141 IN A 130.239.18.137 ;; AUTHORITY SECTION: umu.se. 52338 IN NS sunic.sunet.se. umu.se. 52338 IN NS ns1.umu.se. umu.se. 52338 IN NS dns.norrnod.se. umu.se. 52338 IN NS ns2.umu.se. ;; Query time: 1 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Sat Jan 26 05:46:56 2013 ;; MSG SIZE rcvd: 187 ** Affects: apt (Ubuntu) Importance: Undecided Status: New ** Tags: apt apt-get mirrors -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1105873 Title: apt-get fails to check status of mirrors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1105873/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs