Skip to contentSkip to conversation

github: Fix LLVM packages conflict

PATCH Applied Ammar Faizi 2 participants 3 messages Aug 1, 2023 io_uring

lore
Share & tools
lore
#0 lore raw

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
index 8dd22dfd125692de..895599f160e80304 100644
@@ -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
maintainer
#1 lore raw
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::Resolve generated 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
maintainer Applied
#2 lore raw
In reply to Ammar Faizi
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::Resolve generated 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