You are not logged in.

#1 2009-03-16 13:18:52

oxymoron
Member
Registered: 2009-03-16
Posts: 5

[SOLVED]How to totally remove configuration files that pacman uses?

Hi,

Playing with Arch linux with a view to ditching windows completely, but came across one very small issue. One where I have tried to find the answer on the wiki and using the forum search tongue

Anyway, I installed firefox using pacman, no problems. Then I discovered Yaught (can never spell it right) and found a proper branded firefox package on there.

I run:

sudo pacman -R firefox

and it is rightly removed. The issue is it still seems to keep the installation files on the system.

How do I completely remove all the installation files?

Last edited by oxymoron (2009-03-16 14:06:34)

Offline

#2 2009-03-16 13:39:40

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED]How to totally remove configuration files that pacman uses?

The package remains in pacman's cache until you remove it. Read man pacman, and look for the -c/--clean flag in the SYNC OPTIONS section.

Offline

#3 2009-03-16 13:41:30

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: [SOLVED]How to totally remove configuration files that pacman uses?

Hi,

have a look at "pacman -R --help". There is the option -n to remove the configuration files as well. Have a closer look at the man pages of pacman, too.

Offline

#4 2009-03-16 14:05:42

Chrysalis
Member
Registered: 2008-07-07
Posts: 155

Re: [SOLVED]How to totally remove configuration files that pacman uses?

'-n/--nosave' is just to ignore creating .pacsaves of configs defined in 'backup=()', firefox doesnt have any anyway.

The branded firefox from aur is the same thing as the one in extra with a different icon and name (a waste of time if you ask me) so you dont need to clean anything, but if you ever need/want to just wipe '~/.mozilla'.

Offline

#5 2009-03-16 14:06:08

oxymoron
Member
Registered: 2009-03-16
Posts: 5

Re: [SOLVED]How to totally remove configuration files that pacman uses?

Thanks guys

sudo pacman -Syc did the trick

Offline

#6 2009-03-16 15:29:52

Chrysalis
Member
Registered: 2008-07-07
Posts: 155

Re: [SOLVED]How to totally remove configuration files that pacman uses?

Dont need a -y to clean your cache. Also -Scc will wipe the whole thing if you dont want them taking room.

Some thoughts on making use of the cache...
'-Sc' keeps the currently installed pkges and cleans only uninstalled/old pkges from cache, its a good practise to do it everytime *before* you upgrade. Doing that ensures youll always be able to downgrade to a working set of pkges if theres something wrong with an upgrade.

Offline

Board footer

Powered by FluxBB