UberStudent Forums

Help and Community for Users of Uberstudent
Return to UberStudent Home Page
It is currently Tue Dec 11, 2018 7:54 pm

All times are UTC

UberStudent Logo Shirt
Hey! You can wear this UberCool UberStudent Logo Shirt

Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat Dec 13, 2014 9:36 pm 
UberStudent Forum Helper

Joined: Fri Oct 18, 2013 12:48 pm
Posts: 54
Location: University of South Florida, Tampa, FL
I'm trying to select a server other than us.archive.ubuntu.com using the Software Sources, but
  • the mirror I'm looking for (tr.archive.ubuntu.com) is not in the list
  • I choose another mirror, but as soon as I click OK and update the cache I see that all release information is still tried to be downloaded from us.archive.ubuntu.com, in my case it just hangs there for hours and finally times out.
thank you!

Berker Peköz
PhD Student in Electrical Engineering
University of South Florida at Tampa


Get an UberCool UberStudent Shirt!

UberStudent Logo Shirt
UberStudent Logo Shirt by uberstudent
See other Uberstudent T-Shirts
PostPosted: Sun Dec 14, 2014 3:22 am 
UberStudent Founder and Lead Developer
User avatar

Joined: Sun Nov 11, 2012 8:54 am
Posts: 958
Location: UberStudent Headquarters
The U.S.-based Ubuntu repos are by far the most powerful so they aren't normally a problem for anyone anywhere. That's why Ubuntu makes them default for everyone (except in the Chinese Ubuntu Krillin but that's another matter) and I follow suit. Distros like Linux Mint do too.

There very much should be a more elegant way to do this in UberStudent (as well as Linux Mint from whom I forked the Update Manager), and I promise to work on that. But here's how to right now change your Ubuntu sources to the mirror in Turkey.

Just manually edit the relevant apt file(s). Two minutes, start to finish. Ready? Go!

sudo leafpad /etc/apt/sources.list.d/official-package-repositories.list

Where the domain prefix says us, replace it with tr.

If there is a sub-domain, e.g., security.ubuntu.com, follow this pattern of just adding the domain pre-prefix: e.g., if security.ubuntu.com, change it to tr.security.ubuntu.com, and so forth according to the pattern.

Leave all non-Ubuntu domains alone.

If I truly must in the future overwrite the file to fix something (very unlikely at this point), you'll need to re-do this; but the scripts will make a backup for you in that case.

If you want the source codes available to you via apt-get source, repeat the same above steps for official-source-repositories.list:

sudo leafpad /etc/apt/sources.list.d/official-source-repositories.list

Then just click "Update" in the Update Manager or in a terminal run:

sudo apt-get update

Done. Now your system will use the Ubuntu mirrors in Turkey you mentioned.

FYI, some Ubuntu mirrors may lag behind in hosting updates.

UberStudent Must Become Self-Sustaining. If UberStudent and my dedicated support of it has benefited you, it's important to make a donation. Thanks!

The UberStudent Headquarters:
    * Mobo: MSI 870-G45
    * Processor: AMD Phenom II X4 3.4GHz
    * RAM: G.SKILL 8GB DDR3 1600
    * Graphics: MSI NVIDIA GeForce GTX 750 Ti
    * Drive: OCZ Vertex SSD
    * Case: Rosewill ATX Mid Tower
    * Monitors: 2 x Dell UltraSharp
    * With UberStudent 4.3 Development Build
You should build your own computers, too!

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Click Here to Get Inexpensive UberStudent Discs

Click here to get UberStudent discs delivered to your mailbox
Delivered Directly to Your Mailbox!

All times are UTC

Who is online

Users browsing this forum: No registered users and 4 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group