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

I have the same github workflow, but my build keep failing since last month,Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get install -y ... did not complete successfully: exit code: 100 #285

Open
Starryu opened this issue Aug 17, 2024 · 0 comments

Comments

@Starryu
Copy link

Starryu commented Aug 17, 2024

#7 [5/6] RUN apt-get update && apt-get install -y libelf-dev zlib1g-dev libbfd-dev clang-18 libclang-18-dev libclang-common-18-dev libclang1-18 llvm-18 llvm-18-dev llvm-18-runtime libllvm18 make cmake pkg-config rustc cargo rustfmt sudo && apt-get -y clean
#7 0.474 Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
#7 0.474 Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
#7 0.559 Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
#7 0.636 Get:4 https://apt.llvm.org/jammy llvm-toolchain-jammy-18 InRelease [6833 B]
#7 0.642 Hit:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
#7 0.876 Get:6 https://apt.llvm.org/jammy llvm-toolchain-jammy-18/main Sources [2047 B]
#7 0.893 Get:7 https://apt.llvm.org/jammy llvm-toolchain-jammy-18/main amd64 Packages [12.5 kB]
#7 0.962 Fetched 21.4 kB in 1s (32.0 kB/s)
#7 0.962 Reading package lists...
#7 1.659 W: http://apt.llvm.org/jammy/dists/llvm-toolchain-jammy-18/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
#7 1.696 Reading package lists...
#7 2.390 Building dependency tree...
#7 2.541 Reading state information...
#7 2.606 Some packages could not be installed. This may mean that you have
#7 2.606 requested an impossible situation or if you are using the unstable
#7 2.606 distribution that some required packages have not yet been created
#7 2.606 or been moved out of Incoming.
#7 2.606 The following information may help to resolve the situation:
#7 2.606
#7 2.606 The following packages have unmet dependencies:
#7 2.668 libllvm18 : Breaks: llvm-18-dev (< 1:18.1.8-4) but 1:18.1.8~++20240717051017+3b5b5c1ec4a3-1exp120240717171122.141 is to be installed
#7 2.673 E: Unable to correct problems, you have held broken packages.
#7 ERROR: process "/bin/sh -c apt-get update && apt-get install -y libelf-dev zlib1g-dev libbfd-dev clang-${LLVM_VERSION} libclang-${LLVM_VERSION}-dev libclang-common-${LLVM_VERSION}-dev libclang1-${LLVM_VERSION} llvm-${LLVM_VERSION} llvm-${LLVM_VERSION}-dev llvm-${LLVM_VERSION}-runtime libllvm${LLVM_VERSION} make cmake pkg-config rustc cargo rustfmt sudo && apt-get -y clean" did not complete successfully: exit code: 100

[5/6] RUN apt-get update && apt-get install -y libelf-dev zlib1g-dev libbfd-dev clang-18 libclang-18-dev libclang-common-18-dev libclang1-18 llvm-18 llvm-18-dev llvm-18-runtime libllvm18 make cmake pkg-config rustc cargo rustfmt sudo && apt-get -y clean:

2.606 Some packages could not be installed. This may mean that you have
2.606 requested an impossible situation or if you are using the unstable
2.606 distribution that some required packages have not yet been created
2.606 or been moved out of Incoming.
2.606 The following information may help to resolve the situation:
2.606
2.606 The following packages have unmet dependencies:
2.668 libllvm18 : Breaks: llvm-18-dev (< 1:18.1.8-4) but 1:18.1.8~++20240717051017+3b5b5c1ec4a3-1exp120240717171122.141 is to be installed
2.673 E: Unable to correct problems, you have held broken packages.

./.github/docker/Dockerfile.ubuntu:28

27 |
28 | >>> RUN apt-get update && apt-get install -y
29 | >>> libelf-dev
30 | >>> zlib1g-dev
31 | >>> libbfd-dev
32 | >>> clang-${LLVM_VERSION}
33 | >>> libclang-${LLVM_VERSION}-dev
34 | >>> libclang-common-${LLVM_VERSION}-dev
35 | >>> libclang1-${LLVM_VERSION}
36 | >>> llvm-${LLVM_VERSION}
37 | >>> llvm-${LLVM_VERSION}-dev
38 | >>> llvm-${LLVM_VERSION}-runtime
39 | >>> libllvm${LLVM_VERSION}
40 | >>> make cmake pkg-config
41 | >>> rustc cargo rustfmt
42 | >>> sudo
43 | >>> && apt-get -y clean
44 |

ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get install -y libelf-dev zlib1g-dev libbfd-dev clang-${LLVM_VERSION} libclang-${LLVM_VERSION}-dev libclang-common-${LLVM_VERSION}-dev libclang1-${LLVM_VERSION} llvm-${LLVM_VERSION} llvm-${LLVM_VERSION}-dev llvm-${LLVM_VERSION}-runtime libllvm${LLVM_VERSION} make cmake pkg-config rustc cargo rustfmt sudo && apt-get -y clean" did not complete successfully: exit code: 100
Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get install -y libelf-dev zlib1g-dev libbfd-dev clang-${LLVM_VERSION} libclang-${LLVM_VERSION}-dev libclang-common-${LLVM_VERSION}-dev libclang1-${LLVM_VERSION} llvm-${LLVM_VERSION} llvm-${LLVM_VERSION}-dev llvm-${LLVM_VERSION}-runtime libllvm${LLVM_VERSION} make cmake pkg-config rustc cargo rustfmt sudo && apt-get -y clean" did not complete successfully: exit code: 100

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

No branches or pull requests

1 participant