From: Andreas Klemm (andreas@apsfilter.org)
Date: Tue Jun 10 2003 - 15:19:23 EDT
Hi,
need to get some scripts done for a mass installation and
I don't have much time ....
How do I get the packages from http://www.sunfreeware.com
installed in a Jumpstart environment (here Startup scripts
without a control tty) without having to create answer files
using pkgask ...
I made good experience using "here" scripts in jumpstart to
install interactive packages. If I additional redirect stdout
to /dev/null then I don't get trouble because of the missing
control terminal, since I start a bunch of scripts within
rc2.d start scripts (staging, using several reboots) ...
But now I'm really in trouble, since the solaris 8 packages
from www.sunfreeware.com refuse to install
%----------- snip
#! /bin/sh
# stage-06-script
# /etc/rc2.d/S99-stage-06
[...]
mount jumpstart:/export/jumpstart /mnt
cd /mnt/Addon/5.8
pkgadd -d zlib-1.1.4-sol8-sparc-local > /dev/null <<- EOM
all
y
EOM
[...]
exit 0
%----------- snip
yields in:
[...]
Installation of <SMCzlib> failed.
No changes were made to the system.
Well, this fails installing the package without any other failure
message than that ...
I installed for example SDS without any trouble using a similar syntax.
The only difference is "-d .", since the SDS packages are in directory
format, not this "one file format".
Any clue ??
Andreas ///
-- Andreas Klemm Apsfilter Homepage http://www.apsfilter.org Support over mailing-lists (only!) http://www.apsfilter.org/support Mailing-list archive http://www.apsfilter.org/Lists-Archives _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:34 EDT