tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg_chk fails to extract pkgname



On Thu, Apr 02, 2020 at 06:52:13PM +0200, Martin Husemann wrote:
> I just did an update of all my pkgs on a NetBSD-current system and
> (for reasons totaly unclear to me) now everything using pkg_chk fails:
> 
> ** x11/rxvt - Unable to extract pkgname
> ** editors/ce - Unable to extract pkgname
> ** audio/mpg123 - Unable to extract pkgname
> 
> The pkg_chk script itself is unchanged, so something in -current must have
> broken it - sh? awk? sed? Or something in pkgsrc?

No, it is pkg_chk being broken.

It requires either the summary file (which I don't have) or the -b option
for the -l operation to work.

With the usage above the $PKGDB variable is empty and it can not map dirs
to names.

Martin


Home | Main Index | Thread Index | Old Index