[SOLVED] Screen flickering when scrolling through firefox

copy paste that output in a text file. Lets say you name it packages.txt and store in home directory.
Then open a terminal and run

awk ‘{print $1}’ packages.txt | sed ‘s/.$//’ > pkgs.txt

cut -d':' -f1 packages.txt > pkgs.txt

(Thanks to a bloat hater :heart: )

finally, run

sudo pacman -D --asexplicit - < pkgs.txt

To remove orphans,

yay -Yc
2 Likes

i first tried manually reversing everything to explicitly installed packages but it was too hectic and changed every dependency to explicitly installed by using: pacman -D --asexplicit $(pacman -Qqd) . maybe it changed more than required but as noobie its fine for me. posting for everyone that may need it for future reference.

Yes it certainly did change more than required. The packages that were supposed to be orphans are now marked explicitly installed. They’ll be there on your system - using disk space and network bandwidth on updates.

if anyway i can reverse the damage done?

Logs will be there in /var/log/pacman.log.

But I don’t know if its possible to reverse it in an easy/efficient manner :frowning_face:

thanks a lot. as i had previously removed orphan packages before changing explicitly required packages to dependencies so maybe the damage isn’t much with this reverse engineering.

heres the pastebin link for everything thats changed to explicitly required packages. could you verify it?

At this stage I cannot recommend anything. (maybe I can recommend re installing your system)

One thing for sure, you should not be in root shell for the kind of stuff you were doing.

Ok what you can do is to manually uninstall the packages that were supposed to be dependencies.

i would leave as it is. if it bothers in further run i would reinstall

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.