Is there any way I can remove all packages on my system, except for the base packages? I want to cut down on the number of packages on my system, and maybe clean out somethings while all the packages aren't there. Is there any way I can do this with pacman?
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
well, you could write a script that takes out the base packages (the packages marked "base/" here) from the list of installed packages on your system (pacman -Q), and then pacman -R those packages all at once.
if you have a lot more things you want to clean out than you want to keep, it may be easier to tar up the files you want to keep, delete everything, and use the quickinst (instead of the interactive setup script) on the arch cd.
i can't remember the syntax but before there were package groups you used something like:
pacman -S `/bin/ls`
I would assume you could do the same for uninstalling (make sure you use the d option though). it will be, potentially, a messy process no matter which way you do it.
I am not your friend
What I did (having enough HD space) to clean up the system, installed 0.7 base on a different partition. Then copied whatever was needed from the old partition. My /home still uses the old partition.... reduced it from 6GB to 3GB.