Can not update OS due to dependency issues

.
could not satisfy dependencies:

  • removing lib32-libffi breaks dependency ‘lib32-libffi’ required by lib32-glib2
  • removing lib32-pcre2 breaks dependency ‘lib32-pcre2’ required by lib32-glib2
  • removing lib32-libffi breaks dependency ‘libffi.so=8-32’ required by lib32-glib2

The following deprecated repositories will be removed: [community], [community-testing], [testing], [testing-debug], [staging], [staging-debug].

Please make sure to remove all use of the aforementioned repositories from your /etc/pacman.conf (for which a .pacnew was shipped with pacman>=6.0.2-7)!

If this is the issue , what are the exact steps for a newbie to solve this issue?

Thank you

Please share full outputs when seeking support.

As it states - the correct approach is to handle your pacnews.

This has been expounded upon in other similar threads and the wiki entry:
https://wiki.manjaro.org/index.php/System_Maintenance#Pacnew_and_Pacsave_files

Specifically to your extraneous repos in /etc/pacman.conf they should be removed.
The idea would be (and the comparison would show) a suggestion to delete or comment out (place a # in front of) all the lines associated with these third-party and/ deprecated repos.

This can and should be accomplished via the tools to manage pacnews rather than direction on the forums or elsewhere. pacnews are part of system maintenance on Arch/Manjaro and are the responsibility of the system admin. The pacman.conf.pacnew is but one example and any others will similarly require attention.

Afterwards sync/upgrade again;

sudo pacman -Syu

You can also clear unused repos (as well as uninstalled package caches) with

sudo pacman -Sc

The OP should check the thread that’s pinned right at the top (when the forum is in ‘Latest’ view).

This helped me.

sudo cp /etc/pacman.conf /etc/pacman.conf.original
sudo cp /etc/pacman.conf.pacnew /etc/pacman.conf
sudo pacman-mirrors --fasttrack
sudo pacman -Syu

As a sidenote: you are not a newbie if you have a, like 3-4-5 year old install, which seems to be the case.

OR, if you installed manjaro 5 years ago, used it for 3 days and put the spare laptop in the cupboard until today - do yourself and us a favour and format and install the newest iso. It will be a lot faster and easier.

1 Like