Thulinma / kalu

Keep Arch Linux Up-to-date -- an upgrade notifier for Arch Linux
Other
13 stars 1 forks source link

Dependency conflict with pacman 7.0.0 #9

Open h-b opened 3 weeks ago

h-b commented 3 weeks ago

I encountered a dependency issue when attempting to perform a full system upgrade, including AUR packages. The upgrade fails due to kalu's depends on pacman, which currently conflicts with the newly released version 7.0.0. Here is the relevant error message:

error: failed to prepare transaction (could not satisfy dependencies)
:: installing pacman (7.0.0.r3.g7736133-1) breaks dependency 'pacman<6.2' required by kalu

It seems that kalu 4.5.2 has a strict dependency on pacman <6.2, while the current version of pacman in the repositories is 7.0.0. As a result, kalu cannot be updated or used alongside the latest pacman.

The current depends in the PKGBUILD is:

depends=('dbus' 'polkit' 'gtk3' 'pacman>=6.1' 'pacman<6.2' 'curl' 'libnotify' 'notification-daemon')

Is there any chance for an update to support pacman 7.x, or perhaps relaxing the pacman version constraint?

Steps to reproduce:

Thank you for maintaining kalu! It's a very useful tool.

h-b commented 3 weeks ago

I initially overlooked the fact that the PKGBUILD belongs to the AUR package, not this GitHub repository – just an oversight. I saw the comments on the AUR page suggesting it may just need a rebuild under pacman 7.0. I assume it’s more about adjusting the dependencies. Since you're the maintainer of both the AUR package and this repo, I'll leave this issue open in case code changes are needed here as well. Thanks for addressing this, and apologies for the confusion.

h-b commented 2 weeks ago

Thanks for the update of kalu. Unfortunately, after updating to version 4.5.2-2, it does not start on my system:

❯ kalu            
kalu: error while loading shared libraries: libalpm.so.14: cannot open shared object file: No such file or directory

❯ pacman --version

 .--.                  Pacman v7.0.0 - libalpm v15.0.0
/ _.-' .-.  .-.  .-.   Copyright (C) 2006-2024 Pacman Development Team
\  '-. '-'  '-'  '-'   Copyright (C) 2002-2006 Judd Vinet
 '--'
                       This program may be freely redistributed under
                       the terms of the GNU General Public License.

❯ pacman -Ql pacman | grep libalpm.so
pacman /usr/lib/libalpm.so
pacman /usr/lib/libalpm.so.15
pacman /usr/lib/libalpm.so.15.0.0

❯ pkgfile libalpm.so.14              
core/pacman