You are not logged in.

#1 2023-08-13 00:36:38

DifficultDerek
Member
Registered: 2020-05-20
Posts: 8

SOLVED failed to prepare transaction (could not satisfy dependencies)

$ sudo pacman -Syu
:: Synchronising package databases...
 core is up to date
 extra is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libjpeg-turbo (3.0.0-1) breaks dependency 'libjpeg-turbo=2.1.5.1' required by lib32-libjpeg-turbo

Hi there, I've got this error doing an update. I have looked around, and i see a similar error posted here: https://bbs.archlinux.org/viewtopic.php?id=283881 which also points to the Wiki https://wiki.archlinux.org/title/Offici … positories

My pacman.conf doesn't have any testing enabled:

#[core-testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

#[extra-testing]
#Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

#[multilib]
Include = /etc/pacman.d/mirrorlist

I don't think my system ever did, but i followed the advice posted on that thread via the Wiki tried

$ pacman -Syuu

But that didn't change the output, so i guess it couldn't revert anything.

I think that the solution is to remove something, but my brain can't figure out which, or if that's even right. Do i manually remove

libjpeg-turbo=2.1.5.1

and

lib32-libjpeg-turbo

and then re-install

lib32-libjpeg-turbo

? I'm not sure what this software is used for - i don't think i selectively chose to install it, i gather it must be used by something else i use.

Thank you smile

Last edited by DifficultDerek (2023-08-13 05:12:15)

Offline

#2 2023-08-13 01:13:00

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: SOLVED failed to prepare transaction (could not satisfy dependencies)

You have packages installed from multilib, but you don't have multilib enabled. You either need to re-enable it (the include isn't enough) or uninstall everything you have installed from there.

Offline

#3 2023-08-13 05:09:59

DifficultDerek
Member
Registered: 2020-05-20
Posts: 8

Re: SOLVED failed to prepare transaction (could not satisfy dependencies)

omg.

I came to the right place! (Newbie Corner).

What an oversight. Thank you big_smile

For other noobs who might come here:

#[multilib]
Include = /etc/pacman.d/mirrorlist

Should be:

[multilib]
Include = /etc/pacman.d/mirrorlist

(remove the #)

Last edited by DifficultDerek (2023-08-13 05:11:28)

Offline

Board footer

Powered by FluxBB