You are not logged in.
Pages: 1
I've only recently discovered the -n flag when removing packages (pacman -Rns). I've installed and uninstalled packages in the past not using this flag, thus the config files and other unused files are probably floating around somewhere. Is there anyway for me to clean up the system from when I didnt use this -n flag? From now on I'll be using -Rns but what am I to do about the uninstalled packages prior to this? I cant remember off the top of my head exactly which packages I've removed in the past so it may be hard to track down with a -Ql. I'm a bit OCD when it comes to my file system and try to keep it as clean as possible, so naturally this is bugging me.
Thanks for any and all input.
Last edited by GunnDawg (2015-06-02 04:05:51)
Offline
Check the pacman log to see a list of packages you've installed, removed, updated etc.
Offline
When removing without the -n flag, the old configurations are saved as .pacsave files
I believe that pacdiff can find these, if not, pacdiffviewer can. Alternatively, run a find command manually.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
So if "find .pacsave" doesnt find anything then does that mean that there is no .pacsave files? I'm not real familiar with the find command and the wiki doesnt give explicit examples. Thanks.
Offline
the wiki doesnt give explicit examples
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I suppose I missed that part. Thanks. So I ran this "find / -regextype posix-extended -regex ".+\.pac(new|save|orig)" 2> /dev/null" and it only found the mirrorlist.pacnew. So from this I can assume there are no .pacsave files or left behind config files?
Offline
nevermind. Looks like pacdiff (as you mentioned) will do the job. Marked as solved. Thanks!
Offline
Pages: 1