Ubuntu 22.04.3 LTS 无法获取所有 249.11.3 的 systemd-hwe-hwdb

Ubuntu 22.04.3 LTS 无法获取所有 249.11.3 的 systemd-hwe-hwdb

尝试在 Ubuntu 22.04.3 LTS 上安装 Chrome 时出现错误。

错误:

The following NEW packages will be installed:
  fonts-liberation google-chrome-stable libgbm1 libu2f-udev libwayland-server0
  systemd-hwe-hwdb udev
0 upgraded, 7 newly installed, 0 to remove and 17 not upgraded.
Need to get 2,453 kB/107 MB of archives.
After this operation, 351 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 fonts-liberation all 1:1.07.4-11 [822 kB]
Get:2 /tmp/google-chrome-stable_current_amd64.deb google-chrome-stable amd64 120.0.6099.109-1 [105 MB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libwayland-server0 amd64 1.20.0-1ubuntu0.1 [34.3 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgbm1 amd64 23.0.4-0ubuntu1~22.04.1 [33.1 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 udev amd64 249.11-0ubuntu3.11 [1,557 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy/main amd64 libu2f-udev all 1.1.10-3build2 [4,190 B]
Err:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 systemd-hwe-hwdb all 249.11.3
  404  Not Found [IP: 185.125.190.36 80]
Fetched 2,450 kB in 3s (712 kB/s)

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd-hwe/systemd-hwe-hwdb_249.11.3_all.deb  404  Not Found [IP: 185.125.190.36 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

复制:

sudo apt-get update
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -P /tmp
sudo apt-get install -y /tmp/google-chrome-stable_current_amd64.deb

systemd-hwe-hwdb_249.11.3_all.deb当不存在此问题时,如何修复?

答案1

我根据@Terrance 的建议解决了我的问题。

我替换archive.ubuntu.comus.archive.ubuntu.com。 并替换apt-getapt

sudo sed -i 's|http://archive.ubuntu.com/ubuntu/ jammy-updates|http://us.archive.ubuntu.com/ubuntu/ jammy-updates|g' /etc/apt/sources.list

sudo apt -y update

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -P /tmp

sudo apt install -y /tmp/google-chrome-stable_current_amd64.deb

相关内容