public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCH liburing] github: Fix LLVM packages conflict
@ 2023-08-01  1:04 Ammar Faizi
  2023-08-01  1:10 ` Jens Axboe
  2023-08-01  1:11 ` Jens Axboe
  0 siblings, 2 replies; 3+ messages in thread
From: Ammar Faizi @ 2023-08-01  1:04 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Ammar Faizi, Nicholas Rosenberg, io-uring Mailing List,
	GNU/Weeb Mailing List

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.

Link: https://github.com/llvm/llvm-project/issues/64182#issuecomment-1658085767
Signed-off-by: Ammar Faizi <[email protected]>
---
 .github/workflows/build.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 8dd22dfd125692de..895599f160e80304 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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
-- 
Ammar Faizi


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH liburing] github: Fix LLVM packages conflict
  2023-08-01  1:04 [PATCH liburing] github: Fix LLVM packages conflict Ammar Faizi
@ 2023-08-01  1:10 ` Jens Axboe
  2023-08-01  1:11 ` Jens Axboe
  1 sibling, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2023-08-01  1:10 UTC (permalink / raw)
  To: Ammar Faizi
  Cc: Nicholas Rosenberg, io-uring Mailing List, GNU/Weeb Mailing List

On 7/31/23 7:04?PM, Ammar Faizi wrote:
> 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.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH liburing] github: Fix LLVM packages conflict
  2023-08-01  1:04 [PATCH liburing] github: Fix LLVM packages conflict Ammar Faizi
  2023-08-01  1:10 ` Jens Axboe
@ 2023-08-01  1:11 ` Jens Axboe
  1 sibling, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2023-08-01  1:11 UTC (permalink / raw)
  To: Ammar Faizi
  Cc: Nicholas Rosenberg, io-uring Mailing List, GNU/Weeb Mailing List


On Tue, 01 Aug 2023 08:04:34 +0700, Ammar Faizi wrote:
> 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,
-- 
Jens Axboe




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-01  1:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-01  1:04 [PATCH liburing] github: Fix LLVM packages conflict Ammar Faizi
2023-08-01  1:10 ` Jens Axboe
2023-08-01  1:11 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox