Ubuntu 20.04.2 LTS. Unable to fetch some archives
5,822
Your apt
list of repositories seem to be corrupted in file /etc/apt/sources.list
.
The repository az.archive.ubuntu.com
that you use is not the standard one
for Ubuntu.
To restore the source.list
file to its initial value, see Ask Ubuntu for
the answers in the post
How do I restore the default repositories?
This command recreates the file after removing it:
sudo touch /etc/apt/sources.list
Then open Software & Updates and restore the repositories.
For information about the format of this file, see the article Repositories/CommandLine.
Related videos on Youtube
Author by
vusalalala
Updated on September 18, 2022Comments
-
vusalalala over 1 year
I'm trying to install this
sudo apt-get install gitk git-gui
But code gives this error:
Err:1 http://az.archive.ubuntu.com/ubuntu focal/universe amd64 tcl amd64 8.6.9+1 403 Forbidden [IP: 94.20.20.125 80] Err:2 http://az.archive.ubuntu.com/ubuntu focal/universe amd64 tk amd64 8.6.9+1 403 Forbidden [IP: 94.20.20.125 80] E: Failed to fetch http://az.archive.ubuntu.com/ubuntu/pool/universe/t/tcltk-defaults/tcl_8.6.9+1_amd64.deb 403 Forbidden [IP: 94.20.20.125 80] E: Failed to fetch http://az.archive.ubuntu.com/ubuntu/pool/universe/t/tcltk-defaults/tk_8.6.9+1_amd64.deb 403 Forbidden [IP: 94.20.20.125 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
P.S: I've already tried
update
,upgrade
,update --fix-missing
commands. But nothing worked for me. -
vusalalala about 3 yearsThanks for the answer. You literally made my day!. Problem has been SOLVED.:))
-
gronostaj about 3 yearsWhat's wrong with
az.archive.ubuntu.com
? It looks like a standard mirror for Azerbaijan. Ubuntu usesXY.archive.ubuntu.com
format for mirrors. -
harrymc about 3 years@gronostaj: We can't know what went wrong with that repository, perhaps linked to that country just finishing fighting a war. The standard main repository worked, anyway.