Bernard,
Thanks, installing Perl-QT was a problem. However, patching still fails now. I am not doing anything else except a FC2 WS install, copying the RPMs off the CD to /tftpboot/rpm, and then running the install. Excerpts of the log are below, and I have attached Image.pm.rej.
--> Running post_server_install scripts for server core packages
Stopping rsync daemon for systemimager: rsync.
Starting rsync daemon for systemimager: rsync.
patching file /etc/systemimager/autoinstallscript.template
Hunk #1 succeeded at 86 (offset 1 line).
patching file /usr/lib/systemimager/perl/SystemImager/Server.pm
Hunk #1 succeeded at 16 with fuzz 2.
Hunk #2 succeeded at 384 (offset 20 lines).
Hunk #4 succeeded at 863 (offset 20 lines).
Hunk #6 succeeded at 902 (offset 20 lines).
Hunk #7 succeeded at 947 (offset 1 line). Hunk #8 succeeded at 1349 (offset 20 lines). Hunk #9 succeeded at 1428 (offset 1 line).
Hunk #10 succeeded at 1531 (offset 20 lines). Hunk #11 succeeded at 1772 (offset 3 lines). patching file /usr/lib/systeminstaller/SystemInstaller/Package.pm
patching file /usr/lib/systeminstaller/SystemInstaller/Machine.pm
patching file /usr/lib/systeminstaller/SystemInstaller/Image.pm
patching file /usr/lib/systeminstaller/SystemInstaller/Tk/AddClients.pm
patching file /usr/lib/systeminstaller/SystemInstaller/Tk/Common.pm
Hunk #2 succeeded at 52 (offset -1 lines).
Hunk #3 succeeded at 77 (offset 1 line).
Hunk #4 succeeded at 177 (offset -1 lines).
patching file /usr/lib/systeminstaller/SystemInstaller/Tk/Help.pm
patching file /usr/lib/systeminstaller/SystemInstaller/Tk/Image.pm Patching systeminstaller so that it support fedora Applying patch /opt/oscar/packages/sis/scripts/fedora.patch/distinfo.patch
patching file usr/share/systeminstaller/distinfo/Fedora/stages
Applying patch /opt/oscar/packages/sis/scripts/fedora.patch/Image.pm.patch
patching file usr/lib/systeminstaller/SystemInstaller/Image.pm
Hunk #1 succeeded at 1 with fuzz 1.
Hunk #2 FAILED at 19. Hunk #3 FAILED at 31. 2 out of 4 hunks FAILED -- saving rejects to file usr/lib/systeminstaller/SystemInstaller/Image.pm.rej
SIS patch for fedora done --> Successfully ran server core package post_server_install scripts --> Successfully ran OSCAR wizard_prep script
--> Successfully ran wizard_prep
As you can see, I have a couple failed hunks. This later leads to another error:
1: 2005-1-15 13:24:56 [SystemInstaller::Package :: Line 77] Expected lines of output: 64.6
2: 2005-1-15 13:24:56 [SystemInstaller::Package :: Line 79] Finding package install files.
3: 2005-1-15 13:24:56 [SystemInstaller::Package :: Line 180] Finding files with module SystemInstaller::Package::Rpm
4: 2005-1-15 13:24:56 [SystemInstaller::Package::Rpm :: Line 75] Finding best Rpms, this may take a minute.
Unable to query rpm file, /tftpboot/rpm/evolution-devel-1.4.6-2.i386.rpm with command /bin/rpm -qp --qf '%{NAME} %{VERSION} %{RELEASE} %{ARCH} %{SOURCERPM}' /tftpboot/rpm/evolution-devel-1.4.6-2.i386.rpm 2> /dev/null. at /usr/lib/systeminstaller/SystemInstaller/PackageBest.pm line 103
Unable to query rpm file, /tftpboot/rpm/rpmdb-fedora-2-0.20040513.i386.rpm with command /bin/rpm -qp --qf '%{NAME} %{VERSION} %{RELEASE} %{ARCH} %{SOURCERPM}' /tftpboot/rpm/rpmdb-fedora-2-0.20040513.i386.rpm 2> /dev/null. at /usr/lib/systeminstaller/SystemInstaller/PackageBest.pm line 103
Couldn't find file for SISstage. at /usr/lib/systeminstaller/SystemInstaller/PackageBest.pm line 110
Couldn't find best files. at /usr/lib/systeminstaller/SystemInstaller/Package.pm line 181
Failed to find files for all packages. at /usr/bin/mksiimage line 164
5: 2005-1-15 13:25:16 [main :: Line 165] Unmounting /proc.
6: 2005-1-15 13:25:16 [SystemInstaller::Image :: Line 67] rmimage oscarimage
FATAL: Can't remove /var/lib/systemimager/scripts/oscarimage.master!
Package install failed
But I have double checked, both of the rpms are in the directory. I have attached the Image.pm.rej.
Thanks,
Mark
Bernard Li wrote:
Hi Mark:
You should not need to install Perl-Qt manually, OSCAR will install it if necessary. The correct file to install is:
oscar/packages/perl-Qt/RPMS/perl-Qt-3.006-5.i386.rpm
I suspect it will just work if you uninstall the RPM you installed and install the one I mentioned.
Cheers,
Bernard
***************
*** 19,24 ****
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# Michael Chase-Salerno <[EMAIL PROTECTED]>
use strict;
use base qw(Exporter);
--- 19,25 ----
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# Michael Chase-Salerno <[EMAIL PROTECTED]>
+ # Copyright (c) 2004, Revolution Linux Inc, Benoit des Ligneris
use strict;
use base qw(Exporter);
***************
*** 30,36 ****
@EXPORT = qw(find_distro init_image del_image write_scconf cp_image
split_version);
@EXPORT_OK = qw(find_distro init_image del_image write_scconf cp_image
split_version);
- $VERSION = sprintf("%d.%02d", q$Revision: 1.30 $ =~ /(\d+)\.(\d+)/);
my @MODS=qw(Kernel_ia64 Kernel_iseries Kernel_x86);
use SystemInstaller::Image::Kernel_x86;
--- 31,37 ----
@EXPORT = qw(find_distro init_image del_image write_scconf cp_image
split_version);
@EXPORT_OK = qw(find_distro init_image del_image write_scconf cp_image
split_version);
+ $VERSION = sprintf("%d.%02d", q$Revision: 1.1.2.1 $ =~ /(\d+)\.(\d+)/);
my @MODS=qw(Kernel_ia64 Kernel_iseries Kernel_x86);
use SystemInstaller::Image::Kernel_x86;
