Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2014 17:21:56 +0100
From:      "Steven Hartland" <killing@multiplay.co.uk>
To:        "Andriy Gapon" <avg@FreeBSD.org>, <freebsd-ports@FreeBSD.org>
Subject:   Re: pkgng multi-repository support description
Message-ID:  <899AD4B2287A42ECBA65930F0204F1CF@multiplay.co.uk>
References:  <525F9F17.4020509@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- 
From: "Andriy Gapon" <avg@FreeBSD.org>

> Is there a document that describes how pkgng multi-repository support works?
> I am trying to understand what pkgng does when different versions of the same
> package are present in different repositories.
> 
> Practically, I want to achieve the following.
> One repository is designated as primary.  If a package is present in the primary
> repository, then its presence in other repositories is completely ignored.
> 
> Alternatively, the following could also work for me.
> A package remembers from what repository it was originally installed and all
> future upgrades are taken from the same repository.
> 
> What I want to avoid is a package flip-flopping between being installed from
> different repositories depending on their update pace.  This is useful e.g. when
> I have my local repository for some packages that I want to build with special
> options but I also want to install all other packages from some other repository
> which is not under my control.  So I fear that the other repository gets a newer
> version of a package than what my repository has, then pkg upgrade would upgrade
> the package and thus it won't have any customizations until my repository
> catches up.
> 
> Thank you very much.
> 
> P.S. https://github.com/freebsd/pkg#multirepos seems to be outdated?

Did you ever figure this one out?

In our case we want to tell pkg to only use repro XYZ from the ones availble,
for example without having to delete /etc/pkg/FreeBSD.conf.

    Regards
    Steve



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