PINE64
Inconsistency in Repos - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Arch Linux on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=159)
+---- Thread: Inconsistency in Repos (/showthread.php?tid=15151)



Inconsistency in Repos - AndyM - 10-21-2021

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



RE: Inconsistency in Repos - mikehenson - 10-21-2021

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.


RE: Inconsistency in Repos - thatent - 10-21-2021

(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]$



RE: Inconsistency in Repos - mikehenson - 10-21-2021

"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



RE: Inconsistency in Repos - thatent - 10-21-2021

@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.


RE: Inconsistency in Repos - Danct12 - 10-21-2021

This issue originated from upstream Arch Linux ARM project, see: https://archlinuxarm.org/forum/viewtopic.php?f=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.


RE: Inconsistency in Repos - thatent - 10-21-2021

(10-21-2021, 11:10 AM)Danct12 Wrote: This issue originated from upstream Arch Linux ARM project, see: https://archlinuxarm.org/forum/viewtopic.php?f=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!