Solved

Patch removal/showrev problem

Posted on 1997-04-25
5
398 Views
Last Modified: 2013-12-16
I have the problem:      after removing a patch successfully,
I run showrev -p, but the patch still appears in the list of installed patches... What can I do to fix this?

 
0
Comment
Question by:chrisvo
  • 3
  • 2
5 Comments
 

Expert Comment

by:swint
ID: 1812077
not backing out of an older patch (being replaced by a new one) before installing a newer rev will cause showrev -p to continue to show the older rev along with the newer rev.  And, if the older rev was previously installed with the save option, the older rev will continue to occupy disk space, also if you use the -nosave option , or did not have enough disk space for the save option, this can occur.

0
 

Author Comment

by:chrisvo
ID: 1812078
No older patch was applied in this case, simple ./install_cluster
was ran; removal of all other patches were succesful; however,
this one patch still appears in showrev, but not in /var/sadm/patch/

0
 

Expert Comment

by:swint
ID: 1812079
did you run the backoutpatch on the patch in question?
0
 

Author Comment

by:chrisvo
ID: 1812080
yes I did; it says patch not installed, yet
showrev still shows that it is there
0
 

Accepted Solution

by:
swint earned 50 total points
ID: 1812081
the only other thing I can think of is:
Do "showrev -p" and find out what package is associated with
the patch, cd to the directory: /var/sadm/pkg/"NAME_OF_PACKAGE".
Edit the file 'pkginfo' removing all mention of the offending
patch. Do this for each package associated with the patch.
showrev -p parses these 'pkginfo' files for its input.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now