manjaro / pamac

Graphical Package Manager for Manjaro Linux with Alpm, AUR, Appstream, Flatpak and Snap support
GNU General Public License v3.0
247 stars 42 forks source link

After update to latest, Pamac GUI is very slow #464

Open username227 opened 2 weeks ago

username227 commented 2 weeks ago

Hi, I am using Pamac with Arch & Cinnamon. After updating pamac & libpamac & pamac-cli to the latest version a few days ago, the GUi has been extremely slow. It takes forever after I open the update panel for the updates to show. When there are AUR updates, it takes a couple of minutes more during updating of AUR for the update window to show and for them to start.

This issue is not present when pamac is run through the cli. I am thinking it's possibly because I have a number of -git packages; however, i have the same # of git packages I did before the upgrade, and it worked just fine before.

philmmanjaro commented 2 weeks ago

There was a change on how AUR packages get handled and where the AUR database packages-meta-ext-v1.json.gz gets stored. A database refresh call would most likely fix that: pamac upgrade --aur --force-refresh --dry-run See also: https://github.com/manjaro/pamac-cli/issues/1#issuecomment-2461287938

username227 commented 1 week ago

It still seems very slow. However, let me try it for a few days and get back to you.

username227 commented 1 week ago

well, it's definitely still freezing for a long time on the AUR update sometimes...and the program also seems to freeze up completely if I try to uncheck one of the updates.

username227 commented 1 week ago

OK, yeah, it definitely seems like there's no change at all after running that command. Still getting many times when not only do the updates take forever to load, but the program gets stuck after updating the AUR database for several minutes before beginning the upgrade, and if I uncheck any of the updates, the entire GUI freezes. Again, this is only with the GUI. the command line works fine still.