pkgchk is a system 5 utility and is only legacy support in OpenSolaris. Look at the IPS command "man pkg"

motie:/home/lw31248 ->pkg search /usr/bin/cp
INDEX      ACTION VALUE      PACKAGE
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.75
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.93
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.94
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.99
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.90
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.98
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.100
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.101
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.97
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.86
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.95
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.101
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.79
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.89
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.91
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.96
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.111
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.86
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.134.0.1
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.101
path       file   usr/bin/cp pkg:/sun...@0.5.11-0.75


Adil Mujeeb wrote, On 05/18/10 04:00:
Hi All,

I am learning OpenSolaris packaging system.

I would like to create binary pacakge from source package (Using these 
terminology as i have Linux background where i have created binary RPM from 
source RPM). But i am not able to locate any source package. Is there any 
repository which contains source pacakges (similar to src.rpm) from which i can 
generate binary pacakge (IPS)?

I thought of looking at the core package. for example i check the cp command 
package but the command is not giving me the package name:


r...@opensolaris:~# pkgchk -l -p /usr/bin/cp
r...@opensolaris:~#

In Linux, cp is part of coreutils RPM pacakge.

Regards,
Adil

_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to