You are not logged in.
When I try to update the system I get this error:
error: failed to commit transaction (conflicting files)
bluez-utils: /usr/bin/gatttool exists in filesystem
Errors occurred, no packages were upgraded.I found this bug report: https://bugs.archlinux.org/task/41661 but it's now closed. The details said --force is safe while one commenter said it's not safe. What is the proper action here? Can I just ignore the bluez-utils package temporarily or just rename the gatttool and remove it later after upgrade?
Last edited by lonemangx (2014-08-29 15:03:12)
Offline
As explained in the bug report, it is an issue with the bluez4 package. Either update it or remove it.
Offline
It is "not safe" because a package already owns the file. Two packages should not own the same file.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Ok just updated it by removing the conflicting file.
Offline
Ok just updated it by removing the conflicting file.
Which is exactly the same as using --force... You should have updated bluez4 as I told you, now your pacman database is broken.
Offline
Which is exactly the same as using --force... You should have updated bluez4 as I told you, now your pacman database is broken.
I didn't know you mean that. I am confused because bluez4 is in the AUR, which I don't remember installing from there and then it owns a file on my system. So I should be installing bluez4 from the AUR instead?
Offline
Then you probably have it as leftover from when it was in [extra]. In that case, uninstall it and reinstall bluez-utils to fix the pacman db.
Offline
Ok, got it. Thanks for the help.
Offline
I uninstalled bluez4 and did
pacman -Syu bluezand it's all good. Not sure if I needed to uninstall bluez4 first or not.
D:
Offline