Target not found: python-referencing

Today, in trying to update Manjaro, I received a “Failed to prepare transaction.” The error message says: target not found: python-referencing

How do I fix this? Anyone?

sudo pacman-mirrors -f 5 && sudo pkgfile -u && sudo pacman -Syyu python-referencing
5 Likes

Hi @Wayne636,

Since the package is in the extra repository:

$ pamac search python-referencing
python-referencing                                                                                                                                                                                                                           0.29.1-1  extra
An implementation-agnostic implementation of JSON reference resolution

…I’d say you need to refresh your mirror(s):

sudo pacman-mirrors --fasttrack 5

Followed by refreshing your package list:

pamac upgrade --force-refresh

Hope this helps!

2 Likes

To be precise, this is likely all that’s needed:

sudo pacman -Syu python-referencing

Rebuilding the mirrorlist should only be needed if you have a problem with your mirrors.

2 Likes

Yes, but the last Stable update included the merge of the Community repository into the Extra repository, so it’s not a bad idea to refresh both the mirror list and the package list. :wink:

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.