why pamac does not use the same database file as pacman?
i find that some times when i try to download a package from pacman that the database is not syncronized and the version shown in pacman is older than pamac so i need to sync the database from pacman.
is there a way to let pacman and pamac uses the same database file?
In think they did at some point - bu it created other issues.
pacman is the Arch Linux native package manager - pamac is a convenience GUI using the pacman provided libalpm to handle the given task.
You are the system administrator and maintainer - not pamac, not pacman and not Manjaro Linux - and in that capacity it is your job to ensure system consistency and stability.
Therefore one should never run pacman -S
without --refresh --sysupgrade
as this may lead to system issues where only parts of any given package is at the correct version.
There is no need for. ALLWAYS sync the database when installing a new package, it’s that simple.
IMO it is better to have pacman
and pamac
use different databases than having any potential for conflict. If anything went wrong the pamac haters would be most unhappy with Manjaro team