You are not logged in.
Just setup arch in VirtaulBox, and I got everything working! Hooray, only took 4 tries, but thats what I call the learning process and I love it!
My issue was this:
Gnome wouldn't save my theme settings! Each time I ran it with startx my theme settings were reset to default! I'd change the theme to DarkRoom and change my icon set to Tango, and then after logging out, and running startx again, poof, back to default. My background, however, DID save.
So after that experiment, I've decided to use KDE, just cause I wanna do it, no real reason, besides learning as much as I can
I've gone and removed gnome:
pacman -Rc gnome
Now I'm trying to clear out all the excess packages, so I ran:
pacman -Qdt
It shows a whole bunch of stuff, so what I'm asking is this: How can I clear out all unneeded packages, orphaned packages, etc
Coming from the Debian based world, I know I could use apt-get autoremove to get rid of unneeded packages, and I would like to know if there is a way to do this using pacman
If not, is it possible to run pacman -Qdt and export the output to a file, then run pacman -R and have it access that file and remove all those packages?
Thank you for the assistance!
Last edited by novafluxx (2009-10-24 21:20:44)
Offline
1) You should have use pacman -Rcsn gnome
2) You can removed unneeded packages by pacman -Rcsn `pacman -Qqdt`
Offline
Just use pacman -Rs $(pacman -Qqdt) as root
Offline
1) You should have use pacman -Rcsn gnome
2) You can removed unneeded packages by pacman -Rcsn `pacman -Qqdt`
Thank you for the fast reply, I will try to remember that!
I've tried running what you suggested, but it doesn't seem to be working...
pacman -Rcsn 'pacman -Qqdt"
says its not found in the local db
Just use pacman -Rs $(pacman -Qqdt) as root
This will do it! I get it, make it use the string output of pacman -Qqdt as the input for pacman -Rcsn ?
Last edited by novafluxx (2009-10-24 21:10:42)
Offline
Haha, you guys are excellent! Thank you, I just noticed it removed dbus, but I can reinstall it! EXCELLENT! THANK YOU!
Offline
I've tried running what you suggested, but it doesn't seem to be working...
pacman -Rcsn 'pacman -Qqdt"
Only to clarify as you will see this one often in your linux life.
These need be backquotes `pacman -Qdt`. Backquoting is a bash concept to have the quoted content be evaluated and use its results (as arguments to pacman -Rcsn in this case).
$(pacman -Qdt) does the same but is a newer and more flexible concept.
See man bash once you got some time to spare. (This is wothwhile after all.)
To know or not to know ...
... the questions remain forever.
Offline
I will do that! Thank you.
How do I "back quote" something???? Is this it: `
Offline
How do I "back quote" something???? Is this it: `
Exactly!
To know or not to know ...
... the questions remain forever.
Offline
Ah, well thank you all very much. I knew coming here to ask would be a good idea!
Offline