?
Solved

Patch removal/showrev problem

Posted on 1997-04-25
5
Medium Priority
?
408 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 150 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
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…
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.:
Suggested Courses
Course of the Month13 days, 13 hours left to enroll

755 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