Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2016 22:03:45 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Matthias Andree <matthias.andree@gmx.de>
Cc:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: Portmaster still be dissin' jive,bros
Message-ID:  <CAN6yY1vbU7eoDeWAJ=FJm8dSJufwsDHVH%2BpAGB6ZF9rD5DsoJA@mail.gmail.com>
In-Reply-To: <e3e605a1-aedd-b741-8806-4b3e50b2e247@gmx.de>
References:  <20161024153814.Y4005-100000@main.put.com> <e3e605a1-aedd-b741-8806-4b3e50b2e247@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 26, 2016 at 1:48 PM, Matthias Andree <matthias.andree@gmx.de>
wrote:

> Am 24.10.2016 um 21:42 schrieb Louis Epstein:
> > The technical issue persists that I can not update via portmaster because
> > I installed misc/jive out of sheer curiosity over its unprecedented MOVED
> > message.
> workarounds wirth trying - but untested (alternative):
>
> 1. pkg delete -fy jive
>
> 2. run portmaster with an explicit set of ports, for instance in bash
> (other shells may not grok the POSIX $(...) )
>     portmaster -d $(pkg version -Ivl\<| cut -f1 -d\< | xargs pkg info -qo)
> or: bash -c 'portmaster -d $(pkg version -Ivl\<| cut -f1 -d\< | xargs
> pkg info -qo)'
>

I have tested this and it works. First, don;t delete anything you want to
keep.  It.s not relevant.
# make -C /usr/ports fetchindex (or get it in any ot the several other ways
including building from scratch (slow).)
# pkg version -vL=
I do these steps in periodic every night.
I also do 'svn up /usr/ports' in the periodic script, but you can also just
update the out-of-date ports with 'svn up /usr/ports/class/port' for the
ports listed as needing updating,
Then run portmaster with the list of ports from the pkg above marked with
'<' as needing update. Also note any marked '?' and take appropriate action.

I quit doing 'portmaster -a' because it took so long to scan through all
ports, but it also solves you problem. (portmaster may now be using the
index and -a may not take so long.)
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vbU7eoDeWAJ=FJm8dSJufwsDHVH%2BpAGB6ZF9rD5DsoJA>