github: Fix LLVM packages conflict
PATCH 1/1 github: Fix LLVM packages conflict
Recently, the CI hits the following error:
The following packages have unmet dependencies:
python3-lldb-14 : Conflicts: python3-lldb-x.y
python3-lldb-17 : Conflicts: python3-lldb-x.y
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Fix this by removing preinstalled llvm 14 before installing llvm 17.
--- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+)
.github/workflows/build.yml +1 -0
@@ -106,6 +106,7 @@ jobs: run: | if [[ "${{matrix.cc_pkg}}" == "clang" ]]; then \ wget https://apt.llvm.org/llvm.sh -O /tmp/llvm.sh; \ + sudo apt-get purge --auto-remove llvm python3-lldb-14 llvm-14 -y; \ sudo bash /tmp/llvm.sh 17; \ sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-17 400; \ sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-17 400; \
base-commit: 12e697608d841dc33c360beb4753c5509187ef6f
Signature · 1 line
Ammar Faizi
Jens Axboe
maintainerQuoted 8 lines · Ammar Faizi
Recently, the CI hits the following error:
The following packages have unmet dependencies:
python3-lldb-14 : Conflicts: python3-lldb-x.y
python3-lldb-17 : Conflicts: python3-lldb-x.y
E: Error,pkgProblemResolver::Resolvegenerated breaks, this may be caused by held packages.Fix this by removing preinstalled llvm 14 before installing llvm 17.
Great thanks, was just looking at this today and was going to email you about it.
Signature · 1 line
Jens Axboe
Quoted 8 lines · Ammar Faizi
Recently, the CI hits the following error:
The following packages have unmet dependencies:
python3-lldb-14 : Conflicts: python3-lldb-x.y
python3-lldb-17 : Conflicts: python3-lldb-x.y
E: Error,pkgProblemResolver::Resolvegenerated breaks, this may be caused by held packages.[...]
Applied, thanks!
[1/1] github: Fix LLVM packages conflict
commit: e1e758ae8360521334399c2a6eace05fa518e218
Best regards,
Signature · 1 line
Jens Axboe