Check that supersede of package version is installed


 
Thread Tools Search this Thread
Operating Systems Solaris Check that supersede of package version is installed
# 8  
Old 08-19-2014
Can you provide a factual example of a required package and its expected minimal version?

After patching, the version might be unchanged. That's the whole point of patching vs updating, but patching only apply to Solaris OS packages, not for third party/external ones.

Moreover, the whole package system has radically changed between Solaris 10 and Solaris 11.
# 9  
Old 08-19-2014
Ok. For example - I need package libC and patch 119963-26 or higher(Shared library patch for C++). So what I have planned to do is to take machine with those patch installed and take version of SUNWlibC package (5.10 at my machine) there - as minimum...
You says - it will not work? What can work?
# 10  
Old 08-19-2014
There is no ad hoc toll I'm aware of to achieve what you want but its not that complex to implement.

Under Solaris 10, you check if a package is installed with "pkginfo", its version doesn't change when patched. You can check if a patch is installed with "patchadd -p" (will tell you all patches installed). You need to parse patchadd output to make sure the installed patch version, if any, is newer than the one you want. Beware that new patches might have superseded the one you want (they are shown in the "Obsoletes:" field.)
# 11  
Old 08-24-2014
10x. I wll try to implement it this way.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Bash find version of an installed application but if none is found set variable to App Not Installed

Hello Forum, I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so: APP=application --version But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies

2. Shell Programming and Scripting

How-to verify if my package installed successfully

Can you please let me know how can i verify /check inside the script if the below to package installation commands are successful or if they failed for any reasons? 1. pkgadd -a $INSTP/install/dadmin -d $INSTP/install/apachesrv.pkg 2. pkgadd -a $INSTP/install/dadmin -d... (6 Replies)
Discussion started by: mohtashims
6 Replies

3. Solaris

Finding the path to an executable , installed package

Hi all, Recently i wanted to see if i have openssl installed in my system (solaris 10), so i do this (not sure if this is the right way to do this) pkginfo -i | grep -i "ssl" system SUNWopenssl-commands OpenSSL Commands (Usr) system SUNWopenssl-include ... (3 Replies)
Discussion started by: javanoob
3 Replies

4. Emergency UNIX and Linux Support

Problem when trying to remove a package using rpm command - error: package is not installed

Hello, i have installed a package by using the command sudo rpm -i filepackage.rpm package filepackage is already installed when i try to remove it, i get an error saying "is not installed": sudo rpm -e filepackage.rpm error: package filepackage is not installed How can... (4 Replies)
Discussion started by: g_p
4 Replies

5. Ubuntu

How to list my program or package that i compile and installed?

Hi I would like to ask in ubuntu or linux on how to list all my package or software the i installed via source code( compile installed in dir default is /usr/local) just like i solaris in which if you installed a package in ur choosing default root installation dir you can just issue a command... (2 Replies)
Discussion started by: jao_madn
2 Replies

6. Solaris

Package needs to be installed for using pam_mkhomedir.so?

Hi, What is the necessary package that needs to be installed for using pam_mkhomedir.so in pam.conf file? And from where can i get that file? Is that package already shipped with Solaris 10? Because when i use that file i am getting "open_module: stat(/usr/lib/security/pam_mkhomedir.so)... (1 Reply)
Discussion started by: sathya47
1 Replies

7. AIX

How to check supersede of patch

Hi dear All. I need to create script, that will check if some specific AIX patch is superseded by another patch, already installed on system Let us say I have AIX 5.3 machine, and I have to check for patch "X". Of cause - it is not a problem to check if patch "X" is already installed on given... (1 Reply)
Discussion started by: zuismanm
1 Replies

8. Ubuntu

Download same package as installed

Hi gurus, how to (just) download already installed package ? I tried sudo apt-get -d install putty but gives me Reading package lists... Done Building dependency tree Reading state information... Done putty is already the newest version. 0 upgraded, 0 newly installed, 0 to... (7 Replies)
Discussion started by: wakatana
7 Replies

9. HP-UX

how to package my program which can be installed on HP UX

I develop a unix program in HPUX I want to package my program to install on HPUX in some dierctory folder like /user/local/sbin/xxx and preinstall some software before install my program package like xxx.depot how can i do it, have any tools like use setupfactory tools in windows ... (4 Replies)
Discussion started by: alert0919
4 Replies

10. AIX

How to check if a package is already installed?

Hi All, I want to check if the perl DBI package is already installed my AIX unix machine. is there any command to check this? Please help. Thanks, Am (2 Replies)
Discussion started by: am_yadav
2 Replies
Login or Register to Ask a Question