Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jun 2021 14:25:51 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Updating /usr/ports
Message-ID:  <20210601142551.6629ea08@gumby.homeunix.com>
In-Reply-To: <CAN6yY1vRe_c0XHf2b-C3hHS5jiQiJ2EjSdLdQ-3vC860Gky83A@mail.gmail.com>
References:  <20210528144112.GA961@lena.kiev> <CAN6yY1v7YCXseGBQLbWLimbTZJLvzSPJak9LTu1rWLbPoNk83g@mail.gmail.com> <20210529232045.1ce80e04@gumby.homeunix.com> <CAN6yY1vRe_c0XHf2b-C3hHS5jiQiJ2EjSdLdQ-3vC860Gky83A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mon, 31 May 2021 16:59:00 -0700
Kevin Oberman wrote:

> On Sat, May 29, 2021 at 3:21 PM RW via freebsd-questions <
> freebsd-questions@freebsd.org> wrote:  

> > I was just reading the man page for pkg-version; by default the
> > order it tries is INDEX, ports tree, package repository.
> >
> > This seems strange to me as I would have expected it to default to
> > the repository.
> >    
> Using repo is probably not a good way to go as people
> maintaining a local ports tree are likely to build ports where the
> repo could be days behind the tree.   

Having a ports tree doesn't necessarily mean that that you build
mainly from ports.  I keep it around for information, and to build one
port with patches. More importantly, a new user might install the tree
out of curiosity, but use the repository.

IMO the natural assumption is that a package tool compares versions
with the repository, not that it changes its default based on a guess
about what you are trying to do. 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210601142551.6629ea08>