portmaster not ask for port deletion

Skip Ford skip at menantico.com
Tue Aug 25 19:52:50 UTC 2009


Nenhum_de_Nos wrote:
> On Mon, 24 Aug 2009 12:54:54 -0700
> Doug Barton <dougb at FreeBSD.org> wrote:
> 
> > It sounds to me like what you're seeing is portmaster asking whether
> > or not you want to delete the distfiles after an upgrade. The easiest
> > way to deal with that is to use '-aD' and then when it's done use
> > either --clean-distfiles or --clean-distfiles-all. Once again, see the
> > man page for more information on those options.
> 
> I just want to fire the command and it work alone till is done.

Good luck with unattended runs of portmaster.  That's the only real
remaining shortfall of portmaster, IMO.  It still needs hand-holding
to finish its job often times.

For example, I just did the big rebuild you're getting ready for.
I spent a good 45 minutes updating ports.conf beforehand, fetching a good
number of distfiles in advance, and configuring ports before starting the
massive build.  I also told portmaster to ignore 3 ports (1 broken, 2
would most likely fail to build for one reason or another.)

So, I started the build and left.  Came back 7 hours later and portmaster
had barely run an hour and was stuck waiting for input.  What was so
important?  It wanted to know if it should go ahead an update the 3 ports
that I had just explicitly told it not to upgrade 10 minutes before I
started it (by using .IGNOREME files).  Of course I don't want it to
upgrade them anyway.  If I wanted them upgraded, I wouldn't have installed
IGNOREME files.

So, portmaster still needs some hand-holding compared to other tools.
But, it still beats portupgrade IMO.

-- 
Skip


More information about the freebsd-stable mailing list