[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Removing desktop environments



On Mon February 5 2007 15:29, cga2000 wrote:
> On Mon, Feb 05, 2007 at 02:13:31PM EST, Alan Ianson wrote:
> > On Sun February 4 2007 14:37, cga2000 wrote:
> > > I did notice that /usr/share/ has over 700M of stuff in it and this
> > > looks suspicious.
> >
> > That sounds about right. I have a base install plus kde and my
> > /usr/share/ is 1.8G. :)
>
> Since we're both debian "/usr"s .. maybe you could "/share" it with me
> so I could get rid of mine..?

Sure, I could set that up on an nfs share. ;) It might not be in sync with 
what you have installed but it's doable.

> apart from the doc/ tree -- I could probably view those docs online if I
> ever .. ever ..  need to .. seems that all the locales that I have no
> use for .. fonts .. (from various packages) .. and games (tuxracer in
> particular) .. account for most of the 700M.

Yep, I have a few games like tremulous installed, it wouldn't surprise me if 
those account for a gig of that..

> I don't really want to just start deleting stuff in /usr/share/ one
> directory at a time because most of it is part of packages that I don't
> want to remove and I'd rather stay on good terms with apt.  I don't think
> there's a way to tell apt -- OK .. So, I've read the README and the
> debian-README and the changelog ..  and the release notes .. I very mych
> doubt I will read them again ..  please remove them.

I suspect (but haven't tried it) apt would be ok with stuff from /etc/share 
just going away. It would be put back on upgrade though with the new stuff.

If I had a need to clear disk space I would do it but I'd be very careful 
about loosing necessary data lest something inexplicably stop working. Hard 
drives are so cheap nowadays I'd opt for more disk space first if that's 
doable.

> What bothers me, though, is that a lot of the stuff in /usr/share/ --
> one Meg here .. 600K there .. etc. apparently belongs to packages I have
> removed (apt-get remove package-name) .. Probably adds up to a hundred
> Meg or thereabout .. Looks like I should have specified a purge flag or
> whatever and I would probably have freed up a couple more hundred
> Megs.. probably too late now.

Whenever I remove a package I always purge except system stuff I'll generally 
leave the config there in case I want to revisit it. Back when I used dselect 
packages that had config or other data that could be purged where marked with 
a - instead of _, I suspect aptitude is the same but haven't used aptitude to 
purge anything yet. I thought purging only purged the config files but maybe 
it will also purge other data in /usr/share/ but I have yet to try that and 
see myself.



Reply to: