Listing ports that have updates available
Matthew Seaman
matthew at freebsd.org
Mon Jan 13 11:38:13 UTC 2014
On 01/13/14 11:04, Jerry wrote:
> I use to use the following to get a list of ports that needed updating:
>
> /usr/sbin/pkg_version -vIL=
>
> Since updating to FreeBSD 10.0-RC3 that option is no longer available.
> Presently, I am using a quick hack to get a list applications that have
> updates available for them:
>
> portversion -v | grep -i "<"
>
> Is there a better method available? I compile all of the software on my
> machine. I don't use "pkg" to install anything.
>
If you have a local copy of /usr/ports with an up to date INDEX, then:
pkg version -vIL=
(just one character's difference) -- or if you're using binary packages,
pkg version -vRL=
Cheers,
Matthew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1029 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20140113/5b80f943/attachment.sig>
More information about the freebsd-questions
mailing list