How to run massive portmaster update without repeated interruptions?
mueller23 at insightbb.com
Sat Oct 27 08:04:48 UTC 2012
On 27 October 2012 12:21, Thomas Mueller <mueller6727 at 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
>I don't remember this ever happening when I used portupgrade.
Robert Backhaus <robbak at robbak.com> responded:
> What it is asking you is permission to delete old distfiles. You have
> two options to add to your portmaster.rc:
> To always remove them without asking, or
> 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
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
Keeping stale distfiles is bad cyber housekeeping and leaves a lot of useless
More information about the freebsd-ports