Igtenio
August 21st, 2008, 04:17 AM
I'm not sure if this's even possible, but I figured I'd ask...
Is it possible to remove everything, minus a few packages, without having to specify them individually in apt-get?
Here's my current predicament;
I'm making a script that applies certain templates of packages to a machine. I'd like to include an option to remove everything but the command-line installation that's at the base of every Ubuntu installation and variant. And I mean everything.
Would this be possible? Is there some argument or method I'm missing?
I essentially want the equivelent of this;
apt-get remove --purge * +ubuntu-standard
Is it possible to remove everything, minus a few packages, without having to specify them individually in apt-get?
Here's my current predicament;
I'm making a script that applies certain templates of packages to a machine. I'd like to include an option to remove everything but the command-line installation that's at the base of every Ubuntu installation and variant. And I mean everything.
Would this be possible? Is there some argument or method I'm missing?
I essentially want the equivelent of this;
apt-get remove --purge * +ubuntu-standard