Trouble updating

This testing update breaks here:

sudo pacman -S pacman
Abhängigkeiten werden aufgelöst …
Nach in Konflikt stehenden Paketen wird gesucht …
Fehler: Vorgang konnte nicht vorbereitet werden (Kann Abhängigkeiten nicht erfüllen)
:: Installation von gpgme (2.0.0-1) verletzt Abhängigkeit »libgpgme.so=11-64«, benötigt von ostree

I have ostree installed as a dependecy of flatpak, which is needed for an app only available in this container format. The whole thing seems to break down at the new version of gpgme, which won’t install.

Kind regards

Stefan

That is not an update command (and why are you trying to install pacman? You already have it installed). You need to sync the local databases with the mirrors and do your update in one go:

sudo pacman -Syu

If that fails, please post the full output here. If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C sudo pacman -Syu

This will just cause the terminal output to be in English, making it easier to understand and debug.

4 Likes

This may be potentially informative;

Dieselbe Meldung hatte jemand anderes vor ein paar Tagen.

ach menno, Deine Fehlermeldung war auf deutsch, der Rest des Posts aber in englisch - ich hatte schon angefangen, auf deutsch zu antworten deshalb :grin:

Someone else encountered what appears to be the same problem a few days ago.

Usually I’d recommend removing ostree, as that is preventing the update.
It’ll take flatpak down along with it, but so be it - reinstall it after the update …

But it is a normal repo package and this should not have occurred.
And this is apparently not the way to the solution here.

What he ended up doing was refreshing the mirrors - something I do regularly anyway
sudo pacman-mirrors -c germany

But what somehow fixed it for him was removing pacman’s sync databases
sudo rm -R /var/lib/pacman/sync

link to that thread:

Kann das System nicht updaten, weil Abhängigkeiten verletzt werden - #7 by Nachlese

After that:
sudo pacman -Syu
and they are recreated

and apparently, the problem was fixed … however it came about in the first place :man_shrugging:

1 Like

Warning: When installing packages in Arch, avoid refreshing the package list without upgrading the system (for example, when a package is no longer found in the official repositories). In practice, do not run pacman -Sy package_name instead of pacman -Syu package_name , as this could lead to dependency issues. See System maintenance#Partial upgrades are unsupported and BBS#89328.
pacman - ArchWiki

You may have created a partial sync state by updating the metadata.

The command sudo pacman -S pacman may create a partial sync state.

Please use

sudo pacman -Syu <pkgname>

Also see this comment in [Unstable Update] June 2025 - #31 by Yochanan and the preceeding comment.

2 Likes

To avoid the thread being derailed:
13 posts were split to a new topic: Trouble Updating - side discussion