Recent issues with pamac (target not found)

Hi, after the latest update of pamac (pamac-cli 11.6.0 - libpamac 11.6.2), I have trouble with it.

For instance:

pamac install ipython
Preparing...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: <user>
Password: 
==== AUTHENTICATION COMPLETE ====
Synchronizing package databases...

Choose optional dependencies for ipython:
1:  python-black: to auto format with Black
2:  yapf: to auto format with YAPF

Enter a selection (default=none): 

Error: Failed to prepare transaction: target not found: ipython

Trying to install the same package with pacman works fine.
Any clue?

pamac update --force-refresh

Maybe?

1 Like

That did the trick, thanks. Any idea why the database got corrupted? Does pamac not use the same database as pacman, with extra stuff?

No error message to suggest database corrupted

error: failed to synchronize all databases (invalid or corrupted database (PGP signature))

so database was probably just outdated

Does pamac not use the same database as pacman, with extra stuff?

AFAIK both use /var/lib/pacman/sync/extra.db for extra repository

At least some of the databases are different.

pacman databases

  • /var/lib/pacman/sync/

pamac databases

  • /var/tmp/pamac/dbs/sync/

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