Err:1 http://us.archive.ubuntu.com/ubuntu zesty-updates/main amd64 libqt5test5 amd64 5.7.1+dfsg-2ubuntu4~1.17.04.1
403 Forbidden [IP: 91.189.91.26 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/q/qtbase-opensource-src/libqt5test5_5.7.1+dfsg-2ubuntu4~1.17.04.1_amd64.deb 403 Forbidden [IP: 91.189.91.26 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
- 30,621
- 1,139
2 Answers
Yesterday I experienced the same problem with the bg. mirror on my 2 computers with Ubuntu. I tried to open http://bg.archive.ubuntu.com from the browser and received an error. Then I tried http://archive.ubuntu.com and I saw it's working.
So the solution was temporary switching from the local repository bg.archive.ubuntu.com to the central repository archive.ubuntu.com by editing of the file /etc/apt/sources.list. You can do this from the command line by using sed command in this way:
sudo sed 's/bg.archive.ubuntu.com/archive.ubuntu.com/g' /etc/apt/sources.list -i.bak
Later you can restore the original state by the command:
sudo mv /etc/apt/sources.list.bak /etc/apt/sources.list
- 30,621
I have gotten that problem before and it was the Firewall/Content Filtering appliance that was blocking access to some of my repo addresses. Not sure if that is a possibility for you.
I whitelisted my linux host on the Firewall/Content Filtering appliance so that it would have unrestricted access outbound.
- 3,012
- 147
- 1
- 3