Inconsistency in Repos
#1
Code:
$ sudo pacman -Syu
...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libffi (3.4.2-4) breaks dependency 'libffi.so=7-64' required by glib2
Code:
$ pacman -Qi glib2
Name            : glib2
Version         : 2.70.0-2
Description     : Low level core library
Architecture    : aarch64
URL             : https://wiki.gnome.org/Projects/GLib
Licenses        : LGPL
Groups          : None
Provides        : libgio-2.0.so=0-64  libglib-2.0.so=0-64  libgmodule-2.0.so=0-64  libgobject-2.0.so=0-64  libgthread-2.0.so=0-64
Depends On      : pcre  libffi  util-linux-libs  zlib  libmount.so=1-64  libffi.so=7-64

Code:
$ sudo pacman -Si libffi
Repository      : core
Name            : libffi
Version         : 3.4.2-4
Description     : Portable foreign function interface library
Architecture    : aarch64
URL             : https://sourceware.org/libffi/
Licenses        : MIT
Groups          : None
Provides        : libffi.so=8-64
  Reply
#2
I ran into the same issue. There was an update to the /etc/pacman.d/mirrorlst. Once I used the updated mirrorlist, this error went away.
  Reply
#3
(10-21-2021, 08:50 AM)mikehenson Wrote: I ran into the same issue. There was an update to the /etc/pacman.d/mirrorlst. Once I used the updated mirrorlist, this error went away.

May I please ask how you updated the mirrorlist? I am running into exactly the same issue at the moment.

The only thing I could think of after your post was to run "pacman-mirrors" to get a fresh list of mirrors. Unfortunately, that did not solve the issue.

I'm still getting this:

Code:
[xxx@manjaro-arm pacman.d]$ sudo pacman -Syu
:: Synchronizing package databases...
kde-unstable is up to date
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'libffi.so=7-64' required by glib2
[xxx@manjaro-arm pacman.d]$
  Reply
#4
"May I please ask how you updated the mirrorlist? I am running into exactly the same issue at the moment."

When pacman updates the mirrorlist, it will create 2 new files. 
(be careful, under Arch rolling release. There are more repositories in the pacman.conf that you will want to keep)


Code:
/etc/pacman.conf.pacnew
/etc/pacman.d/mirrorlist.pacnew

Copy them to

/etc/pacman.conf
/etc/pacman.d/mirrorlist

Then force an update of pacman

sudo pacman -Syyu
  Reply
#5
@mikehenson thanks a lot! I haven't been able to find the "new" package lists, but thanks to your post I just messed around with the mirror lists, updating them a couple of times, and now suddenly the system update seems to run smoothly.
Thanks!

Edit: to be exact, forcing an update with the extra "y" in sudo pacman -Syyu is probably what did the trick for me.
  Reply
#6
This issue originated from upstream Arch Linux ARM project, see: https://archlinuxarm.org/forum/viewtopic...15&t=15608

While this has been fixed (a few hours at the time of this reply), not all mirrors have synced up in time and they all should sync up very soon.
Find me in the forest, when I'm at my lowest. I don't really think you should continue..

HOLD YOUR BREATH.
  Reply
#7
(10-21-2021, 11:10 AM)Danct12 Wrote: This issue originated from upstream Arch Linux ARM project, see: https://archlinuxarm.org/forum/viewtopic...15&t=15608

While this has been fixed (a few hours at the time of this reply), not all mirrors have synced up in time and they all should sync up very soon.

Understood. It's working flawlessly again. Thanks a lot!
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)