Skip to main content
Topic: cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi" (Read 986 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi"

I installed artix via the community gtk iso.  I get a ton of these warnings and replace requests shown below.  Is this to be expected or is there an issue?  I don't know if I accidentally installed "aur" stuff, it's possible.  I'm relatively new to artix, pacman, and yay.  When trying to apply updates from MATE desktop I am getting this different issue:

Code: [Select]
could not satisfy dependencies:
- unable to satisfy dependency 'libffi=3.4.5' required by lib32-libffi

Thanks

Code: [Select]
% sudo pacman -Syyu
:: Synchronizing package databases...
 system                                      264.7 KiB   198 KiB/s 00:01 [-----------------------------------------] 100%
 world                                         5.0 MiB  2.01 MiB/s 00:02 [-----------------------------------------] 100%
 galaxy                                      525.5 KiB   333 KiB/s 00:02 [-----------------------------------------] 100%
 lib32                                       174.6 KiB   140 KiB/s 00:01 [-----------------------------------------] 100%
 universe                                      2.7 KiB  4.86 KiB/s 00:01 [-----------------------------------------] 100%
 omniverse                                    95.1 KiB  93.5 KiB/s 00:01 [-----------------------------------------] 100%
 extra                                         8.3 MiB  2.91 MiB/s 00:03 [-----------------------------------------] 100%
 community                                    45.0   B  63.0   B/s 00:01 [-----------------------------------------] 100%
 multilib                                    139.6 KiB   126 KiB/s 00:01 [-----------------------------------------] 100%
 archzfs                                      14.9 KiB  16.6 KiB/s 00:01 [-----------------------------------------] 100%
:: Starting full system upgrade...
warning: atril: local (1.27.0-1) is newer than galaxy (1.26.1-1.1)
:: Replace attica with world/attica5? [Y/n] N
warning: caja: local (1.27.0-1) is newer than galaxy (1.26.3-1)
warning: caja-extensions-common: local (1.27.0-1) is newer than galaxy (1.26.1-2)
warning: caja-image-converter: local (1.27.0-1) is newer than galaxy (1.26.1-2)
warning: caja-open-terminal: local (1.27.0-1) is newer than galaxy (1.26.1-2)
warning: caja-sendto: local (1.27.0-1) is newer than galaxy (1.26.1-2)
warning: caja-wallpaper: local (1.27.0-1) is newer than galaxy (1.26.1-2)
warning: caja-xattr-tags: local (1.27.0-1) is newer than galaxy (1.26.1-2)
warning: engrampa: local (1.27.0-1) is newer than galaxy (1.26.1-1.1)
warning: eom: local (1.27.0-1) is newer than galaxy (1.26.1-1)
:: Replace frameworkintegration with world/frameworkintegration5? [Y/n] N
:: Replace karchive with world/karchive5? [Y/n] N
:: Replace kauth with world/kauth5? [Y/n] N
:: Replace kbookmarks with world/kbookmarks5? [Y/n] N
:: Replace kcalendarcore with world/kcalendarcore5? [Y/n] N
:: Replace kcmutils with world/kcmutils5? [Y/n] N
:: Replace kcodecs with world/kcodecs5? [Y/n] N
:: Replace kcompletion with world/kcompletion5? [Y/n] n
:: Replace kconfig with world/kconfig5? [Y/n] n
:: Replace kconfigwidgets with world/kconfigwidgets5? [Y/n] n
:: Replace kcontacts with world/kcontacts5? [Y/n] n
:: Replace kcoreaddons with world/kcoreaddons5? [Y/n] n
:: Replace kcrash with world/kcrash5? [Y/n] n
:: Replace kdbusaddons with world/kdbusaddons5? [Y/n] n
:: Replace kdeclarative with world/kdeclarative5? [Y/n] n
:: Replace kded with world/kded5? [Y/n] n

cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi"

Reply #1
Hi all.

Code: [Select]
resolving dependencies...
warning: cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi"
:: The following package cannot be upgraded due to unresolvable dependencies:
      lib32-libffi

:: Do you want to skip the above package for this upgrade? [y/N]

Re: cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi"

Reply #2
Code: [Select]
% sudo pacman -Syyu
:: Synchronizing package databases...
 system                                      264.7 KiB   198 KiB/s 00:01 [-----------------------------------------] 100%
 world                                         5.0 MiB  2.01 MiB/s 00:02 [-----------------------------------------] 100%
 galaxy                                      525.5 KiB   333 KiB/s 00:02 [-----------------------------------------] 100%
 lib32                                       174.6 KiB   140 KiB/s 00:01 [-----------------------------------------] 100%
 universe                                      2.7 KiB  4.86 KiB/s 00:01 [-----------------------------------------] 100%
 omniverse                                    95.1 KiB  93.5 KiB/s 00:01 [-----------------------------------------] 100%
 extra                                         8.3 MiB  2.91 MiB/s 00:03 [-----------------------------------------] 100%
 community                                    45.0   B  63.0   B/s 00:01 [-----------------------------------------] 100%
 multilib                                    139.6 KiB   126 KiB/s 00:01 [-----------------------------------------] 100%
 archzfs                                      14.9 KiB  16.6 KiB/s 00:01 [-----------------------------------------] 100%
:: Starting full system upgrade...
warning: atril: local (1.27.0-1) is newer than galaxy (1.26.1-1.1)
:: Replace attica with world/attica5? [Y/n] N
warning: caja: local (1.27.0-1) is newer than galaxy (1.26.3-1)
warning: caja-extensions-common: local (1.27.0-1) is newer than galaxy (1.26.1-2)
warning: caja-image-converter: local (1.27.0-1) is newer than galaxy (1.26.1-2)
warning: caja-open-terminal: local (1.27.0-1) is newer than galaxy (1.26.1-2)
warning: caja-sendto: local (1.27.0-1) is newer than galaxy (1.26.1-2)
warning: caja-wallpaper: local (1.27.0-1) is newer than galaxy (1.26.1-2)
warning: caja-xattr-tags: local (1.27.0-1) is newer than galaxy (1.26.1-2)
warning: engrampa: local (1.27.0-1) is newer than galaxy (1.26.1-1.1)
warning: eom: local (1.27.0-1) is newer than galaxy (1.26.1-1)
:: Replace frameworkintegration with world/frameworkintegration5? [Y/n] N
:: Replace karchive with world/karchive5? [Y/n] N
:: Replace kauth with world/kauth5? [Y/n] N
:: Replace kbookmarks with world/kbookmarks5? [Y/n] N
:: Replace kcalendarcore with world/kcalendarcore5? [Y/n] N
:: Replace kcmutils with world/kcmutils5? [Y/n] N
:: Replace kcodecs with world/kcodecs5? [Y/n] N
:: Replace kcompletion with world/kcompletion5? [Y/n] n
:: Replace kconfig with world/kconfig5? [Y/n] n
:: Replace kconfigwidgets with world/kconfigwidgets5? [Y/n] n
:: Replace kcontacts with world/kcontacts5? [Y/n] n
:: Replace kcoreaddons with world/kcoreaddons5? [Y/n] n
:: Replace kcrash with world/kcrash5? [Y/n] n
:: Replace kdbusaddons with world/kdbusaddons5? [Y/n] n
:: Replace kdeclarative with world/kdeclarative5? [Y/n] n
:: Replace kded with world/kded5? [Y/n] n
The 1.27 stuff being newer than the 1.26.1 in the repo is due to the devs shipping a slightly older version of MATE for now.
The kde>kde5 replacements happened a while ago so if you didn't update for a long time you will see them oh you used stable iso from some months ago, put Y to all of them as they will have a qt6 replacement soon (or i think already for some of them).
Also remove universe and community since they have been deprecated.

Re: cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi"

Reply #3
The update for that package went fine for me now, can you check?

Re: cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi"

Reply #4
Error is still there for me. BTW I have only 5 repos: system, world, galaxy, lib32 and arch's extra. [lib32-]libffi is in system & lib32.


Re: cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi"

Reply #6
I confirm this it is still there

Code: [Select]
warning: cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi"
warning: cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi"
warning: cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi"
:: The following package cannot be upgraded due to unresolvable dependencies:
      lib32-libffi

:: Do you want to skip the above package for this upgrade? [y/N]
Keep it Simple. Simple is Secure, Simple is Beautiful.

Re: cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi"

Reply #7
Hello, here's my periodic visit to the forum for the usual reasons, I even created an account this time.
I'm having the same issue on both my machines running Artix, to make it quick I removed 32-bit stuff from the laptop since I don't need it, but I do need it on my desktop.

Code: [Select]
:: Synchronizing package databases...
 system is up to date
 world is up to date
 galaxy is up to date
 extra is up to date
 lib32 is up to date
 multilib is up to date
 custom is up to date
:: Starting full system upgrade...
warning: extundelete: local (0.2.4-5) is newer than galaxy (0.2.4-1)
warning: lib32-libtheora: local (1.1.1-15) is newer than lib32 (1.1.1-13)
warning: mate-desktop: local (1.27.0-1) is newer than galaxy (1.26.2-1)
resolving dependencies...
warning: cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi"
:: The following package cannot be upgraded due to unresolvable dependencies:
      lib32-libffi

:: Do you want to skip the above package for this upgrade? [y/N]

I get that there aren't many maintainers and the ones working on the distro also have a life outside of this, but this issue is close to getting 48 hours old (judging by the upload time in these mirrors). We can't expect swift responses, but this is a bit too slow. I'm not angry or trying to be aggressive, I hope it didn't come across that way, I'm just... tired, these recurring issues are what prevent me from actively recommending Artix

Re: cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi"

Reply #8
The update for that package went fine for me now, can you check?

No. It won't. lib32-libffi-3.4.5-1 requires libffi-3.4.5 from system repo, but currently system repo only has libffi-3.4.4-1  (should  be updated to libffi-3.4.5 to solve this problem)

Code: [Select]
pacman -Ss libffi
system/libffi 3.4.4-1 [installed]
    Portable foreign function interface library
...
lib32/lib32-libffi 3.4.5-1 [installed: 3.4.4-1]
    Portable foreign function interface library (32-bit)
Keep it Simple. Simple is Secure, Simple is Beautiful.

Re: cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi"

Reply #9
As u/DesperateCourt points out in the linked thread, a potential solution would be to verify whether anything critical relies on lib32-ffi by using `pacman -Qi lib32-libffi` (looking under "Required By:"), then removing the conflicting package with `pacman -Rdd lib32-libffi`

https://www.reddit.com/r/archlinux/comments/1aty79z/archlinux_pacman_syu_problem/

I've made a snapshot of the system prior to removing the package, removed the package, then successfully upgraded. I am not running into any issues at this time. If anything breaks, I'll update the post.

Update: Steam will not be able to launch without the package installed. In all likelihood, the best we can do for now is wait for this to be fixed.

You can restore to a previous version of lib32-libffi by using the following command:
`sudo pacman -U /var/cache/pacman/pkg/lib32-libffi-3.4.4-1-x86_64.pkg.tar.zst`

I would suggest removing lib32-libffi when needing to upgrade packages, then reinstalling from the cached version (3.4.4).
So performing the following:
Code: [Select]
pacman -Rdd lib32-libffi
pacman -Syu
pacman -U /var/cache/pacman/pkg/lib32-libffi-3.4.4-1-x86_64.pkg.tar.zst

Do not upgrade lib32-libffi to 3.4.5 until libffi has published 3.4.5 from the System Testing Repositories.

Update 2: Looks like they fixed it now! libffi and lib32-libffi are now both on 3.4.6-1

Re: cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi"

Reply #10
`pacman -Qi lib32-libffi` (looking under "Required By:"), then removing the conflicting package with `pacman -Rdd lib32-libffi`
Required By     : lib32-glib2  lib32-p11-kit  lib32-wayland
All these were installed with wine. Otherwise there wouldn't be any lib32 packages in my system at all (simply don't need it).

Update: Steam will not be able to launch without the package installed. In all likelihood, the best we can do for now is wait for this to be fixed.

That would be the best solution I guess in my case.

Re: cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi"

Reply #11
Saying "y" to the ffi question works here, and wine still functions afterwards for the app I use it for, no guarantees for other purposes of course. Re anonanon's other questions, -Syuu allows version downgrades so would fix the Mate warnings, and generally saying Y on these kind of questions is a good choice, (like 1 when given a choice of repos) unless you have information to the contrary. But as always, be prepared for the possibility of needing to reverse the procedure using cached previous versions of the relevant packages.

Re: cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi"

Reply #12
Code: [Select]
pacman -Ss libffi
system/libffi 3.4.6-1 [installed: 3.4.4-1]
    Portable foreign function interface library
...
lib32/lib32-libffi 3.4.5-1 [installed: 3.4.4-1]
    Portable foreign function interface library (32-bit)
...
multilib/lib32-libffi 3.4.6-1 [installed: 3.4.4-1]
    Portable foreign function interface library (32-bit)

on archlinux multilib lib32-libffi=3.4.6 and libffi=3.4.6 versions are the same

libffi in system is pumped to  3.4.6 which give rise to more serious problem if I say "y" !

Code: [Select]
resolving dependencies...
warning: cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi"
:: The following package cannot be upgraded due to unresolvable dependencies:
      lib32-libffi

:: 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 libffi (3.4.6-1) breaks dependency 'libffi=3.4.4' required by lib32-libffi
Keep it Simple. Simple is Secure, Simple is Beautiful.

Re: cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi"

Reply #13
All good now, both are 3.4.6-1. Thank you. :)

Re: cannot resolve "libffi=3.4.5", a dependency of "lib32-libffi"

Reply #14
Everything is OK now. I guess it was a delayed package update issue.