On 27 October 2012 12:21, Thomas Mueller <mueller6...@bellsouth.net> wrote:
> When updating many ports with portmaster, I get frequent interruptions with a 
> prompt such as
> ===>>> Delete gstreamer-0.10.35.tar.bz2? y/n [n]

>How do I avoid this inefficiency?  I don't see any way to say "yes, and please 
>don't ask again!"

> My /usr/local/etc/portmaster.rc is

> MAKE_PACKAGE=gopt
> SAVE_SHARED=wopt
> PM_LOG=/var/log/portm.log
> NO_BACKUP=Bopt

>I don't remember this ever happening when I used portupgrade.

> Tom

Robert Backhaus <rob...@robbak.com> responded:

> What it is asking you is permission to delete old distfiles. You have
> two options to add to your portmaster.rc:

> ALWAYS_SCRUB_DISTFILES=dopt
> To always remove them without asking, or

> DONT_SCRUB_DISTFILES=Dopt
> To never delete them. Your distfiles directory will quickly get
> massive if you don't do something about stale distfiles.

I saw that in 'man portmaster' and /usr/local/etc/portmaster.rc.sample , 
but I thought the files I was prompted for on deletion were the built
packages rather than the distfiles.  Examining /usr/packages/All and
/BETA1/usr/ports/distfiles showed me that those files in question were
outdated distfiles.

So I added DONT_SCRUB_DISTFILES=Dopt to /usr/local/etc/portmaster.rc in
another virtual terminal when I was prompted on deletion.  This had no effect
on the current paused portmaster run but will hopefully work on subsequent
portmaster runs.

Keeping stale distfiles is bad cyber housekeeping and leaves a lot of useless
freight.


Tom

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to