You are not logged in.

#1 2008-11-24 02:13:13

grod
Member
Registered: 2008-11-11
Posts: 12

unistall all but the base system?

Rather than re-install, I'd like to wipe out everything I've installed save the base system and config files, and start over. How do I do this?

Offline

#2 2008-11-24 03:04:56

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: unistall all but the base system?

Comment out [extra] and [community] in your pacman.conf file

# Update our repository (core)
pacman -Sy
# Remove everything that is installed but not listed in our repo (core)
pacman -Rns `pacman -Qm`
# Forcefully (over-writing if required) reinstall everything from core
pacman -Syf `pacman -Ql | cut -d" " -f1 | sort | uniq`

I make no gurantees. Backup first; insert all the usual disclaimers.

EDIT: added some explainatory comments

Last edited by fukawi2 (2008-11-24 03:07:44)

Offline

#3 2008-11-25 01:39:07

grod
Member
Registered: 2008-11-11
Posts: 12

Re: unistall all but the base system?

20060318-5 not found, searching for group...
error: '20060318-5': not found in local db

What's that mean?

Offline

#4 2008-11-25 01:43:07

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,395
Website

Re: unistall all but the base system?

You probably want

pacman -Rns `pacman -Qqm`

and the last line could be

pacman -Syf `pacman -Qq

although, that is a waste of time unless you want to go back to the original configuration files which will be saved as .pacsave for you to move.

Offline

#5 2008-11-25 02:10:49

grod
Member
Registered: 2008-11-11
Posts: 12

Re: unistall all but the base system?

that removed csup and nothing else. I'm sure X, sudo, and the rest aren't part of the core. Please, how do I get rid of those?

Offline

#6 2008-11-25 02:25:04

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,395
Website

Re: unistall all but the base system?

Did you follow fukawi2's first instruction?

fukawi2 wrote:

Comment out [extra] and [community] in your pacman.conf file

Offline

#7 2008-11-25 03:04:27

grod
Member
Registered: 2008-11-11
Posts: 12

Re: unistall all but the base system?

oops. Thanks!

Offline

Board footer

Powered by FluxBB