Summary: pkgadd and admin file

From: Ana Yuseepi (anayuseepi@netscape.net)
Date: Thu Jul 27 2000 - 20:33:24 CDT


Thanks once again to this list.... i asked same question in another list but
didn't get the answer...

the original question was:
-------------------------------------------------------------
   right now, am trying to add some packages, but am getting the error:
   pkgadd: ERROR: unable to open admin file <default>
--------------------------------------------------------------
and the answers are:
**************************************************************
from :Atmane Alouache <aatmane@yahoo.fr>
Normally, it should ask for an admin file, only if you
   use pkgadd with the option -a
   To correct this, you may do :
   pkgadd -a /tmp/admin -d /path_to_packages packages

   And /tmp/admin could contain :
   mail=root
   instance=overwrite
   partial=nocheck
   runlevel=nocheck
   idepend=nocheck
   rdepend=nocheck
   space=ask
   setuid=nocheck
   conflict=nocheck
   action=nocheck
   basedir=default

   With this your packages will be installed
   automatically, you won't have to answer any questions.
   Note: you may name or put the admin file wherever you
   want, just give the path when you use -a
**************************************************************
David Foster <foster@dim.ucsd.edu> suggested that do a "man pkgadd" and see
what an admin file is and also check to see if it's there with correct
permission.
**************************************************************
from :David Robillard <drobilla@Matrox.COM>

   use the -a option of pkgadd and specify a forged admin file.
   you can do a 'man pkgadd' and locate the default admin file
   for the pkg, which is /vad/sadm/install/admin. What you can also
   do is use 'pkgadd -a none', which will force interaction with
   the user (I guess this'll be you :). Here's an example admin file
   that I use during JumpStart to enable interaction-free pkg installation.

   #ident "@(#)default 1.4 92/12/23 SMI" /* SVr4.0 1.5.2.1 */
   mail=
   instance=unique
   partial=nocheck
   runlevel=nocheck
   idepend=nocheck
   rdepend=nocheck
   space=nocheck
   setuid=nocheck
   conflict=nocheck
   action=nocheck
   basedir=default

thanks also to Terry Gardner <terminustech@mindspring.com>

**************************************************************

and as for the cause of my problem, i have moved the /var to /var1 and then
made a symbolic link from /export/home/var to /var as my /var is running out
of space ... thanks for all the information...

-Ana

____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



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