Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Sep 2014 09:18:16 -0600 (MDT)
From:      Dale Scott <dalescott@shaw.ca>
To:        Rick Miller <vmiller@hostileadmin.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>, Ruben Schade <newsgroups@rubenschade.com>
Subject:   Re: pkg must be version 1.3.8 or greater
Message-ID:  <4AA66D80-755C-434E-AB0D-39EE0A3A12B9@shaw.ca>
In-Reply-To: <CAHzLAVG1dX1xixHCfT6UyW8nW2LmN6ff-P4nmPiqDtkCLTGaAA@mail.gmail.com>
References:  <lvr4sc$9f6$1@ger.gmane.org> <CAHzLAVG1dX1xixHCfT6UyW8nW2LmN6ff-P4nmPiqDtkCLTGaAA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Sep 24, 2014, at 3:44 AM, Rick Miller <vmiller@hostileadmin.com> wrote=
:
>=20
> On Tue, Sep 23, 2014 at 2:44 AM, Ruben Schade <newsgroups@rubenschade.com=
>
> wrote:
>=20
>> Hi everyone,
>>=20
>> Running FreeBSD amd64 10.0-RELEAESE-p9. Installed everything from pkg,
>> very nice system.
>>=20
>> Prefer building nginx from ports, so portsnapped the latest tree and did
>> the usual:
>>=20
>>> # cd /usr/ports/www/nginx
>>> # make install clean
>>=20
>> Got the following error:
>>=20
>> =3D=3D=3D>  nginx-1.6.2,2 pkg(8) must be version 1.3.8 or greater, but y=
ou have
>> 1.3.7. You must upgrade pkg(8) first.
>>=20
>> Running pkg update however:
>>=20
>>> FreeBSD repository is up-to-date.
>>> All repositories are up-to-date.
>>=20
>> And pkg upgrade:
>>=20
>>> Updating FreeBSD repository catalogue...
>>> FreeBSD repository is up-to-date.
>>> All repositories are up-to-date.
>>> Checking for upgrades (1 candidates): 100%
>>> Checking integrity... done (0 conflicting)
>>> Your packages are up to date.
>>=20
>> Fairly new to pkgng, could that "1 candidates" line be the updated pkg I
>> need in waiting?
>=20
>=20
>=20
> Scenarios like this are the reason I've deployed and been using Poudriere
> to build private repos because intermingling the two systems has proven t=
o
> introduce numerous challenges through my own experiences and observations
> on a number of mailing lists.

I respectfully disagree that combining the two is unworkable, although I am=
 only dealing with two apps built from ports (and 20'ish from binary packag=
es).

> It is simple to setup a system to build private repos with Poudriere, but
> one doesn't even need Poudriere to do it.  A private repo is as simple to
> build as building the packages via Ports, copying them to your repo
> directory, and running `pkg repo` on it.

That's not as hard as I thought, but still more steps. If I hit the wall wi=
th my simple strategy I'll try yours.

Dale




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AA66D80-755C-434E-AB0D-39EE0A3A12B9>