我正在尝试安装这个sudo apt-get install gitk git-gui
但是代码给出了这个错误:
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?
PS:我已经尝试过update
, upgrade
,update --fix-missing
命令。但没有什么对我有用。
您
apt
的存储库列表在 file 中似乎已损坏/etc/apt/sources.list
。您使用的存储库az.archive.ubuntu.com
不是 Ubuntu 的标准存储库。要将
source.list
文件恢复为其初始值,请参阅如何恢复默认存储库?
此命令在删除文件后重新创建文件:
然后打开软件和更新并恢复存储库。
有关此文件格式的信息,请参阅文章 Repositories/CommandLine。