Listing ports that have updates available

Warren Block wblock at wonkity.com
Tue Jan 14 05:15:18 UTC 2014


On Mon, 13 Jan 2014, Eduardo wrote:

> El Mon, 13 Jan 2014 06:04:22 -0500
> Jerry <jerry at seibercom.net> escribió:
>> 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.
>>
>
> I use
>
> portmaster -L | grep New
>
> Don't know if it's better or faster or more accurate.

I use

portmaster -L --index-only | egrep '(ew|ort) version|total install'


More information about the freebsd-questions mailing list