On 29 Jun 2009, at 14:59, Daniel Macks wrote:

> On Mon, Jun 29, 2009 at 07:42:34PM +0100, Etienne Roesch wrote:
>>
>> Dear list,
>>
>> I have been using fink for a few years now, performing the occasional
>> self-update and update of packages when needed. Once in a while,
>> something in the installation process wouldn't work, but most of the
>> time I found workaround and it is all good in the best possible  
>> world.
>>
>> On Sunday, I decided I would install kde. Unfortunately, something  
>> did
>> go wrong - and I am still unsure how to solve it, but that is not the
>> reason for my email. Installing kde requires A LOT of packages, and
>> now /sw weighs a good 4.41 Go. Most of it comes from tgz and deb
>> files, which the cleanup command doesn't seem to see. (I assume that
>> if the installation had worked okay, most of these files would have
>> been removed, hmm)
>>
>> My questions:
>> 1) How safe is it to manually remove source and deb files?
>> 2) Is it going to affect the installation trees?
>> 3) What is a sanitary way of handling installations, if cleanup
>> doesn't seem to do what it's supposed to do?
>
> 1. Fink will redownload any sources it needs if you do something that
> needs them (i.e., (re)compile a package in order to (re)install
> it). Fink will recompile (or perhaps try to download) and .deb it
> needs it oyu do something that needs them (i.e., (re)install a
> package).
>
> 2. Sources and deb files are not the "live" packages, but part of the
> package-management system to save you from having to redownload and
> recompile the same thing at some time in the future. Depending on the
> package suite, that might be trivial or it might be a day or more of
> CPU time. Fink never removes these automatically--seems like you're
> mis-assuming (based on...?)  how fink will work and then seeing it as
> a functional bug that it's not working that way.
>
> 3. Cleanup does exactly what it claims to do...remove useless or
> obsolete stuff.  Sources and debs for existing and current packages
> are not useles and obsolete because...well, see #1 and #2. You're
> asking for something that is different from the goal of normal
> cleanup.

I assume there is no harm in "sudo rm -fr /sw/src/*" to clean out all  
source files.  Fink would download any needed sources again the next  
time a package rebuild was required.  It would also remove the  
fink.build directory, but I assume that it would be recreated when the  
next package was built.  Is this a safe assumption?

How about "sudo apt-get clean", which cleans out all .deb files.  Will  
that confuse fink in any way?

Kevin Horton



------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to