SUMMARY: automate pkg installations

From: Stuart Kendrick (sbk@fred.fhcrc.org)
Date: Tue Feb 29 2000 - 20:24:37 CST


Original query attached. Basically, I was having trouble automating
package installs.

Here is the correct syntax for my PERL example:

  pkgadd -d perl-5.005_03-sol7-sparc-local -a admin LWperl

or

  pkgadd -d perl-5.005_03-sol7-sparc-local -a admin all

Thanks to:
Adam Barclay <adam@ebinteractive.com.au>
Arthur Darren Dunham <add@netcom.com>

--sk

---------- Forwarded message ----------
Date: Tue, 29 Feb 2000 16:02:11 -0800 (PST)
From: Stuart Kendrick <sbk@fred.fhcrc.org>
To: sun-managers@sunmanagers.ececs.uc.edu
Subject: automate pkg installations

I'm trying to automate the installation of packages.

Below, I use the latest version of PERL from www.sunfreeware.com as an
example. I've tried creating my own admin file and I've tried using
pkgask to create an admin file. Insights into what I am missing?

My own admin file:

df-umx{root}: more admin
mail=
instance=overwrite
partial=nocheck
runlevel=quit
idepend=quit
rdepend=quit
space=quit
setuid=nocheck
conflict=nocheck
action=nocheck
basedir=default
df-umx{root}: pkgadd -d perl-5.005_03-sol7-sparc-local -a admin

The following packages are available:
  1 LWperl perl
all packages). (default: all) [?,??,q]:
                (sparc) 5.005_03

Select package(s) you wish to process (or 'all' to process

Hmmm, didn't work, still asked me for keyboard input.

Running pkgask:

df-umx{root}: pkgask -d perl-5.005_03-sol7-sparc-local -r admin.test

The following packages are available:
  1 LWperl perl
                (sparc) 5.005_03

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:

Processing package instance <LWperl> from
</opt/local/src/perl5.005_03/perl-5.005_03-sol7-sparc-local>

perl
(sparc) 5.005_03
Larry Wall
pkgask: ERROR: package does not contain an interactive request script

Processing of request script failed.
No changes were made to the system.
df-umx{root}:

--sk

Stuart Kendrick
FHCRC



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:04 CDT