Sponsored Content
Full Discussion: Pkgadd problem
Operating Systems Solaris Pkgadd problem Post 302196061 by Create on Friday 16th of May 2008 03:51:35 PM
Old 05-16-2008
Please do what was suggested here. This will solve all of your problems.



Quote:
Originally Posted by jrck61
do following

# vi /var/sadm/install/admin/nocheck

mail=
instance=overwrite
partial=nocheck
runlevel=nocheck
idepend=nocheck
space=ask
setuid=nocheck
confiict=nocheck
action=nocheck
basedir=default
# pkgadd -a /var/sadm/install/admin/nocheck -d .
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Pkgadd / gnutar

I have sucessfully installed GNUtar using pkgadd but with some questions: When I tried to install with pkgadd -d GNUtar (which is the directory of the package) - I received the error "pkgadd: command not found" Then I tried the same but with pkgadd -d. GNUtar and it installed fine. (found... (4 Replies)
Discussion started by: finster
4 Replies

2. UNIX for Dummies Questions & Answers

pkgadd

I am adding gcc 3.3.2 to my unix box what is the best way to do it???? (4 Replies)
Discussion started by: alsande
4 Replies

3. UNIX for Advanced & Expert Users

PKGADD error

Hello.. I'm making a pkg file that inserts a few files into an existing directory structure. I'm having some trouble in that the package will insert the directories I need.. but will fail to put the files I want into those directories. What I'm getting is this: ERROR: attribute... (2 Replies)
Discussion started by: Bags
2 Replies

4. Solaris

pkgadd

is there an option in pkgadd to accept the default option? I want to use pkgadd in a script and do not want to stop at intercative questions. thx. (6 Replies)
Discussion started by: melanie_pfefer
6 Replies

5. Solaris

pkgadd help

I'm trying to install a package and it worked on most of the sun boxes and one of the box is just freezing and not going further. Her is the output. pkgadd -d packagename.dstream Select package(s) you wish to process (or 'all' to process all packages). (default: all) : Processing... (1 Reply)
Discussion started by: mokkan
1 Replies

6. Solaris

pkgadd?

Hi all. Is there an option to #pkgadd to test if package bundle you want to install requires a reboot? #pkgadd -d "package bundle" an option like test or a dry run? Suggestions, anyone? :confused: Reloader (2 Replies)
Discussion started by: Reloader
2 Replies

7. Solaris

pkgadd woes

Morning all, I am attempting to load a package from a Solaris 8 CDROM. This fails with the error : "pkgadd: ERROR: unable to access pkgmap file </cdrom/ .........../SUNWlibC/pkgmap> No changes were made to the system" Any help would be appreciated Andy (6 Replies)
Discussion started by: AndyD
6 Replies

8. Solaris

pkgadd changes permissions of /etc

Hi, when I install a package using pkgadd, it correctly installs the binary files with the user name that I want. However it also changes the permissions of /etc/rc2.d. I don't want this to happen. I want to retain original owner of /etc/rc2.d as it is. I could see that before installing,... (1 Reply)
Discussion started by: funwithdolphin
1 Replies

9. Solaris

Pkgadd with firefox

I am using Solaris 10, and trying to keep a number of old Sun workstations running. Since version 17 of firefox, I have had problems using pkgadd, and had to use tar to un-archive the components of firefox. Is this just a problem with firefox (and probably thunderbird), or is pkgadd broken (1 Reply)
Discussion started by: jkoval
1 Replies

10. UNIX for Beginners Questions & Answers

Pkgadd issue

Good Afternoon, I have 3 video driver packages in a directory that need to be installed. on a SunBlade 2500 running Solaris9. When I try running pkgadd -d /Recovery/CloneDrivers/SUNWpfbcf for example, I get pkgadd: ERROR: no packages were found in </var/spool/pkg> Permissions are 755, owner... (3 Replies)
Discussion started by: Stellaman1977
3 Replies
admin(4)							   File Formats 							  admin(4)

NAME
admin - installation defaults file DESCRIPTION
admin is a generic name for an ASCII file that defines default installation actions by assigning values to installation parameters. For example, it allows administrators to define how to proceed when the package being installed already exists on the system. /var/sadm/install/admin/default is the default admin file delivered with this release. The default file is not writable, so to assign val- ues different from this file, create a new admin file. There are no naming restrictions for admin files. Name the file when installing a package with the -a option of pkgadd(1M). If the -a option is not used, the default admin file is used. Each entry in the admin file is a line that establishes the value of a parameter in the following form: param=value All of the parameters listed below can be defined in an admin file, but it is not required to assign values to all of these. If a value is not assigned, pkgadd(1M) asks the installer how to proceed. The valid parameters and their possible values are shown below except as noted. They can be specified in any order. Any of these parameters (except the mail and proxy parameters) can be assigned the value ask, which means that, when the parameter is reached during the installa- tion sequence, the installer is notified and asked to supply instructions (see NOTES). basedir Indicates the base directory where relocatable packages are to be installed. If there is no basedir entry in the file, the installer will be prompted for a path name, as if the file contained the entry basedir=ask. This parameter can also be set to default (entry is basedir=default). In this instance, the package is installed into the base directory specified by the BASEDIR parameter in the pkginfo(4) file. mail Defines a list of users to whom mail should be sent following installation of a package. If the list is empty, no mail is sent. If the parameter is not present in the admin file, the default value of root is used. The ask value cannot be used with this parameter. runlevel Indicates resolution if the run level is not correct for the installation or removal of a package. Options are: nocheck Do not check for run level. quit Abort installation if run level is not met. conflict Specifies what to do if an installation expects to overwrite a previously installed file, thus creating a conflict between packages. Options are: nocheck Do not check for conflict; files in conflict will be overwritten. quit Abort installation if conflict is detected. nochange Override installation of conflicting files; they will not be installed. setuid Checks for executables which will have setuid or setgid bits enabled after installation. Options are: nocheck Do not check for setuid executables. quit Abort installation if setuid processes are detected. nochange Override installation of setuid processes; processes will be installed without setuid bits enabled. action Determines if action scripts provided by package developers contain possible security impact. Options are: nocheck Ignore security impact of action scripts. quit Abort installation if action scripts may have a negative security impact. partial Checks to see if a version of the package is already partially installed on the system. Options are: nocheck Do not check for a partially installed package. quit Abort installation if a partially installed package exists. instance Determines how to handle installation if a previous version of the package (including a partially installed instance) already exists. Options are: quit Exit without installing if an instance of the package already exists (does not overwrite existing packages). overwrite Overwrite an existing package if only one instance exists. If there is more than one instance, but only one has the same architecture, it overwrites that instance. Otherwise, the installer is prompted with existing instances and asked which to overwrite. unique Do not overwrite an existing instance of a package. Instead, a new instance of the package is created. The new instance will be assigned the next available instance identifier. idepend Controls resolution if the package to be installed depends on other packages and if other packages depend on the one to be installed. Options are: nocheck Do not check package dependencies. quit Abort installation if package dependencies are not met. rdepend Controls resolution if other packages depend on the package to be removed. Also determines behavior if registered products components to be removed. See libwsreg(3LIB) and prodreg(1M) for a definition of product components. Options are: nocheck Do not check package or product dependencies. quit Abort removal if package or product dependencies are not met. space Controls resolution if disk space requirements for package are not met. Options are: nocheck Do not check space requirements (installation fails if it runs out of space). quit Abort installation if space requirements are not met. authentication Controls resolution when a datastream package with signature is to be installed. Options are: nocheck Do not verify package signature. This also disables the use of the Online Certificate Status Protocol (OCSP) to vali- date the package's signing certificate. quit Abort installation if package signature cannot be verified. networktimeout Number of seconds to wait before giving up a network connection when downloading a package. This entry must be a positive integer. If not present, the default value of 60 is used. networkretries Number of times to retry a failed network connection when downloading a package. This entry must be a positive integer. If not present, the default value of 5 is used. keystore Location of trusted certificates used when downloading packages over SSL and when verifying signatures on packages. This is the base directory of the certificate location for trusted certificates used when validating digital signatures on packages. For example, if this setting is /var/sadm/security, then pkgadd will use /var/sadm/security/pkgadd/truststore, then /var/sadm/security/truststore when searching for trusted certificates. See KEYSTORE LOCATIONS and KEYSTORE AND CERTIFICATE FORMATS in pkgadd(1M) for details on certifi- cate store format and usage. proxy The default proxy to use when installing packages from the network. Currently, only HTTP or HTTPS proxies are supported. If this field is blank or nonexistent, then no proxy will be used. rscriptalt=root | noaccess Determines the user that will run request scripts. This parameter can have either of the values described below. See pkgadd(1M) for details on the conditions under which this parameter is useful. root Run request script as user install, if such a user exists, with the privileges of that user. Otherwise, run script as user root, with UID equal to 0 and with all/zone privileges. (See zones(5).) noaccess Run request script as user install, if such a user exists, with the privileges of that user. Otherwise, run script as user noac- cess, with the basic privileges of the unprivileged user noaccess. If this parameter is not present or has a null value, the user noaccess is assumed. Likewise, if this parameter is set to anything other than the values described here, a warning is issued, and noaccess is assumed. rscriptalt is not present in the default admin file, /var/sadm/install/admin/default. In this case, request scripts are run as the user noaccess. EXAMPLES
Example 1: Default admin File The default admin file, named default, is shipped with user-, group-, and world-read privileges(444). Its contents are as follows: mail= instance=unique partial=ask runlevel=ask idepend=ask rdepend=ask space=ask setuid=ask conflict=ask action=ask basedir=default authentication=quit networktimeout=10 networkretries=3 keystore=/var/sadm/security proxy= Example 2: Sample admin file. Below is a sample admin file. basedir=default runlevel=quit conflict=quit setuid=quit action=quit partial=quit instance=unique idepend=quit rdepend=quit space=quit authentication=quit networktimeout=10 networkretries=5 keystore=/opt/certs proxy=syrinx.eng.example.com:8080 FILES
The default admin file is consulted during package installation when no other admin file is specified. /var/sadm/install/admin/default default admin file ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpkgcmdsr | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
pkgadd(1M), prodreg(1M), libwsreg(3LIB), pkginfo(4), attributes(5), zones(5) NOTES
The value ask should not be defined in an admin file that will be used for non-interactive installation (because, by definition, there is no installer interaction). Doing so causes installation to fail at the point when input is needed. SunOS 5.10 20 Dec 2004 admin(4)
All times are GMT -4. The time now is 04:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy