08-26-2009
Both statements are right. You just failed to mention you were specifically talking about ipkg zones, not the main Solaris installation (global zone). These ipkg zones are by design very thin and indeed do not include the pkgadd or a thousand or so other commands.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, guys !
I usually run this task without even thinking on outcome, because it never failed. But this time when I tried installation of patches for Solaris 8 OS on my old machine, I received this message:
"pkgadd: ERROR: no packages were found in </var/spool/pkg>"
I compared the contents... (5 Replies)
Discussion started by: Deicide5997
5 Replies
2. UNIX Desktop Questions & Answers
Hey everyone,
I'm using a SPARC based Solaris 10 5/09 machine and want to install PHP support to it. I already have mysql and apache( came with OS, just started the proccess) installed, so this is the last thing before I can get to learning development :) However, there's something I'm not sure... (1 Reply)
Discussion started by: agummad
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have a solaris 10 system ( confirmed by the /etc/releases file and uname -a ).
But, I have no /etc/inet/static_routes file and if I try to add a persistent route with route -p add then it tells me that -p isn't a valid option.
Can anybody tell me why my Sol10 system isn't acting like... (0 Replies)
Discussion started by: Donkey25
0 Replies
4. Solaris
I'm having a little trouble with a Solaris package build/install.
I have the following entries in my prototype file...
# Interfaces file - all versions installed and auto linked to installation type...
f none $OPTDIR/config/interfaces.DEV 0444 $OWNER $GROUP
f none... (0 Replies)
Discussion started by: JerryHone
0 Replies
5. Solaris
Hi,
I am trying to install a simple gcc package on a sparc (solaris 10) machine using the admin file (called admtest), but it is not working. I am getting the "Select package prompt". Can anyone have a look at it and tell me what am i doing wrong.
# cat admtest
mail=root... (5 Replies)
Discussion started by: Mack1982
5 Replies
6. Solaris
Does anyone know why this system include is not there.
What can I install to get this and why is it missing? (4 Replies)
Discussion started by: steve701
4 Replies
7. Solaris
Good day everyone,
I am trying to install some new senmail patch on my Solaris 10 system.
I know the cdrom for my CP3260 blade servers in my rack worked for the last patches installed. However, when I went to copy from the .tar file from the cdrom to the /tmp. I received an error cannot... (2 Replies)
Discussion started by: cookiecrumbs
2 Replies
8. Solaris
I downloaded Solaris 10 OS on x86, SVR4 installer to my desktop and ran digest -a md5 on the downloaded file and the hash values matched. I then ran bunzip2 followed by pkgadd -d SolarisStudio12.3-solaris-x86-pkg and am getting the following error:
pkgadd: ERROR: attempt to process... (14 Replies)
Discussion started by: twk
14 Replies
9. Solaris
I have some simple package installations that have worked in previous versions of Solaris just fine. I can install the packages, then install newer versions right over the top without error. In previous versions I had to specify the -G option during the installation in order for this to work.
... (0 Replies)
Discussion started by: moondog25
0 Replies
10. Solaris
Hi,
On solaris-10 server, this file is missing, which is causing another issue. Can somebody guide, how to fix this ? This is tough server to take downtime, uptime of 3 years. I am thinking, is there anything, which I can do without reconfiguration reboot.
devfsadm didn't helped
bash-3.2# ls -l... (2 Replies)
Discussion started by: solaris_1977
2 Replies
pkgask(1M) pkgask(1M)
NAME
pkgask - stores answers to a request script
SYNOPSIS
pkgask [-d device] [-R root_path] -r response pkginst...
pkgask allows the administrator to store answers to an interactive package (one with a request script, that is, a user-created file that
must be named request). Invoking this command generates a response file that is then used as input at installation time. The use of this
response file prevents any interaction from occurring during installation since the file already contains all of the information the pack-
age needs.
The following options are supported
-d device Run the request script for a package on device. device can be a directory pathname or the identifiers for tape, floppy disk
or removable disk (for example, /var/tmp, /dev/diskette, and /dev/dsk/c1d0s0). The default device is the installation spool
directory.
-R root_path Define the full path name of a directory to use as the root_path. All files, including package system information files,
are relocated to a directory tree starting in the specified root_path.
Note - The root file system of any non-global zones must not be referenced with the -R option. Doing so might damage the
global zone's file system, might compromise the security of the global zone, and might damage the non-global zone's
file system. See zones(5).
-r response Identify a file or directory which should be created to contain the responses to interaction with the package. The name
must be a full pathname. The file, or directory of files, can later be used as input to the pkgadd(1M) command.
The following operands are supported:
pkginst Specify the package instance, or list of instances for which request scripts will be created. The token all may be used to
refer to all packages available on the source medium.
0 Successful completion.
>0 An error occurred.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
pkginfo(1), pkgmk(1), pkgparam(1), pkgproto(1), pkgtrans(1), installf(1M), pkgadd(1M), pkgchk(1M), pkgrm(1M), removef(1M),
admin(4),attributes(5)
The -r option can be used to indicate a directory name as well as a filename. The directory name is used to create numerous response files,
each sharing the name of the package with which it should be associated. This would be used, for example, when you will be adding multiple
interactive packages with one invocation of pkgadd(1M). Each package would need a response file. To create multiple response files with the
same name as the package instance, name the directory in which the files should be created and supply multiple instance names with the
pkgask command. When installing the packages, you will be able to identify this directory to the pkgadd(1M) command.
If the default admin file is too restrictive, the administration file may need to be modified to allow for total non-interaction during a
package installation. Seeadmin(4) for details.
6 Apr 2005 pkgask(1M)