Operating Systems > Linux and UNIX
Debian 3.1 bloated my NAT-box
ksym:
I just dist-upgraded my Debian 3.0 distro to Debian 3.1,
and the dist-upgraded happened to install all kinds of
useless components (like gnome and kde runtimes, as well
as the X-server).
Do you people have any good spells i could cast to
drive out the "uninvited demons"? =)
A series of dpkg -r or aptitude -commands wanted.
I mean, i want to get rid of ALL gnome, kde and X-server
components.
Currently i have only 10 M free disk space left,
utterly frustrating ...
And yes, i am a lazy bastard who can't write in engliszh.
Thanks beforehand.
Refalm:
What is your primary language?
Doesn't Debian have that apt stuff to manage packages?
ksym:
--- Quote from: Refalm ---What is your primary language?
Doesn't Debian have that apt stuff to manage packages?
--- End quote ---
My primary language is Finnish.
And yes, apt is teh package management for Debian, but
afaik I would need to remove the un-needed CRAP
manually. That would take time, since there are now about
60 packages that i do not need.
And i am not that good in regexp/command-line script
coding ... so i'm just asking you gurus for some help
in this one.
Like i said, i am really lazy ;)
muzzy:
so lazy that you'll post here about your own incompetence to administrate your os of choice? instead of just administrating it? it's your damn system, you know what packages you need, nobody else does. clean it up yourself already. pffft.
solemnwarning:
--- Code: ---#!/usr/bin/perl
#Get rid of crap script
#By solemnwarning
$remove_list_e = (-e "/root/.remove_script") ? "exists" : "absent";
if($remove_list_e eq "absent") {
print "Removing Gnome, please wait........\n";
system("/usr/bin/apt-get --purge remove gnome");
print "Removing KDE, please wait........\n";
system("/usr/bin/apt-get --purge remove kde");
print "Removing X, please wait........\n";
system("/usr/bin/apt-get --purge remove x-window-system");
open(TXT, ">/root/.remove_script");
print TXT "Done x, gnome, kde";
close(TXT);
}
$custom_list_e = (-e "/root/remove.txt") ? "exists" : "absent";
if($custom_list_e eq "exists") {
print "Found a custom remove script, removing packages on list\n";
open(TXT, "
Navigation
[0] Message Index
[#] Next page
Go to full version