Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

构建laradock时报错E: Unable to correct problems, you have held broken packages. #2974

Closed
mockingbird-io opened this issue May 21, 2021 · 7 comments
Labels
GFW Global Firewall

Comments

@mockingbird-io
Copy link

Description:

通过命令行执行 docker compose up -d nginx 进程终止报错 E: Unable to correct problems, you have held broken packages.

Docker version:

Client:
Cloud integration: 1.0.14
Version: 20.10.6
API version: 1.41
Go version: go1.16.3
Git commit: 370c289
Built: Fri Apr 9 22:49:36 2021
OS/Arch: windows/amd64
Context: default
Experimental: true

Server: Docker Engine - Community
Engine:
Version: 20.10.6
API version: 1.41 (minimum version 1.12)
Go version: go1.13.15
Git commit: 8728dd2
Built: Fri Apr 9 22:44:56 2021
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.4.4
GitCommit: 05f951a3781f4f2c1911b05e61c160e9c30eaa8e
runc:
Version: 1.0.0-rc93
GitCommit: 12644e614e25b05da6fd08a38ffa0cfe1903fdec
docker-init:
Version: 0.19.0
GitCommit: de40ad0

Steps to reproduce the issue:

1.docker compose up -d nginx
image

@chowjiawei
Copy link

我刚刚也也遇到了 弄了半天 你把中国镜像弄掉 false 不要用true 就可以了

@mockingbird-io
Copy link
Author

我刚刚也也遇到了 弄了半天 你把中国镜像弄掉 false 不要用true 就可以了

那需要挂VPN下载吗?

@chowjiawei
Copy link

可以不挂 我刚刚没有挂也成功了 如果还有问题就挂一个

@mockingbird-io
Copy link
Author

可以不挂 我刚刚没有挂也成功了 如果还有问题就挂一个

成功了 非常感谢!:)

@hugo-z
Copy link

hugo-z commented Jun 22, 2021

同样的问题,改成false,问题依旧

@chowjiawei
Copy link

网络问题,需要重试好几次,不行就等1小时,在多重试,看报错信息就可以看到你当前那个包无法获取

@bestlong bestlong added GFW Global Firewall and removed Type: Bug labels Jun 22, 2021
@yuhal
Copy link

yuhal commented Jul 7, 2021

成功了 非常感谢!:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GFW Global Firewall
Projects
None yet
Development

No branches or pull requests

5 participants