I just noticed that pamac-checkupdates seems to be taking up a lot of system resources. top shows separate processes running for each logged-in user (usually three), with each taking >90% cpu and constantly switching between the different instances. Memory use for each is ~15% and stable.
I’m running latest stable update & openbox.
It seems this is connected to systemd, since, if I killall pamac-updates, they restart after a few seconds.
My pamac.conf is set to check every 6 hours, so this seems to be burning a lot of resources for no good reason.
TIA for any suggestions.
—edit—The problem may have to do with the database. If I run pamac checkupdates, I get GPGME error: no data, and a LOT of ‘checking dependencies’ output. Trying now to fix the GPGME problem.
Thanks for the suggestion, but no, I removed the community repo from pacman.conf some time ago.
disable update check for AUR packages
Not sure how to do that, I’ll look into it. BUT, as far as I know, I have no update checking active at all. I check for updates manually, at a command line. I don’t use the gui tools and don’t run any sort of update notification apps.
I’m thinking (guessing) the problem may be caused by the GPGME errors. I found a thread with instructions for downloading new signature keys, but it hasn’t solved the problem.
# pacman -Syu
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases…
error: failed to synchronize all databases (unable to lock databases)
Very true and a neglected issue of this distro in general, especially for users in developing countries.
If you are, like most people in eg Africa, on expensive mobile phone networks, the default 6h-checking will take around 3Gb of bandwidth a month per machine. Add the 1Gb+ monthly update and you’ll get why there are so few Manjaro users on the continent.
There is an easy workaround but by the time most new users figure that out they will have noticed their phone credit melt away and abandoned the distro:
Turn off all update checks in Add/Remove software preferences (pamac GUI)