Solved

Patch removal/showrev problem

Posted on 1997-04-25
5
401 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

830 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