i get a notification of 4 available updates,the tray icon turns red.
when trying to open Pamac it is stuck at:“checking for updates 90%” and i have to force close it.
running sudo pacman -Syu in terminal clears it; no available updates,icon turn white again,and i’m able to open Pamac.
As told in the other topic, disable flatpak and aur updates in pamac. Only after a core system update with pamac gui or sudo pacman -Syu you can flatpak update and yay -Sua
Maybe packages-meta-ext-v1.json.gz in /var/tmp/pamac/dbs/sync/ is corrupt? Have you tried deleting that file? Pamac should recreate it upon opening if you have AUR support enabled.
It would be usefull if you can tell us what your last changes was… more background story, when was your last update and did everything working after it?
Didn’t you update for a longer time and missed a few stable release updates?
What are the pacman.log showing, since the last bigger stable update?
/var/log/pacman.log
TBH, your orphans and foreign list looks a little bid to clean… i hope you didnt had something removed which was important.
If i had cleaned my whole orphans/foreign my Manjaro would be broken
No, it wouldn’t. Orphans are not needed for anything. AUR is optional.
In fact, cleaning orphans is part of the maintanance and prevents future problems.
Think of a scenario where a use had installed a number of packages and managed to get ‘important package X’ as a dependency. Then the user removes the other packages that would have required ‘important package X’, but the user still desires to retain that package.
This is just one example.
But such situations also call for the user to take action.
If you have an orphan you would like to keep … make it not an orphan by marking it as explicitly installed.
ex:
pacman -Qdtq
And firefox is an orphan, but you wish to keep it.