尝试安装时无法获取 curl,404 未找到

尝试安装时无法获取 curl,404 未找到

尝试将装有 Windows 10 的 Chromebox 恢复为 ChromeOS,使用实时启动的 Ubuntu 运行自定义脚本来更新固件。基本上,为了运行此命令:

cd ~; curl -L -Ohttp://mrchromebox.tech/firmware-util.sh; sudo bash 固件实用程序.sh

我必须安装 curl,因此我尝试从终端安装 curl,但这是我收到的错误消息:

ubuntu@ubuntu:~$ sudo apt install curl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
 libcurl4
The following NEW packages will be installed:
 curl libcurl4
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 373 kB of archives.
After this operation, 1036 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Ign:1 http://security.ubuntu.com/ubuntu bionic-security/main amd64 libcurl4 amd64 7.58.0-2ubuntu3.6
Err:1 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 libcurl4 amd64 7.58.0-2ubuntu3.6 404  Not Found [IP: 91.189.88.24 80]
Ign:2 http://security.ubuntu.com/ubuntu bionic-security/main amd64 curl amd64 7.58.0-2ubuntu3.6
Err:2 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 curl amd64 7.58.0-2ubuntu3.6 404  Not Found [IP: 91.189.88.24 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/c/curl/libcurl4_7.58.0-2ubuntu3.6_amd64.deb  404  Not Found [IP: 91.189.88.24 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/c/curl/curl_7.58.0-2ubuntu3.6_amd64.deb  404  Not Found [IP: 91.189.88.24 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

什么原因可能导致了这个问题,我该怎么做才能修复它以便可以运行第一个命令?

我对 Linux、Ubuntu 以及整个网站都很陌生,所以如果我的格式有任何错误或者我对某些内容的理解明显有错误,请告诉我。

答案1

运行以下命令对我来说很有效:

sudo apt-get update

相关内容