You are not logged in.

#1 2021-02-27 17:31:41

akjanik
Member
Registered: 2017-11-13
Posts: 23

[SOLVED] bluez-libs and bluez-git are in confli

When trying to `yay -Syu` I am getting message about two package conflicting each other. No `y` or `N` option works

adam@adam ~]$ yay -Syu
[sudo] password for adam: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 archlinuxfr is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
:: bluez-libs and bluez-git are in conflict. Remove bluez-git? [y/N] 
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: bluez-libs and bluez-git are in conflict
error installing repo packages
[adam@adam ~]$ yay -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 archlinuxfr is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
:: bluez-libs and bluez-git are in conflict. Remove bluez-git? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing bluez-git breaks dependency 'bluez' required by blueman
:: removing bluez-git breaks dependency 'bluez' required by pulseaudio-modules-bt-git
error installing repo packages

I found comment in bluez-git package
https://aur.archlinux.org/packages/bluez-git/
pointing to this commit
https://github.com/archlinux/svntogit-p … a59d21d870
Is this something I can do myself on my local machine? I don't know where to find this ` trunk/PKGBUILD` file

Any other way to solving this? I got feeling this may be related to package maintaining, shall I wait (can I check progress on this somewhere?).

Last edited by akjanik (2021-03-05 20:59:21)

Offline

#2 2021-02-27 18:34:36

loqs
Member
Registered: 2014-03-06
Posts: 18,754

Re: [SOLVED] bluez-libs and bluez-git are in confli

Try making the following change to the bluez-git PKGBUILD and see if you can then install it without the conflict.

git diff
diff --git a/PKGBUILD b/PKGBUILD
index 193fe85..502a041 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,7 +27,8 @@ provides=($_pkgname=${pkgver%%.r*}-${pkgrel}
          $_pkgname-libs=${pkgver%%.r*}-${pkgrel}
          $_pkgname-cups=${pkgver%%.r*}-${pkgrel}
          $_pkgname-hid2hci=${pkgver%%.r*}-${pkgrel}
-         $_pkgname-plugins=${pkgver%%.r*}-${pkgrel})
+         $_pkgname-plugins=${pkgver%%.r*}-${pkgrel}
+         'libbluetooth.so')
 backup=('etc/bluetooth/main.conf')
 source=("$pkgname::git://git.kernel.org/pub/scm/bluetooth/bluez.git"
        bluetooth.modprobe)

Offline

#3 2021-03-05 21:02:19

akjanik
Member
Registered: 2017-11-13
Posts: 23

Re: [SOLVED] bluez-libs and bluez-git are in confli

@loqs the problem is, I don't know where this file resides in my system.

I solved it by removing `bluez-git` (with -dd because some other packages were depending on it) - since it seems to be not maintaned anymore - and installing just `bluez`

yay -Rdd bluez-libs
...
yay -S bluez

Last edited by akjanik (2021-03-05 21:02:31)

Offline

Board footer

Powered by FluxBB