Max replied to a question about removing old .debs/old source files/ /sw/fink.old via a new fink command named "fink cleanup" or something similar (see below for full details)
If I had my druthers/I was making the command, I'd have to give a couple of sub-options: fink cleanup keep-stable Throw away old .debs from unstable & stable tree, keeping the newest stable and newest unstable versions of each package fink cleanup lose-stable Throw away _all_ old .debs, including the newest stable version _if_ a newer version from unstable is installed. fink cleanup [keep/lose]-stable-source Throw away files in /sw/src as well as .debs, in pattern like above two options. fink cleanup selfupdate Removes /sw/fink.old I'd suggest that the default behavior for "fink cleanup" should be the above described "fink cleanup keep-stable", and they _could_ be aliased to each other. I imagine you could implement most of this using scripted "fink remove <pkg>-<ver>-<fink rev>" calls. Slan, Liam > At 19:20 Uhr -0500 17.01.2002, Jim Saklad wrote: > >Is there a good reason for retaining /sw/fink.old/ (which has about > >97 MB in it on my system)? > > No, you can safely remove it. > > >I am self-updated to 0.3.2a > > The fink.old dir is only kept for security, in case something goes > really really wrong during the selfupdate. This way, you can move it > back if everything worked out fine. > > > > > >Also, in /sw/fink/dists/stable/main/binary-darwin-powerpc/base I have: > > > > base-files_1.4-1_darwin-powerpc.deb > > base-files_1.5-1_darwin-powerpc.deb > >debianutils_1.15-4_darwin-powerpc.deb > > fink_0.9.5-1_darwin-powerpc.deb > > fink_0.9.6a-1_darwin-powerpc.deb > > fink_0.9.7-1_darwin-powerpc.deb > > gettext_0.10.40-2_darwin-powerpc.deb > > ncurses_5.2-6_darwin-powerpc.deb > > > >Is there any reason *not* to remove the older of the duplicates? > > You should be safe to remove them. However, fink isn't doing this > automatically, for various reasons, one being that you might want to > go back to an older version of a given package. > > You can also remove stuff from /sw/src, esp. any subdirectories of it. > > We might want to add a "fink cleanup" (well, maybe a better name > would be apporpriate :) which does stuff like this automatically, > with a configurable "cleanness" level. > > > Max > -- > ----------------------------------------------- > Max Horn > Software Developer > > email: <mailto:[EMAIL PROTECTED]> > phone: (+49) 6151-494890 > > _______________________________________________ > Fink-beginners mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/fink-beginners > _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners
