M. Singh wrote: > Martin Costabel wrote: >> M. Singh wrote: >>> Hello, >>> >>> $ du -skh /sw >>> 904M >>> >>> $ fink install gimp2 >>> >>> (I interrupt this process midway). >>> >>> $ fink cleanup --all >>> >>> $ du -skh /sw >>> 1.2 G >>> >>> What gives ? >> When fink finishes building a package, it cleans up by removing the >> build directory (unless you use the -k or -K flags to tell fink to keep >> the build directories). But if you interrupt the build process midway as >> you did, the build directory remains. Have a look at /sw/src/fink.build, >> where these build directories reside. >> >> Fink also keeps all the downloaded sources in /sw/src, unless you use >> "fink cleanup", see "man fink". > > Then this must be a bug report. As I stated in my previous post (see > above, I *did* use fink cleanup --all).
fink cleanup --all does not remove source tarballs that are used by packages currently known to fink. The only source tarballs that it removes are for packages that no longer exist in its database. > The sources were present in /sw/src as you indicated. > >> If you have problems with disk space, you can remove everything in >> /sw/src, except the directory /sw/src/fink.build. > > Did that. Now I have most of my space back (other than the generated > object files in the subtree of fink.build, I guess). Keep the directory /sw/src/fink.build, remove the _contents_ of that directory. > Is it possible to specify that fink discard these object files once it > is done building a deb ? Seems kind of wasteful to keep them around. Besides, builds that finish properly do remove their source tree and object files in fink.build, so unless you explicitly used the -k or -K flags, there should be nothing there if your builds finish properly. Only builds that fail to finish properly (build error or user termination) leave their contents behind (for troubleshooting). Hanspeter -- Hanspeter Niederstrasser hanspeter AT snaggledworks DOT com ------------------------------------------------------------------------------ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
