Title: [Oscar-checkins] r4137 - trunk/packages/pvm/scripts
I don't think the --erase flag is doing what you expected it to do.  From usage():
 
   --erase|-e     : erase packages with same name from RPM pool (tftpboot/rpm)
 
So it will actually delete the RPMs with the same names as the ones provided by OSCAR (_not_ by the distro).
 
I am getting the following error while testing trunk:
 
--> About to run /opt/oscar/packages/pvm/scripts/setup for pvm
Error occured while deleting: No such file or directory at /opt/oscar/scripts/generic-setup line 148
Distro specific packages come from
        /opt/oscar/packages/pvm/distro/rhel4
 Delete pvm-modules-oscar-3.4.5+4-2.ia64.rpm from /tftpboot/rpm
Script /opt/oscar/packages/pvm/scripts/setup exitted badly with exit code '255' at ./wizard_prep line 202
Failed running setup script for pvm at ./wizard_prep line 202
Oscar Wizard preparation script failed to complete at ./install_cluster line 262.
 
I think the conditions set by the script is wrong, because it shouldn't try to unlink a file that doesn't exist.
 
Cheers,
 
Bernard

From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]
Sent: Tue 17/01/2006 08:16
To: [EMAIL PROTECTED]
Subject: [Oscar-checkins] r4137 - trunk/packages/pvm/scripts

Author: naughton
Date: 2006-01-17 11:16:10 -0500 (Tue, 17 Jan 2006)
New Revision: 4137

Modified:
   trunk/packages/pvm/scripts/setup
Log:
+ adding the '--erase' flag to remove any pre-existing PVM rpms
  (i.e., those provided with distribution).
  Bug#1375014 - "error in pvm setup script"


Modified: trunk/packages/pvm/scripts/setup
===================================================================
--- trunk/packages/pvm/scripts/setup    2006-01-16 07:52:06 UTC (rev 4136)
+++ trunk/packages/pvm/scripts/setup    2006-01-17 16:16:10 UTC (rev 4137)
@@ -5,4 +5,4 @@
 # copy in arch specific packages
 # (c) Erich Focht, NEC HPCE

-$OSCAR_HOME/scripts/generic-setup
+$OSCAR_HOME/scripts/generic-setup --erase



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Oscar-checkins mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-checkins

Reply via email to