Way to know what require update packages with PKGNG
Yasuhiro KIMURA
yasu at utahime.org
Sun Jan 13 09:42:55 UTC 2013
From: Matthew Seaman <matthew at FreeBSD.org>
Subject: Re: Way to know what require update packages with PKGNG
Date: Sun, 13 Jan 2013 08:46:44 +0000
>> % pkg_info -R `find /var/db/pkg -name +DESC -newer /usr/ports/INDEX-9 -print | sed 's|/var/db/pkg/\(.*\)/+DESC|\1|'`
>
> This does the exact equivalent of your one-liner above: find the
> packages that were installed or updated more recently than the ports
> index was last modified:
>
> pkg query -e "%t > `stat -f %m /usr/ports/INDEX-9`" "%n-%v"
Surely It is what I want to know. Thank you very much !
---
Yasuhiro KIMURA
More information about the freebsd-ports
mailing list