Hi,

I am not sure why this works - but I have been trying 1.4b4 on RH 7.3 for 
a while and we get errors during the rpm install. I went through the log 
file and cut and paste the rpm -Uvh command to see which package was 
giving problems. The command breaks into two for some reasong - as though 
there is a carriage return in there somewhere - maybe the command is too 
long. 

The command and error I am talking about are :

Couldn't run rpm -Uhv /tftpboot/rpm/PyXML-0.7-4.i386.rpm 
/tftpboot/rpm/autoupdate-4.3.4-8.noarch.rpm 
/tftpboot/rpm/autoupdate-oscar-4.3.4-8.noarch.rpm 
/tftpboot/rpm/ganglia-monitor-core-2.2.3-2oscar.i386.rpm 
/tftpboot/rpm/ganglia-php-rrd-client-1.0.4-4oscar.noarch.rpm 
/tftpboot/rpm/ganglia-python-2.0-2oscar.noarch.rpm 
/tftpboot/rpm/hdf5-oscar-1.4.4p2-4.i586.rpm 
/tftpboot/rpm/hdf5-oscar-module-1.0-2.i386.rpm 
/tftpboot/rpm/kernel_picker-1.1-1.noarch.rpm 
/tftpboot/rpm/lam-oscar-6.5.6-usysv.7.i586.rpm 
/tftpboot/rpm/lam-oscar-module-6.5.6-usysv.7.i586.rpm 
/tftpboot/rpm/loghost-1.0-1.noarch.rpm 
/tftpboot/rpm/maui-oscar-3.0.7p8-5.i586.rpm 
/tftpboot/rpm/mpich-oscar-1.2.4-6.i586.rpm 
/tftpboot/rpm/mpich-oscar-module-1.2.4-6.i586.rpm 
/tftpboot/rpm/openpbs-oscar-2.3.16-7.i386.rpm 
/tftpboot/rpm/openpbs-oscar-client-2.3.16-7.i386.rpm 
/tftpboot/rpm/openpbs-oscar-gui-2.3.16-7.i386.rpm 
/tftpboot/rpm/openpbs-oscar-mom-2.3.16-7.i386.rpm 
/tftpboot/rpm/openpbs-oscar-server-2.3.16-7.i386.rpm 
/tftpboot/rpm/perl-XML-Parser-2.30-32oscar.i386.rpm 
/tftpboot/rpm/perl-libnet-1.0901-17.i386.rpm 
/tftpboot/rpm/pfilter-1.678-1.noarch.rpm 
/tftpboot/rpm/pvm-3.4.4+6-3.i586.rpm 
/tftpboot/rpm/pvm-modules-oscar-3.4.4+6-3.i586.rpm 
/tftpboot/rpm/rrdtool-1.0.35-3oscar.i386.rpm 
/tftpboot/rpm/ssh-oscar-1.1-4.noarch.rpm 
/tftpboot/rpm/sync_users-oscar-1.3-9.noarch.rpm at ./server_prep line 47
Couldn't install the required packages needed for OSCAR at ./server_prep 
line 47
Couldn't run command ./server_prep eth1 at 
/usr/lib/perl5/site_perl/5.6.0/i386-linux/Tk.pm line 217

I fixed this by making it install the packaes one at a time by going into 
Package.pm and

replacing

    my $cmd = "rpm -Uhv " . join(' ', @fullfiles);
    my $rc = system($cmd);
    if($rc) {
        carp("Couldn't run $cmd");
        return 0;
    } else {
        return 1;
    }

with 

    foreach my $mark_string (@fullfiles){
    my $cmd = "rpm -Uhv " .$mark_string;
    my $rc = system( $cmd  );

    if($rc) {
        carp("Couldn't run $cmd");
        return 0;
    }# else {
      #  return 1;
    #}
    }
    return 1;

I don't know if any of the deveopment guys read this list but that works 
for me.



-- 
Mark Horner

Physics Department
University of Cape Town
Rondebosch
7700
South Africa

Phone: +27 21 650 3366 (office)
Phone: +27 83 564 6272 (cellular)
Fax:   +27 21 650 3342



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to