在Arch Linux上安装Docker-网址404错误

时间:2019-04-05 08:13:06

标签: docker installation archlinux

我可能已经在这里错过了一些明显的东西,但是无论如何...我正在尝试在arch linux(manjaro)上安装docker。

sudo Pacman -S docker

给我以下内容:

resolving dependencies...
looking for conflicting packages...

Packages (4) bridge-utils-1.6-3  containerd-1.2.5-1  runc-1.0.0rc6-1  docker-1:18.09.3-1

Total Download Size:    36.72 MiB
Total Installed Size:  285.39 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
error: failed retrieving file 'runc-1.0.0rc6-1-x86_64.pkg.tar.xz' from mirror.tuchola-dc.pl : The requested URL returned error: 404
error: failed retrieving file 'runc-1.0.0rc6-1-x86_64.pkg.tar.xz' from mirror.inode.at : The requested URL returned error: 404
error: failed retrieving file 'runc-1.0.0rc6-1-x86_64.pkg.tar.xz' from ftp.nluug.nl : The requested URL returned error: 404
error: failed retrieving file 'runc-1.0.0rc6-1-x86_64.pkg.tar.xz' from linorg.usp.br : The requested URL returned error: 404
error: failed retrieving file 'runc-1.0.0rc6-1-x86_64.pkg.tar.xz' from ct.mirror.garr.it : The requested URL returned error: 404
error: failed retrieving file 'runc-1.0.0rc6-1-x86_64.pkg.tar.xz' from manjaro.dcc.uchile.cl : The requested URL returned error: 404
error: failed retrieving file 'runc-1.0.0rc6-1-x86_64.pkg.tar.xz' from mirrors.tuna.tsinghua.edu.cn : The requested URL returned error: 404
error: failed retrieving file 'runc-1.0.0rc6-1-x86_64.pkg.tar.xz' from mirror.0x.sg : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed retrieving file 'docker-1:18.09.3-1-x86_64.pkg.tar.xz' from mirror.tuchola-dc.pl : The requested URL returned error: 404
error: failed retrieving file 'docker-1:18.09.3-1-x86_64.pkg.tar.xz' from mirror.inode.at : The requested URL returned error: 404
error: failed retrieving file 'docker-1:18.09.3-1-x86_64.pkg.tar.xz' from ftp.nluug.nl : The requested URL returned error: 404
error: failed retrieving file 'docker-1:18.09.3-1-x86_64.pkg.tar.xz' from linorg.usp.br : The requested URL returned error: 404
error: failed retrieving file 'docker-1:18.09.3-1-x86_64.pkg.tar.xz' from ct.mirror.garr.it : The requested URL returned error: 404
error: failed retrieving file 'docker-1:18.09.3-1-x86_64.pkg.tar.xz' from manjaro.dcc.uchile.cl : The requested URL returned error: 404
error: failed retrieving file 'docker-1:18.09.3-1-x86_64.pkg.tar.xz' from mirrors.tuna.tsinghua.edu.cn : The requested URL returned error: 404
error: failed retrieving file 'docker-1:18.09.3-1-x86_64.pkg.tar.xz' from mirror.0x.sg : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

任何线索都将受到欢迎。 预先感谢!

2 个答案:

答案 0 :(得分:0)

解决了。

我需要:

sudo Pacman -Syy docker

首先更新存储库。 糟糕!

答案 1 :(得分:0)

我也遇到了同样的问题。我使用

解决了它
sudo pacman -Syy docker 

该文件不存在,因为您正在尝试从旧版本获取它。所以你需要刷新它们。

-ypacman.conf(5) 中定义的服务器下载主软件包数据库的新副本。这通常应该在您每次使用 --sysupgrade-u 时使用。传递两个 --refresh-y 标志将强制刷新所有包数据库,即使它们看起来是最新的。