'pkg version' strangeness - No valid entries found

Adam Weinberger adamw at adamw.org
Wed Jun 28 12:01:47 UTC 2017


> On 28 Jun, 2017, at 4:24, Andy Farkas <andyf at andyit.com.au> wrote:
> 
> 
> 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                   =   up-to-date with port
> OpenEXR-2.2.0_7                    =   up-to-date with port
>   .
>   .
>   .
> zenity-3.18.0                      =   up-to-date with port
> zip-3.0_1                          =   up-to-date with port
> zziplib-0.13.62_2                  =   up-to-date with port
> root#
> root# fg
> make index
>   .
>   .
>   .
> 
> ..and after it finishes I get 'No valid entries' error again for 'pkg version'
> 
> Anyone know what's going on and/or how to fix?
> 
> "no entry for /usr/ports/:lang/perl5.22/" looks suspect...

It may be a typo in your make.conf.

If you have
	DEFAULT_VERSIONS+= perl5=lang/perl5.22
It should be
	DEFAULT_VERSIONS+= perl5=5.22

# Adam


-- 
Adam Weinberger
adamw at adamw.org
https://www.adamw.org



More information about the freebsd-ports mailing list