Mantis - pkg_get
Viewing Issue Advanced Details
3990 regular use major always 2009-11-03 09:07 2009-11-04 14:02
skayser  
bonivart  
normal  
closed  
fixed  
none    
none  
0003990: pkgutil 1.8: -c/-C do not only compare CSW packages
pkgutil 1.8 seems to compare non-CSW packages also. This is extremely irritating when running with -C to see which CSW packages would be updated. Is this intended behavior (couldn't see anything related in the changelog)?

# pkgutil -v
1.8
# pkgutil -C
...
SUNWbzip 11.10.0,REV=2005.01.08.01.09 not in catalog
SUNWcacaodtrace 2.1.0,REV=2007.02.15 not in catalog
SUNWcacaort 2.0,REV=15 not in catalog
SUNWcadp 11.10.0,REV=2005.01.17.23.31 not in catalog
SUNWcakr 11.10.0,REV=2005.01.21.16.34 not in catalog
...

I know that i can work around it by using "pkgutil -C CSW".
Issue History
2009-11-03 09:07 skayser New Issue
2009-11-03 09:21 skayser Note Added: 0006941
2009-11-03 10:38 bonivart Note Added: 0006944
2009-11-03 10:38 bonivart Status new => assigned
2009-11-03 10:38 bonivart Assigned To => bonivart
2009-11-03 11:04 skayser Note Added: 0006946
2009-11-04 14:02 bonivart Note Added: 0006951
2009-11-04 14:02 bonivart Status assigned => closed
2009-11-04 14:02 bonivart Resolution open => fixed

Notes
(0006941)
skayser   
2009-11-03 09:21   
Interesting, i just ran pkgutil 1.8 on another system and there it works as expected. -C only includes CSW packages for comparison purposes. Any idea why this could be?
(0006944)
bonivart   
2009-11-03 10:38   
I guess you have noncsw=true in pkgutil.conf and then you have kind of volunteered for this. :-) As you mentioned, it's easy to filter the output of -a/c/C.
(0006946)
skayser   
2009-11-03 11:04   
Spot on, thanks for clearing up my confusion! Could you maybe extend the description of noncsw in the man page? I activated noncsw to be able to install self-built, site-specific packages and somehow didn't realize that this does not only affect installation but operations like -C also.
(0006951)
bonivart   
2009-11-04 14:02   
I have tried to clarify it in pkgutil.conf now with an extra note about this (and how to filter it if wanted).