From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Daniel Clar Newsgroups: gmane.os.tru64.managers Subject: Summary : Problem with PK3 installation Date: Tue, 19 Nov 2002 07:43:24 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <022e01c28f96$f5da8380$4978e4a0@supelec.fr> References: <00eb01c28d7c$25aad910$4978e4a0@supelec.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1037693994 3295 80.91.224.249 (19 Nov 2002 08:19:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 19 Nov 2002 08:19:54 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18E3bs-0000r0-00 for ; Tue, 19 Nov 2002 09:19:53 +0100 Original-Received: (qmail 31005 invoked by uid 5); 19 Nov 2002 08:21:21 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 30996 invoked by uid 49493); 19 Nov 2002 08:21:20 -0000 Original-Received: from Daniel.Clar@supelec.fr by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.51. spamassassin: 2.50-cvs. Clear:SA:0(-4.1/5.0):. Processed in 15.001787 secs); 19 Nov 2002 08:21:20 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 19 Nov 2002 08:21:05 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H5T00A8LDV3KC@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 19 Nov 2002 03:21:05 -0500 (EST) Original-Received: from supelec.supelec.fr (supelec.supelec.fr [160.228.120.192]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H5T007PLDUFN5@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 19 Nov 2002 03:20:41 -0500 (EST) Original-Received: from cripcdc (localhost [127.0.0.1]) by supelec.supelec.fr (8.10.2/jtpda-5.3.1) with ESMTP id gAJ6fqG163692 ; Tue, 19 Nov 2002 07:41:52 +0100 (MET) In-reply-to: <00eb01c28d7c$25aad910$4978e4a0@supelec.fr> Original-To: 'Daniel Clar' , tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:2488 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2488 The original posting was : > > I'm trying to install PK3 on a 5.1a system. > > After choosing the patches, I'm asked to delete the following patches : > C 00158.07 > C 00351.00 > C 00414.00 > > So in single user mode, I use dupatch to delete them and I have a > problem there because there are no more tracks of what has been done > when installing these patches, so they can be deleted. > > How is it possible to repair this problem ? > > Thanks and regards > > Daniel Clar Thank you to : Staab, Brian [Brian.Staab@hp.com] It appears you have some Customer Specific Patches (CSPs) installed. Are you aware of the installation of these patches? If you did not install them as 'Reversible', you will have to determine exactly what files were changed (in /sys/BINARY?) and replace them with the originals - rebuild the kernel, reboot & try installing the Patch Kit again. Until you get those items resolved, dupatch will not allow you to move forward. You should ALWAYS make your patches reversible (for this very reason)! Jenny Butler [jbutler@utmem.edu] Been there, done that! I ran into the same problem. I (very carefully) did the following. You want to back up your root, usr, var, and whatever else first! I went to /usr/.smdb. and there found four files for each patch, which were: OSFPAT000xxxxx520.ctrl OSFPAT000xxxxx520.inv OSFPAT000xxxxx520.scp OSFPAT000xxxxx520.lk mkdir old-pat mv OSFPAT000xxxxx520* ./old-pat This moves the file into a subdirectory but doesn't delete them, in case I messed up! If you are in a cluster, you will have to do a similar thing in /usr/cluster/members/memberx/.smdb. There I found OSFPAT000xxxxx520.sts which if renamed to old-OSFPAT000xxxxx520.sts Then I ran dupatch and chose the Baseline, to see if it warned me to delete these patches. In my case, it didn't know they were there. I did have to get the files that those patches had replaced from the PK2 kit, which I had previously installed. I talked with HP/Compaq UNIX support and they did NOT support this method! If you do try this, be sure that you are willing to scrap all and start over from a previous backup! I did NOT try this on a production system! My previous work on the system was that I had v5.1A with PK2 installed. Then I put on an ESP patch - one of the OSFPATC ones. Something had cleaned off the backup files from that ESP patch so I could not uninstall it. I had to basically clean it off manually. Again, I would NOT suggest even trying this if you cannot either go back to a previous backup or scrap the system and reinstall! Good luck, Jenny ---------------------------------------------- Im' currently trying Jenny's proposal and it already works with the first 2 patches where only one file was patched and where the original version was on the distribution CD. The next step will be with the 3rd patch. As Jenny, I don't know why, on this system, it was impossible to reverse the patches. Regards Daniel