I am new & I have a question about patchadd in Solaris 11


 
Thread Tools Search this Thread
Operating Systems Solaris I am new & I have a question about patchadd in Solaris 11
# 1  
Old 08-24-2016
I am new & I have a question about patchadd in Solaris 11

Hi guys,

I am really new to Solaris. My question is about the patching package management. Now I was provided some old packages within that there are hard-coded codes written with commands like "patchadd", so anyway I can make them work with Solaris 11?

Cheers!
# 2  
Old 08-24-2016
I'm not sure that I understand your question clearly but you can (should) only apply patches to any particular Solaris version which are (issued by Oracle) intended for that version. Oracle issues patches to fix things which are not quite right.

This is different from 'packages' authored by third parties which may or may not install on any particular Solaris version.

So if you have old packages along with necessary Solaris patches that you want to run, then you should install the older Solaris version they were intended for.
# 3  
Old 08-24-2016
Quote:
Originally Posted by ethanzhou
I was provided some old packages within that there are hard-coded codes written with commands like "patchadd", so anyway I can make them work with Solaris 11?
No you can't, or at least the patchadd part won't work. This command has been obsoleted with Solaris 11 and is no more available. The whole SVR4 package patching approach doesn't exist anymore under Solaris 11 and replaced by IPS package updating. You might still install some SVR4 packages (pkgadd) but you won't be able to patch them later, only replace them by a newer version.
# 4  
Old 08-25-2016
@hicksd8, @jlliagre, thank you guys so much for quick response!

your comments resolved my question well and I can conclude that my expectation is not possible, but I cannot help thinking why Solaris does not even keep the basic backward compatibility?
# 5  
Old 08-25-2016
It does. Should you really need a Solaris 10 package and its patches, you can install them in a Solaris 10 branded zone under Solaris 11.
# 6  
Old 08-25-2016
Quote:
Originally Posted by jlliagre
It does. Should you really need a Solaris 10 package and its patches, you can install them in a Solaris 10 branded zone under Solaris 11.
The concrete use case is that we have some old software(and its hotfix packages) developed for Solaris 10, now we would like to move them to Solaris 11. unfortunately those hotfixes are written hard-coded with commands like "patchadd", that is why we need this very command in the new platform(the bottom-line is we won't change the hotfixes).

I never touched Solaris before this week, so whether branded zone serves the purpose will need more investigationSmilie.
# 7  
Old 08-25-2016
There can be patches only for packages built by Sun/Oracle. What software and patches is this about? Patches created for Solaris 10 do not make sense when the OS is Solaris 11.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

awk Help: quick and easy question may be: How to use &&

Hi Guru's. I am trying to use to check if $5 is greater than 80 & if not 100, then to print $0 : awk '{ if ($5>80) && if ($5 != 100) print $0} But getting error: >bdf1|sed 's/%//g'|awk '{ if ($5>80) && if ($5 != 100) print $0}' syntax error The source line is 1. The error... (6 Replies)
Discussion started by: rveri
6 Replies

2. Solaris

patchadd -p ,, basic question

greetings, I am new to solaris, have a basic question. I have to check for patch 137111-04 (as prerequisite) for installing Oracle. # patchadd -p | grep 137111-04 # patchadd -p | grep 137111 Patch: 137137-09 Obsoletes: 120741-01 120986-12 120992-02 121008-02 121274-01 121414-01... (2 Replies)
Discussion started by: mubeenmd
2 Replies

3. Solaris

patchadd command

# patchadd /Desktop/117837-08.jar Validating patches... Loading patches installed on the system... Done! Loading patches requested to install. Done! The following requested patches have packages not installed on the system Package SPROcc from directory SPROcc in patch 117837-08 is... (19 Replies)
Discussion started by: seyiisq
19 Replies

4. Solaris

gcc & linker question (Solaris 10)

Hi, I'm confused about the GCC & Linking process could somebody please briefly explain? I have GCC 3.4.6 installed from SunFreeware. Reading the narrative alongside the package states "It was compiled to use the SUN assembler and loader usually in /usr/ccs/bin if the SUNW developer packages... (1 Reply)
Discussion started by: Celtic_Monkey
1 Replies

5. Solaris

patchadd error

Greetings All- I ran into this problem today and was curious if anyone else had seen it. I am attempting to add patch 137402-02 on a v890 running Sol9. Here's the error I get: #> patchadd 137402-02 Checking installed patches... Verifying sufficient filesystem capacity (dry run... (7 Replies)
Discussion started by: bluescreen
7 Replies

6. Linux

VMware ESX server && Solaris 10 on same PC ??

Hi all, I tried to install Solaris 10 and then VMware ESX server v3.02 on the same PC (or hard drive). But after successfully installing Solaris 10, when I installed Vmware ESX Server on the same drive(but on different partition, boot menu is not coming. It is just booting Vmware only. Pls... (1 Reply)
Discussion started by: vikas027
1 Replies

7. Solaris

Patchadd error

Hi, I have a Sun fire V280R server and when i updated the kernel patch i got this error. mdb not found: patchadd not safe. /kernel/dacf/sparcv9/usb_ac_dacf: undefined symbol 'am_attach' /kernel/dacf/sparcv9/usb_ac_dacf: undefined symbol 'am_src2' /kernel/dacf/sparcv9/usb_ac_dacf: undefined... (3 Replies)
Discussion started by: Jartan
3 Replies

8. Solaris

patchadd/patchrm

Ok, I attempted to apply a patch to a V440 and it bailed part way through. When I tried to patchrm the patch (after booting from CD), patchrm said that I had to fully install the failed patch before I could delete it. Since installing it killed the system forcing a boot from CD, it sounds like a... (4 Replies)
Discussion started by: BOFH
4 Replies
Login or Register to Ask a Question