Re: [Pkgutil-users] Compare available packages to those installed
Status: Beta
Brought to you by:
bonivart
|
From: Mark R B. <ma...@pr...> - 2010-09-30 08:46:48
|
On 29/09/2010 17:15, Peter Bonivart wrote: > On Wed, Jul 28, 2010 at 2:19 PM,<ma...@pr...> wrote: >> An uncontroversial patch, I hope, is attached. >> >> This patch can be applied to pkgutil-2.1 (rev 286). >> >> It adds the following: >> >> * New option added, pkgutil -A (--compare-available), that is similar to pkgutil -c, except that it lists the packages in the catalogue and compares them with the installed version (or says "not installed"). >> * pkgutil -C now has a long option equivalent; --compare-different. >> >> I'm immediately finding a use for this feature, and hope you do too. > Actually, I never liked how pkg-get displayed thousands of lines with > "not installed" (I always used it "|grep -v not") so my default was to > filter those out. Now you're asking for that! :-) > > The patch has been committed (r297). Sorry for it taking so long. > Thanks Peter, the reason I needed the option was because I'm implementing a "software policy" approach where an internal catalogue actually defines all the software that servers subscribing to the policy should have installed. I can run pkgutil -A to determine if a server is 100% compliant or not with that policy. |