Unable to update the system

I am trying yo do a “pacman -Syyu” but I get the following error.

[root@desktop ~]# pacman -Syyu
:: Synchronising package databases...
 endeavouros              10.4 KiB  41.3 KiB/s 00:00 [----------------------------] 100%
 core                    226.0 KiB   504 KiB/s 00:00 [----------------------------] 100%
 extra                     9.6 MiB  8.79 MiB/s 00:01 [----------------------------] 100%
 alarm                    57.4 KiB   161 KiB/s 00:00 [----------------------------] 100%
 aur                      11.1 KiB  43.4 KiB/s 00:00 [----------------------------] 100%
:: Starting full system upgrade...
:: Replace p7zip with extra/7zip? [Y/n] Y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing gpgme (2.0.0-1) breaks dependency 'libgpgme.so=11-64' required by ostree
[root@desktop ~]# 

Any advice please.

In general, you should use pacman -Syu instead of pacman -Syyu. The latter simply wastes bandwifth on the mirrors.

As for issue, it looks like a partially updated mirror perhaps?

Try again, if it still fails, try resorting your mirrors.

1 Like

I have looked at the files in /usr/lib and I don’t have a libgpgme.so=11-64. All I have is.

/usr/lib/libgpgme.so
/usr/lib/libgpgme.so.11
/usr/lib/libgpgme.so.11.33.2

Yeah, that isn’t really the issue.

The issue is that it appears that the version of ostree in your mirror is built against a version of gpgme that is different than the one in the mirror at the time you tried to update.

I have fixed the problem. It was caused by having flatpak installed. I no longer have any flatpak apps so I uninstalled flatpack and ostree and the system will now update O,K,

a rule of thumb I live by is only use flatpak for programs you cannot get from native repo.
2 cents and good work.