Listing ports that have updates available

Jerry jerry at seibercom.net
Mon Jan 13 12:42:24 UTC 2014


On Mon, 13 Jan 2014 11:37:52 +0000, Matthew Seaman stated:

> 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=

Thanks

-- 
Jerry


More information about the freebsd-questions mailing list