You are not logged in.

#1 2009-10-24 21:01:02

novafluxx
Member
From: Florida
Registered: 2009-10-24
Posts: 16

[SOLVED] Removing all uneeded packages, GNOME Issues

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

#2 2009-10-24 21:06:19

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: [SOLVED] Removing all uneeded packages, GNOME Issues

1) You should have use pacman -Rcsn gnome
2) You can removed unneeded packages by pacman -Rcsn `pacman -Qqdt`

Offline

#3 2009-10-24 21:07:59

Mefju
Member
From: Poland
Registered: 2006-07-12
Posts: 104

Re: [SOLVED] Removing all uneeded packages, GNOME Issues

Just use pacman -Rs $(pacman -Qqdt) as root

Offline

#4 2009-10-24 21:09:42

novafluxx
Member
From: Florida
Registered: 2009-10-24
Posts: 16

Re: [SOLVED] Removing all uneeded packages, GNOME Issues

Pierre wrote:

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

Mefju wrote:

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

#5 2009-10-24 21:16:54

novafluxx
Member
From: Florida
Registered: 2009-10-24
Posts: 16

Re: [SOLVED] Removing all uneeded packages, GNOME Issues

Haha, you guys are excellent! Thank you, I just noticed it removed dbus, but I can reinstall it! EXCELLENT! THANK YOU!

Offline

#6 2009-10-24 21:46:00

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [SOLVED] Removing all uneeded packages, GNOME Issues

novafluxx wrote:

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

#7 2009-10-25 02:38:03

novafluxx
Member
From: Florida
Registered: 2009-10-24
Posts: 16

Re: [SOLVED] Removing all uneeded packages, GNOME Issues

I will do that! Thank you.


How do I "back quote" something????  Is this it: `

Offline

#8 2009-10-25 08:04:53

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [SOLVED] Removing all uneeded packages, GNOME Issues

novafluxx wrote:

How do I "back quote" something????  Is this it: `

Exactly! smile


To know or not to know ...
... the questions remain forever.

Offline

#9 2009-10-25 12:49:20

novafluxx
Member
From: Florida
Registered: 2009-10-24
Posts: 16

Re: [SOLVED] Removing all uneeded packages, GNOME Issues

Ah, well thank you all very much. I knew coming here to ask would be a good idea!

Offline

Board footer

Powered by FluxBB