[bug-notifications] [pkgutil 0003894]: pkgutil 1.7: -L option only works with the package name, not the software name

Mantis Bug Tracker noreply at opencsw.org
Thu Sep 17 12:02:34 CEST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=3894 
====================================================================== 
Reported By:                skayser
Assigned To:                bonivart
====================================================================== 
Project:                    pkgutil
Issue ID:                   3894
Category:                   regular use
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-09-14 11:16 CEST
Last Modified:              2009-09-17 12:02 CEST
====================================================================== 
Summary:                    pkgutil 1.7: -L option only works with the package
name, not the software name
Description: 
Most other command options work with both (pgk and sw name), the new -L
option only seems to work with the sw name. Can we get it to recognize the
sw name too?

Example:

# pkgutil -L dhcp

# pkgutil -L CSWdhcp | head

/etc/init.d/cswdhcp
/etc/opt/csw/dhcpd.conf.CSW
/etc/rc1.d/K73cswdhcp
/etc/rc2.d/S73cswdhcp
/opt/csw/bin/omshell
/opt/csw/include/dhcpctl.h
/opt/csw/include/isc-dhcp
/opt/csw/include/isc-dhcp/boolean.h
/opt/csw/include/isc-dhcp/dst.h
====================================================================== 

---------------------------------------------------------------------- 
 (0006712) skayser (administrator) - 2009-09-17 12:02
 http://www.opencsw.org/mantis/view.php?id=3894#c6712 
---------------------------------------------------------------------- 
Just tested it. What do you think about emitting a warning message if a
sw/package name could not be resolved/found? Also, might there be some way
to be less catalog-dependent when using the -L option?

I installed sudosh2 from testing/ and then omitted the -t option (i
thought i was querying locally installed pkgs after all).

root @ ray42 ~# pkgutil-r102 -L sudosh2

root @ ray42 ~# 

Putting the -t option back in makes it work.

root @ ray42 ~# pkgutil-r102 -t http://mirror.opencsw.org/opencsw/testing
-L sudosh2
Fetching new catalog and descriptions
(http://mirror.opencsw.org/opencsw/testing/i386/5.10) if available...
Fetching new catalog and descriptions
(http://csw.informatik.uni-erlangen.de/csw/current/i386/5.10) if
available...

/etc/opt/csw/sudosh.conf.CSW
/opt/csw/bin/sudosh
/opt/csw/bin/sudosh-replay
/opt/csw/share/doc/sudosh2
/opt/csw/share/doc/sudosh2/AUTHORS
/opt/csw/share/doc/sudosh2/NEWS
/opt/csw/share/doc/sudosh2/README
/opt/csw/share/doc/sudosh2/changelog
/opt/csw/share/doc/sudosh2/changelog.CSW
/opt/csw/share/doc/sudosh2/license
/opt/csw/share/man/man1/sudosh.1
/opt/csw/share/man/man5
/opt/csw/share/man/man5/sudosh.conf.5
/opt/csw/share/man/man8
/opt/csw/share/man/man8/sudosh-replay.8
/var/opt/csw/sudosh
root @ ray42 ~# 

Side note: There is always one blank line showing up first in the pkgutil
-L output. Is this intended?




More information about the bug-notifications mailing list