Could not satisfy dependencies for libsysprof-capture expat

hi all,

I am stuck on this
Any ideas ?

╰──$ sudo pacman -Syu
:: Synchronising package databases...
 core is up to date
 archlinuxfr is up to date
:: Starting full system upgrade...
resolving dependencies...
warning: cannot resolve "libsysprof-capture", a dependency of "glib2"
:: The following package cannot be upgraded due to unresolvable dependencies:

:: Do you want to skip the above package for this upgrade? [y/N] y
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing expat (2.4.3-1) breaks dependency 'expat=2.4.2' required by lib32-expat   

sync pacman first,

$pacman -Sy


$pacman -Ss libsysprof-capture
$pacman -Ss lib32-expat
$pacman -Ss expat

What is this archlinuxfr and why don’t you have the other repos extra and community (and possibly multilib)?
I have both these packages installed but haven’t had any update issues so please use the official repos, see Unofficial user repositories - ArchWiki.

Warning: The official Arch Linux Developers and the Trusted Users do not perform tests of any sort to verify the contents of these repositories. It is your decision whether to trust their maintainers, and you take full responsibility for any consequences of using any unofficial repository.

You should be able to just remove both expat and lib32-expat, use this with CAUTION and check what’s actually being removed, copy the list of what is removed and save it to a text file so you can reinstall later.

pacman -Rnsc expat lib32-expat

Now update and install the packages you copied earlier

pacman -Syyu
pacman -S <PACKAGES>
1 Like

I think I have messed up my pacman.conf,
last week had a different issue with pacman and versions it pulls. :frowning:

Am I right to believe these are the lines I am missing ?

SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

My pacman.conf (minus all the comments and AL stuff) contains

HoldPkg = pacman glibc
Architecture = auto
ParallelDownloads = 5


SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional

Include = /etc/pacman.d/mirrorlist

Include = /etc/pacman.d/mirrorlist

Include = /etc/pacman.d/mirrorlist

Include = /etc/pacman.d/mirrorlist

1 Like

To answer your previous questions about

SigLevel = Never
Server =$arch


I think my confusion was that if all the repos are pointing to the mirrorlist than why shall I have all, I couldn’t quite understand that is not the case ( still don’t but things work better :smiley: :smiley: )

Is the title [core] etc used in the mirrorlist URL ?

Yes, the mirrors are defined like this

Server =$repo/os/$arch

Where $repo is something like core, extra, community, archlabs, etc. The $arch is the machine architecture, usually x86_64 or any since arch dropped 32bit support.

1 Like

is there a way I can find a list or $repo not that I need it for a reason, but out of curiosity

Sorry I don’t really understand what you mean.

A list of repos?

Aside from official ones the sky’s the limit, most arch-based distros have their own and users can also have/add their own.

my mistake, I didn’t explain it correctly

you see how you have core, extra, multilib etc.
is there a list of those ? ot its standard names ( core, extra, multilib etc )

Officially there are only the four. There are also testing ones and some specific to DE testing, see the official repo link above.

1 Like

got you,
I might need to read a bit more about it :slight_smile:

The two links I posted above give a good explanation and are pretty concise.

1 Like