【问题标题】:Installing Docker on Arch Linux - 404 error from url在 Arch Linux 上安装 Docker - 来自 url 的 404 错误
【发布时间】:2019-08-27 02:23:50
【问题描述】:

我可能在这里错过了一些明显的东西,但无论如何......我正在尝试在 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.

非常欢迎任何线索。 提前致谢!

【问题讨论】:

    标签: docker installation archlinux


    【解决方案1】:

    修复它。

    我需要:

    sudo Pacman -Syy docker
    

    首先更新存储库。 哎呀。

    【讨论】:

      【解决方案2】:

      我也面临同样的问题。我解决了它使用

      sudo pacman -Syy docker 
      

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

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

      【讨论】:

        猜你喜欢
        • 2020-04-03
        • 2019-02-16
        • 2014-08-02
        • 1970-01-01
        • 2018-04-05
        • 2017-12-23
        • 2020-01-13
        • 2012-11-06
        • 1970-01-01
        相关资源
        最近更新 更多