Solved

Patch removal/showrev problem

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

929 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

12 Experts available now in Live!

Get 1:1 Help Now