pkg check -s -a output unusable/incomplete

Milan Obuch freebsd-ports at dino.sk
Sun Dec 7 10:54:55 UTC 2014


On Sun, 07 Dec 2014 11:43:24 +0100
Xavier <xavier at groumpf.org> wrote:

> On 07/12/14 09:38, Milan Obuch wrote:
> 
> > # pkg check -s -a
> > Checking all packages:  24%
> > pkg: pkg_create_from_dir(lstat failed): No such file or directory
> > Checking all packages: 100%
> > #
> > 
> > and no idea now which package needs reinstall.
> 
> Agreed. One need to use verbose output to identifiy the problem.
> 
> Xav
> 

Thanks, 'pkg check -s -a -v' gives a clue here:

[23/91] Checking gettext-tools-0.19.3: checksums...pkg:
pkg_create_from_dir(lstat failed): No such file or directory

Rebuilding/reinstalling gettext-tools-0.19.3 makes a clean check now.
Anyway, in such an anomaly case, I would prefer message in non verbose
check to include package name, at least.

Regards,
Milan


More information about the freebsd-ports mailing list