pkg must be version 1.3.8 or greater

Andrew Berg aberg010 at my.hennepintech.edu
Wed Sep 24 07:53:52 UTC 2014


On 2014.09.23 01:44, Ruben Schade wrote:
> Hi everyone,
> 
> Running FreeBSD amd64 10.0-RELEAESE-p9. Installed everything from pkg, 
> very nice system.
> 
> Prefer building nginx from ports, so portsnapped the latest tree and did 
> the usual:
> 
>  > # cd /usr/ports/www/nginx
>  > # make install clean
> 
> Got the following error:
> 
> ===>  nginx-1.6.2,2 pkg(8) must be version 1.3.8 or greater, but you 
> have 1.3.7. You must upgrade pkg(8) first.
> 
> Running pkg update however:
The newer version of pkg isn't in the repo yet. Since you are building nginx
from an up-to-date ports tree, you can build pkg from it. Packages from the
official repo are built from a ports tree that can lag behind by about a week
by the time the builds are finished, and sometimes something you want to build
from ports needs some change or addition that new.



More information about the freebsd-questions mailing list