尝试安装 tlp 时出现 403 禁止错误

尝试安装 tlp 时出现 403 禁止错误

我刚刚安装了双启动的 ubuntu

一切似乎都很好。但后来我注意到电脑电池耗电很快。经过几次搜索,我找到了一个名为“tlp”的工具。但当我尝试安装时发生了错误。

我尝试了网上所有的方法,但都没有用

root@radjabov-Aspire-A315-55G:/home/radjabov# apt-get install tlp
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  ethtool tlp-rdw
Suggested packages:
  tp-smapi-dkms acpi-call-dkms smartmontools linux-tools-generic | linux-tools
The following NEW packages will be installed:
  ethtool tlp tlp-rdw
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 75,0 kB/209 kB of archives.
After this operation, 852 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Ign:1 http://az.archive.ubuntu.com/ubuntu focal/universe amd64 tlp all 1.3.1-2
Ign:2 http://az.archive.ubuntu.com/ubuntu focal/universe amd64 tlp-rdw all 1.3.1-2
Err:1 http://az.archive.ubuntu.com/ubuntu focal/universe amd64 tlp all 1.3.1-2
  403  Forbidden [IP: 94.20.20.125 80]
Err:2 http://az.archive.ubuntu.com/ubuntu focal/universe amd64 tlp-rdw all 1.3.1-2
  403  Forbidden [IP: 94.20.20.125 80]
E: Failed to fetch http://az.archive.ubuntu.com/ubuntu/pool/universe/t/tlp/tlp_1.3.1-2_all.deb  403  Forbidden [IP: 94.20.20.125 80]
E: Failed to fetch http://az.archive.ubuntu.com/ubuntu/pool/universe/t/tlp/tlp-rdw_1.3.1-2_all.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?

答案1

首先尝试

apt update --fix-missing

然后

apt update

相关内容