[arch-general] ld-2.11.1.so and segfaults
Gary Wright
wriggary at gmail.com
Fri Feb 26 15:18:11 EST 2010
On 02/26/2010 08:41 AM, Laurie Clark-Michalek wrote:
>> Is there a way to de-install everything that's NOT in base? I looked around
>> for this, and will I could certainly create a command line chain for it
>> something like "pacman -R --all !base" would be nice
>>
>> -- Chris
>>
>
> pacman -R $(pacman -Qq | grep -v "$(pacman -Qqg base)")
>
> Though I havn't tested that, it should work :)
>
I was pondering that one last night before bed. Good thing I gave up.
:P . I did test it, except for replacing the pacman -R bit with echo
$(... and it works.
Added to the wiki:
http://wiki.archlinux.org/index.php/Pacman_Tips#Removing_everything_but_base_group
More information about the arch-general
mailing list