小编Pan*_*eet的帖子

http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease 的发布文件尚未生效

我正在使用 Ansible 从主服务器在我的 Slave1 服务器上安装 Nginx 包(注意 - 主服务器和从服务器都有 Ubuntu 18.04,我在 Docker 容器中运行这些),但每次我运行 Ansible 命令来执行此操作时,低于错误。我被困在这里,有什么解决方案。请帮我调试这个问题。

root@afb19093484e:/# ansible Slave1 -m apt -a "name=nginx state=present"


172.17.0.3 | FAILED! => {
    "changed": false, 
    "cmd": "apt-get update", 
    "msg": "E: Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 3d 21h 33min 13s). Updates for this repository will not be applied.\nE: Release file for http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 3d 23h 23min 36s). Updates for this repository will not be …
Run Code Online (Sandbox Code Playgroud)

apt docker 18.04

1
推荐指数
1
解决办法
9728
查看次数

标签 统计

18.04 ×1

apt ×1

docker ×1