From 3ab346721f6f7592a5139969889c3107ca107ca7 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Tue, 17 Sep 2024 09:11:18 +0200 Subject: [PATCH] Fix The following packages have unmet dependencies: libllvm19 : Breaks: llvm-19-dev (< 1:19.1.0~++rc3-1~exp2) but 1:19.1.0~++20240910033111+327ca6c02f0d-1~exp1~20240910153233.33 is to be installed llvm-19-dev : Breaks: libllvm19 (< 1:19.1.0~++rc4-5) but 1:19.1.0~++20240910033111+327ca6c02f0d-1~exp1~20240910153233.33 is to be installed E: Unable to correct problems, you have held broken packages. --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 6d2f4498..7e4f0f3f 100755 --- a/debian/rules +++ b/debian/rules @@ -719,8 +719,8 @@ stamps/preconfigure: # workaround the breaks/replaces/conflicts introduced with the libc++ move # we update the version to make it work with apt.llvm.org # Yeah, this is ugly but I don't know how to do better - if test "$(LLVM_VERSION)" = "17"; then \ - sed -i -e "s|(<< 1:17.0.6-2)|(<< 1:17.0.6~++20231206041259)|g" debian/control; \ + if test "$(LLVM_VERSION)" = "19"; then \ + sed -i -e "s|(<< 1:19.1.0~++rc3-1~exp2)|(<< 1:19.1.0~++20240910033111)|g" debian/control; \ fi # llvm-spirv was found, so we can enable *.spv files. Debian