find out dependent Solaris 10 x86 packages in advance

in RHEL, I can find out the dependent packages in advance by
   rpm -q --whatrequires package_name  or
   yum dep_list package_name
before actual day of doing "rpm -ivh ./package_name", then
only found out what's the missed dep pkgs & having to start
downloading them on the day of installation.

For Solaris 10 x86  packages, what's the equiv commands/steps
to find out the dependent packages in advance?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Previously a test pkgadd will tell you if there are missing dependencies. Not sure if pkginfo would list the info, though the depend within the package ...

How current is your patch level?
pkgdep was added ref:
sunhuxAuthor Commented:
Our Solaris 10  patch-level is before 119255-85  :
so I have to apply at least this patch (or later) to be able to use pkgdep ?

try using the pkginfo -l <package name> see whether it includes a dependency list

pkginfo is a way to see.
The other option is to convert the data streem package to expanded one so that you can navigate the directory structure and see the depend/script ..
Get a highly available system for cyber protection

The Acronis SDI Appliance is a new plug-n-play solution with pre-configured Acronis Software-Defined Infrastructure software that gives service providers and enterprises ready access to a fault-tolerant system, which combines universal storage and high-performance virtualization.

Joseph GanSystem AdminCommented:
In Solaris, each package or patch comes with a Readme file, that file will list all the dependency.
sunhuxAuthor Commented:
how do we extract that readme file from the pkg file?
Joseph GanSystem AdminCommented:
The readme file should be separated from the pkg file.
Joseph GanSystem AdminCommented:
This was an example of Readme file looks like:
You would need to use pkgtrans to convert the package (expand to a folder )

Be gore going this route, look whether pkginfo in various modes includes the info.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial

For Solaris you can also look at the contents of the particular depend file i.e.:

cat /var/sadm/pkg/package_name/install/depend

Open in new window

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.