Mins / TuxLite

A complete LAMP and LNMP setup script for Debian or Ubuntu
http://tuxlite.com
253 stars 112 forks source link

CONFIGURE_APT default setting #28

Closed betweenbrain closed 10 years ago

betweenbrain commented 11 years ago

I've been finding that the Ubuntu mirrors are not always reliable and can be problematic. For instance, the mirrors for my home are rock solid, but the mirrors for my VPS are unreliable at best, and non-responsive at times. It took me some time to figure this out as the default setting of CONFIGURE_APT is yes.

My thought is that it may be best is to change this default setting to no and provide a note as to their potential unreliability when changing it to yes.

On a related note, have you considered using the Amazon S3 mirrors instead? (http://cloud.ubuntu.com/2012/01/regional-s3-backed-ec2-mirrors-available-for-testing/ http://askubuntu.com/questions/37753/how-can-i-get-apt-to-use-a-mirror-close-to-me-or-choose-a-faster-mirror/125252#125252)

Mins commented 11 years ago

A few other users have commented on this issue as well. Seems like Ubuntu's geolocation implementation is somewhat lacking compared to the more reliable Debian HTTP redirector.

The S3 mirrors are probably OK but it will require manual user input.

Another "automatic" way to do it would to use Debian's netselect, but that package isn't in Ubuntu's repositories http://askubuntu.com/questions/39922/how-do-you-select-the-fastest-mirror-from-the-command-line/141536#141536

For now it might be best to go with your suggestion and have it default to "no"

codeeditor commented 10 years ago

Agree. I mentioned it already before. Best setting is to CONFIGURE_APT=no since every sysadmin usually will customize sources.list individually to meet project requirements. I doubt that problem with Ubuntu repositories exist on repositories side. I think this is a bad network connection somewhere between the server network provider and the server repositories. Not every mirror works everywhere the same. @betweenbrain If your VPS server location is in Europe try to use OVH mirrors https://launchpad.net/ubuntu/+mirror/ovh-archive which are pretty good. Best regards and big thanks to @Mins for great Tuxlite!

Mins commented 10 years ago

Sorry this has taken so long but the it now defaults to "no" as suggested!

betweenbrain commented 10 years ago

Thanks!