You are not logged in.

#1 2014-08-28 10:54:28

lonemangx
Member
Registered: 2014-08-28
Posts: 4

[SOLVED] Cannot upgrade; conflicting files with bluez-utils

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

#2 2014-08-28 11:04:22

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,290

Re: [SOLVED] Cannot upgrade; conflicting files with bluez-utils

As explained in the bug report, it is an issue with the bluez4 package. Either update it or remove it.

Offline

#3 2014-08-28 12:56:10

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,548
Website

Re: [SOLVED] Cannot upgrade; conflicting files with bluez-utils

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

#4 2014-08-29 15:02:34

lonemangx
Member
Registered: 2014-08-28
Posts: 4

Re: [SOLVED] Cannot upgrade; conflicting files with bluez-utils

Ok just updated it by removing the conflicting file.

Offline

#5 2014-08-29 16:28:44

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,290

Re: [SOLVED] Cannot upgrade; conflicting files with bluez-utils

lonemangx wrote:

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

#6 2014-08-29 18:26:19

lonemangx
Member
Registered: 2014-08-28
Posts: 4

Re: [SOLVED] Cannot upgrade; conflicting files with bluez-utils

arojas wrote:

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

#7 2014-08-29 18:40:29

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,290

Re: [SOLVED] Cannot upgrade; conflicting files with bluez-utils

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

#8 2014-08-30 13:24:45

lonemangx
Member
Registered: 2014-08-28
Posts: 4

Re: [SOLVED] Cannot upgrade; conflicting files with bluez-utils

Ok, got it. Thanks for the help.

Offline

#9 2014-11-24 04:40:42

MisterAnderson
Member
Registered: 2011-09-04
Posts: 285

Re: [SOLVED] Cannot upgrade; conflicting files with bluez-utils

I uninstalled bluez4 and did

pacman -Syu bluez

and it's all good. Not sure if I needed to uninstall bluez4 first or not.


D:

Offline

Board footer

Powered by FluxBB