You are not logged in.

#1 2009-09-30 11:45:26

Chiefcooker
Member
Registered: 2006-02-14
Posts: 29

back to base install?

hi, is there a possibility to delete everything installed except the base install? so that a bloated test sys shrinks back to a sys like fresh installed, without reinstall?
mfg chief

Offline

#2 2009-09-30 12:36:59

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Re: back to base install?

The following should remove all packages except those in the base group.  100% untested; use with caution.

pacman -R $(echo "$(pacman -Sgq base)\n$(pacman -Qq)" | sort | uniq -u)

Last edited by chpln (2009-09-30 12:42:29)

Offline

Board footer

Powered by FluxBB