Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2017 06:01:38 -0600
From:      Adam Weinberger <adamw@adamw.org>
To:        Andy Farkas <andyf@andyit.com.au>
Cc:        ports@freebsd.org
Subject:   Re: 'pkg version' strangeness - No valid entries found
Message-ID:  <6F66E187-08D9-4C2F-866B-9102A09ACC93@adamw.org>
In-Reply-To: <595383D7.70704@andyit.com.au>
References:  <595383D7.70704@andyit.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 28 Jun, 2017, at 4:24, Andy Farkas <andyf@andyit.com.au> wrote:
>=20
>=20
> root# cd /usr/ports
> root# make index
> Generating INDEX-11 - please wait..--- describe.accessibility ---
> --- describe.arabic ---
> --- describe.archivers ---
>   .
>   .
>   .
> --- describe.x11-toolkits ---
> --- describe.x11-wm ---
> make_index: /usr/ports/archivers/atool: no entry for =
/usr/ports/:lang/perl5.22
> Done.
> root#
> root# pkg version -v
> pkg: No valid entries found in '/usr/ports/INDEX-11'
> root#
> root# make index
> Generating INDEX-11 - please wait..--- describe.accessibility ---
> --- describe.arabic ---
> --- describe.archivers ---
> --- describe.astro ---
> --- describe.audio ---
> --- describe.benchmarks ---
> ^Z
> Suspended
> root#
> root# pkg version -v
> ImageMagick-6.9.6.4_1,1            <   needs updating (port has =
6.9.8.9,1)
> ORBit2-2.14.19_2                   =3D   up-to-date with port
> OpenEXR-2.2.0_7                    =3D   up-to-date with port
>   .
>   .
>   .
> zenity-3.18.0                      =3D   up-to-date with port
> zip-3.0_1                          =3D   up-to-date with port
> zziplib-0.13.62_2                  =3D   up-to-date with port
> root#
> root# fg
> make index
>   .
>   .
>   .
>=20
> ..and after it finishes I get 'No valid entries' error again for 'pkg =
version'
>=20
> Anyone know what's going on and/or how to fix?
>=20
> "no entry for /usr/ports/:lang/perl5.22/" looks suspect...

It may be a typo in your make.conf.

If you have
	DEFAULT_VERSIONS+=3D perl5=3Dlang/perl5.22
It should be
	DEFAULT_VERSIONS+=3D perl5=3D5.22

# Adam


--=20
Adam Weinberger
adamw@adamw.org
https://www.adamw.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6F66E187-08D9-4C2F-866B-9102A09ACC93>