Bugs item #832518, was opened at 2003-10-29 10:29
Message generated for change (Comment added) made by dannf
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=832518&group_id=259
Category: packaging
Group: v3.0.1
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Jonathan Bayer (rc-flyer)
Assigned to: dann frazier (dannf)
Summary: installer.pl fails (with solution)
Initial Comment:
System info: stock RedHat 9.0, all updates applied.
Memory: 256+ meg
This was tested on two different installations.
Installation type: rpm
Problem:
After downloading and running the installer.pl, it
exits saying that all packages are installed. In fact,
nothing is installed. This is common both to the
server and the client installation.
Reason:
The script is looking for the RPM files to be in the
directory: /tmp/sis-packages. In fact, the wget
command is set up to download them into equivilent
directories under the sis-packages. This causes the
installer to not find the packages.
Solution:
At line 179 and 181, add the following options to the
$wget_opts string:
-nd -P /tmp/sis-packages
This will force wget to download the RPMs into the
/tmp/sis-packages directory
----------------------------------------------------------------------
>Comment By: dann frazier (dannf)
Date: 2003-11-11 23:52
Message:
Logged In: YES
user_id=146718
thanks! fixed.
Index: installer.pl
===================================================================
RCS file: /cvsroot/sisuite/sisuite/installer.pl,v
retrieving revision 1.14
diff -u -p -u -r1.14 installer.pl
--- installer.pl 23 Jun 2003 17:27:23 -0000 1.14
+++ installer.pl 12 Nov 2003 06:51:45 -0000
@@ -174,11 +174,9 @@ sub download_packages {
next unless
should_download($packages{$p}->{bootarch});
}
my $url = $packages{$p}->{url};
- my $wget_opts;
- if($verbose) {
- $wget_opts = "--mirror";
- } else {
- $wget_opts = "--quiet --mirror";
+ my $wget_opts = "--mirror -nd $directory";
+ unless ($verbose) {
+ $wget_opts .= " --quiet";
}
my $cmd = "wget $wget_opts $url";
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=832518&group_id=259
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Sisuite-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-devel