I'm trying to install this sudo apt-get install gitk git-gui
But code gives this error:
Err:1 focal/universe amd64 tcl amd64 8.6.9+1 403 Forbidden [IP: 94.20.20.125 80]
Err:2 focal/universe amd64 tk amd64 8.6.9+1 403 Forbidden [IP: 94.20.20.125 80]
E: Failed to fetch 403 Forbidden [IP: 94.20.20.125 80]
E: Failed to fetch 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.
1 Answer
Your aptlist 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.listThen open Software & Updates and restore the repositories.
For information about the format of this file, see the articleRepositories/CommandLine.
3