Share via


Unable to connect to azure.archive.ubuntu.com:http:

Question

Monday, July 14, 2014 2:35 PM | 1 vote

It seems that the azure mirrors are down when I try to apt-get.

How do I change it?

azureuser@zen-ci:/home/git$ sudo apt-get install git

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following extra packages will be installed:

  git-man liberror-perl

Suggested packages:

  git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk

  gitweb git-arch git-bzr git-cvs git-mediawiki git-svn

The following NEW packages will be installed:

  git git-man liberror-perl

0 upgraded, 3 newly installed, 0 to remove and 24 not upgraded.

Need to get 3,274 kB of archives.

After this operation, 21.6 MB of additional disk space will be used.

Do you want to continue? [Y/n] y

Err http://azure.archive.ubuntu.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1

  Could not connect to azure.archive.ubuntu.com:80 (168.62.36.156), connection timed out

Err http://azure.archive.ubuntu.com/ubuntu/ trusty/main git-man all 1:1.9.1-1

  Unable to connect to azure.archive.ubuntu.com:http:

Err http://azure.archive.ubuntu.com/ubuntu/ trusty/main git amd64 1:1.9.1-1

  Unable to connect to azure.archive.ubuntu.com:http:

E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libe/liberror-perl/liberror-perl_0.17-1.1_all.deb  Could not connect to azure.archive.ubuntu.com:80 (168.62.36.156), connection timed out

E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/g/git/git-man_1.9.1-1_all.deb  Unable to connect to azure.archive.ubuntu.com:http:

E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/g/git/git_1.9.1-1_amd64.deb  Unable to connect to azure.archive.ubuntu.com:http:

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

All replies (5)

Tuesday, July 15, 2014 11:59 AM ✅Answered

if I remember a similar issue, this is known at Ubuntu

http://askubuntu.com/questions/319433/making-mirror-mirrors-ubuntu-com-highly-available

You may try other mirrors - add these lines to the top of your sources.list:

deb mirror://mirrors.ubuntu.com/mirrors.txt precise main restricted universe multiverse

deb mirror://mirrors.ubuntu.com/mirrors.txt precise-updates main restricted universe multiverse

deb mirror://mirrors.ubuntu.com/mirrors.txt precise-backports main restricted universe multiverse

deb mirror://mirrors.ubuntu.com/mirrors.txt precise-security main restricted universe multiverse


Thursday, July 17, 2014 9:32 PM ✅Answered

Your absolutely right, I pasted the wrong URL and I was getting updates from both sources. Unfortunately, I have already changed my sources.list to a rebuilt another one and everything is working now. Not quite sure what happened in the first place. 


Tuesday, July 15, 2014 8:13 AM

Hi,
Would you please tell us which image you have chosen for that Ubuntu VM? Which region is that Azure VM in?
I ran “sudo apt-get install git” successfully in my Ubuntu VM with the account which was created when creating the VM.
Have you created any endpoint for port 80? You can try to ping azure.archive.ubuntu.com and run “apt-get update” to see if the issue persists.
Best regards,
Susie


Wednesday, July 16, 2014 9:40 PM

Even just a workaround is not really a fix for this issue. This too happened to us. 

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal/multiverse/binary-i386/Packages  404  Not Found [IP: 91.189.91.14 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal-updates/multiverse/source/Sources  404  Not Found [IP: 91.189.91.14 80]

Something just happened within the last 24-48 hrs that broke this functionality. All Endpoints have been allowed and the VM running is Ubuntu Server 12.04 LTS.

This VM is in the Northeast.

A look at the index via webpage yields no Quantal dist folder:

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


Thursday, July 17, 2014 8:04 AM

thanks,

Have you reported these issues to Ubuntu.com?

I'm not sure how Microsoft can help when getting a 404 on a http://us.archive.ubuntu.com :)