1

I recently migrated to Ubuntu from Win 8.1 (Used to try Ubuntu sometime back but went away..).

After my initial install, the default server (mirror) selected for my Sri Lanka location was http://mirror.learn.ac.lk/ubuntu/. As of last night, the same is NOT working and the secondary mirror http:/archieve.ubuntu.schoolnet.lk/ubuntu was also down.

(Down = Returning 404 errors)

But as per the below link the LEARN mirror is still up - https://launchpad.net/ubuntu/+mirror/mirror.learn.ac.lk-archive

Can someone please explain this to me?

My internet connectivity is working fine as I'm able to download from the main server.

Melebius
  • 11,431
  • 9
  • 52
  • 78
Lakshitha129X
  • 61
  • 1
  • 8

3 Answers3

4

There is no http:/archieve.ubuntu.schoolnet.lk/ubuntu mirror for Sri Lanka in the list.

enter image description here

If you look at LEARN mirror, you can see that it is not maintained very well. Instead of acting as a package repository, that mirror just redirect you to the image download page of Ubuntu!

I suggest you use the main repo or the one for India.

Ron
  • 20,638
  • Dear Ron,

    Thanks a lot for the reply and clarification on LEARN.

    H/e when trying to set the mirror through the GUI , the LEARN mirror & SCHOOLNET mirrors both popup under Sri Lanka .

    And when I let the GUI tool to select the BEST mirror , It automatically picks the SCHOOLNET mirror.

    Anyways , I'm thinking of using the main server OR a closer server with a good link as my mirror.

    – Lakshitha129X Sep 04 '15 at 18:31
  • Use the main server or the next closest one. Also since you are a new user, If the above post helped you, do not forget to mark it as the answer to your question ;) – Ron Sep 04 '15 at 18:38
  • Dear Ron,

    Sure will do,

    If it's not too much trouble can you tell me why below mentioned mirror is not showing up on gui "Software & Updates" ??

    https://launchpad.net/ubuntu/+mirror/ubuntuarchive.hnsdc.com-archive

    – Lakshitha129X Sep 04 '15 at 18:41
  • There are specific requirements that must be met to become a country mirror. See https://wiki.ubuntu.com/Mirrors – Ron Sep 04 '15 at 18:46
  • Dear Ron,

    Unfortunately still BOTH the above mentioned mirrors are shown in my mirror list (GUI).

    H/e found a workaround :

    Manually edited the "source.list" file using "sudo nano /etc/apt/sources.list"

    https://launchpad.net/ubuntu/+mirror/mirror.cloud.id-archive

    – Lakshitha129X Sep 04 '15 at 19:13
4

If you are finding that BOTH above-mentioned mirrors are still showing in the mirror list after running apt-get update from main servers, you can always edit the sources.list using your favorite text editor, in my case nano. ;-)

sudo nano /etc/apt/sources.list

And replace the lines:

http://us.archive.ubuntu.com/ubuntu

With the URL of your preferred server. You can find the list of mirrors here:

https://launchpad.net/ubuntu/+archivemirrors

However, please make sure to navigate to the URL before using it as your preferred mirror, as there are instances where the domains are expired.

Once again thanks Ron for the pointers! :-D

Melebius
  • 11,431
  • 9
  • 52
  • 78
Lakshitha129X
  • 61
  • 1
  • 8
0

I also faced the same issue when updating for packages.Then I changed my local mirror to http://ftp.iitm.ac.in/ubuntu and now it's ok.

Go to System Settings -> Software & Updates -> Ubuntu Software tab - > select a Indian server to Download from drop down.

then do a apt-get update on Terminal.

Problem sloved. ps: it's really bad that Lankan mirror is not working.

  • Heyy... Tks for the reply. But the Indian servers too are a bit slow to update their rep from the main rep. So I ultimately settled for an Indonesian mirror.... It's lightening fast & always up to date :D – Lakshitha129X Oct 12 '15 at 08:04