[pca] new "pkgdep" command

Jeff Earickson jaearick at colby.edu
Thu May 3 16:18:26 CEST 2012


All,

If you have mucked with perl on Solaris, beware.  Here is what I got:

(71)> /usr/sbin/pkgdep -v SUNWgzip
Can't locate Sun/Solaris/Utils.pm in @INC (@INC contains:
/opt/perl5/lib/site_perl/5.12.1/sun4-solaris
/opt/perl5/lib/site_perl/5.12.1 /opt/perl5/lib/5.12.1/sun4-solaris
/opt/perl5/lib/5.12.1 /opt/perl5/lib/site_perl/5.10.1
/opt/perl5/lib/site_perl .) at /usr/sbin/pkgdep line 13.
BEGIN failed--compilation aborted at /usr/sbin/pkgdep line 13.

I installed later versions of perl in /opt and Sun's /usr/bin/perl got
overwritten by my version.  I did find Sun/Solaris/Utils.pm in
/usr/perl5/5.8.4/lib, but I haven't figured out how to get this stuff
copied from there to /opt/perl5/lib to get pkgdep to work.  I hope
this doesn't bite me later...

Jeff Earickson
Colby College


On Thu, May 3, 2012 at 5:06 AM, Martin Paul <martin.paul at univie.ac.at> wrote:
> Not directly related to PCA, but might be handy: In the README of the new
> revision of the "Install and Patch Utilities Patch" for Solaris 10
> (119254-84, 119255-84) I spotted this:
>
>  5012345 request for tool to list package dependencies
>
> And indeed, the patches include a new script /usr/sbin/pkgdep, which prints
> dependencies of a given package. E.g.:
>
> $ pkgdep -v SUNWgzip
> SUNWcar - Core Architecture, (Root)
> SUNWcsd - Core Solaris Devices
> SUNWcsl - Core Solaris Libraries
> SUNWcsr - Core Solaris, (Root)
> SUNWcsu - Core Solaris, (Usr)
> SUNWkvm - Core Architecture, (Kvm)
>
> hth, Martin.
>



More information about the pca mailing list