You are not logged in.

#1 2023-08-19 13:41:57

abject
Member
Registered: 2021-04-05
Posts: 15

[SOLVED] Can't remove libimobiledevice and usbmuxd

Hello,

I tried to connect an iPhone to my laptop. Reading the IOS wiki I installed libimobiledevice which comes with usbmuxd. After several tries I can't manage to connect with the Iphone device. So I decided to remove all packages installed for it that I will never use. Everything goes well untill I tried to remove the libimobiledevice package itself. Pacman return an error of dependencies:

$ sudo pacman -Rns libimobiledevice
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing libimobiledevice breaks dependency 'libimobiledevice' required by upower
:: removing libimobiledevice breaks dependency 'libimobiledevice' required by usbmuxd

I also tried to remove usbmuxd but I got the same:

sudo pacman -Rns usbmuxd
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing usbmuxd breaks dependency 'usbmuxd' required by upower

And I will not remove the upower package. I don't understand why the pacakge libimobiledevice package installed after upower depend on it and can't be removed?

Any clues to unlock this situation?

Last edited by abject (2023-08-28 07:02:55)

Offline

#2 2023-08-19 17:16:04

loqs
Member
Registered: 2014-03-06
Posts: 17,315

Re: [SOLVED] Can't remove libimobiledevice and usbmuxd

Check /var/log/pacman.log for when libimobiledevice and usbmuxd were first installed which I suspect was when upower was installed and explicitly installing then just reinstalled the already installed packages.  You could also check the install reason in the output of `pacman -Qi libimobiledevice usbmuxd `.

Offline

#3 2023-08-28 07:02:38

abject
Member
Registered: 2021-04-05
Posts: 15

Re: [SOLVED] Can't remove libimobiledevice and usbmuxd

Sorry for the delay. You are right, those package were first installed during the ArchOS installation on the computer and come as dependencies of upower. I didn't realize that pacman said me it was a reinstallation when I run the command.

So the conclusion is: I keep them installed as they come with upower and I'll not try to remove them anymore ;-).

Thanks for pointing me to the pacman log file.

Offline

Board footer

Powered by FluxBB