LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 02-22-2009, 09:22 AM   #1
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Solaris 10/11 , RHEL 6 ,AIX 7.1
Posts: 185

Rep: Reputation: 32
Solaris installing package dependencies check?


On Linux System system if dependency is not met package do not install.

We can check dependency for particular package before installing it.


On Solaris so for I did not find the way how can I check the dependency for some package.

Like I install apache

pkgadd -d /cdrom/soairs10/../Product SUNWapachu

This command installed the SUNWapachu package and does not tell or give any error about its required dependencies.

How can I check what are the dependency list for this package?
 
Old 02-22-2009, 10:57 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Welcome to the wonderful world of Solaris package and patch management.

Have a look here:
http://blogs.sun.com/gbrunett/entry/...kage_companion

Dave
 
Old 02-22-2009, 04:51 PM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,493

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Quote:
Originally Posted by LinuxLover View Post
On Linux System system if dependency is not met package do not install.
Same with Solaris which as far as I know was the first Unix (SVR4) to implement Software packaging before Linux distributions started to do the same with .rpm and later .deb.
Quote:
On Solaris so for I did not find the way how can I check the dependency for some package.
You don't need to. The installer checks for dependencies and complain if they aren't met.
Quote:
Like I install apache

pkgadd -d /cdrom/soairs10/../Product SUNWapachu

This command installed the SUNWapachu package and does not tell or give any error about its required dependencies.
Do you mean the package did install but doesn't works because of a missing dependency ? That would be a bug.
Quote:
How can I check what are the dependency list for this package?
You can use that command:
Code:
cat /var/sadm/pkg/SUNWapchu/install/depend
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
check bin or package dependencies? ldeveloperxl Linux - Software 4 11-10-2007 03:08 AM
Getting failed dependencies while installing the "nessus" package rpm on WRLinux manohare Linux - Software 0 10-09-2007 08:52 AM
Failed dependencies /bin/sh, libc.so.6... when installing rpm package Vilenjak Linux - Newbie 4 03-19-2007 06:08 PM
How to check if a package(eg. gdebi)will be available in 'Etch' as binary package? Akhran Debian 4 08-28-2006 11:53 AM
installing package without dependencies check noir-gel Linux - General 2 03-03-2003 08:29 PM


All times are GMT -5. The time now is 11:42 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration