Closed KSXGitHub closed 6 years ago
@guinux: maybe we should load the app first and then try to sync DBs and other tasks ...
@philmmanjaro Syncing DB takes time, especially in machine with over 200 packages, it takes a really long time. IMHO, pamac shouldn't sync DB unless user decide to.
Meanwhile, pacman -Q
/pacman -Ss
list everything almost instantly.
Pamac can takes some times to start but only the first time you launch it and if pamac-tray didn't check updates yet (or was not started).
It's due to libalpm which takes some time to load the databases in memory the first time you access them. If you disable pamac-tray at startup, reboot then run pacman -Su
, it will takes some time. The next call of pacman will be fast, it's exaclty the same thing with pamac.
@guinux Actually it's not the same. I reported this issue previously and it still exists today. Pamac always downloads the files databases no matter what. That is what takes so much time. Pacman does not do that. Pacman only downloads the regular databases when performing system updates.
@lots0logs: Databases are not refreshed at startup so it's not related.
Sorry I just saw that you mentioned running pacman -Su
so I thought this was about opening the updates tab. I was in a hurry earlier and didn't read the entire thread :sweat_smile:
@guinux: can we somehow transfer some of the function to the daemon so we speed up the lauch of pamac in general?
It goes like this: