05-15-2006
Well.. I fixed the problem by changing the script from a class script (i.none) to a post install script (postinstall).
Still don't know "what's the dilly-o".. but it works..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. Solaris
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
3. Solaris
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
4. Solaris
Hi
when trying to install the package initially that i have created on to the target host, i am getting error as below for all the files/directories during pkgadd.
WARNING: filename <not present on Read Only file system>
...........
...........
and so on.
When i do the second attempt to... (1 Reply)
Discussion started by: kiran.zamre
1 Replies
5. Solaris
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
6. Solaris
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
7. Solaris
Hi All,
Good Mng,Here I am getting one error while adding the top package to one of my Aun server.
root@HYDREM01 # pkgadd -d top-3.6.1-sol9-sparc-local
The following packages are available:
1 SMCtop top
(sparc) 3.6.1
Select package(s) you wish to process (or... (6 Replies)
Discussion started by: lbreddy
6 Replies
8. Solaris
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
Hello this is samiulla. i face this issue. i installed samba with pkgadd after i install i add paths for that.
-bash-3.00# echo $PATH
/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/local/samba/sbin:/usr/local/samba/bin/
-bash-3.00#
when enter this commad smbd -D i got this error
smbd -D... (3 Replies)
Discussion started by: samiulla
3 Replies
10. Solaris
Hello all!
So I'm trying to do an install, I'm using a command like
pkgadd -d /opt/te_agent_8.1.0_en_solaris_sparc/te_agent.pkg TWEagent
And receive the following:
pkgadd: ERROR: no packages were found in </var/tmp/dstreAAAAXaq3z>
So what gives? Why is it looking in /var/tmp? I'm telling... (5 Replies)
Discussion started by: HannibalRex
5 Replies
LEARN ABOUT REDHAT
pkg::create
pkg::create(n) Tcl Built-In Commands pkg::create(n)
__________________________________________________________________________________________________________________________________________________
NAME
pkg::create - Construct an appropriate 'package ifneeded' command for a given package specification
SYNOPSIS
::pkg::create -name packageName -version packageVersion ?-load filespec? ... ?-source filespec? ...
_________________________________________________________________
DESCRIPTION
::pkg::create is a utility procedure that is part of the standard Tcl library. It is used to create an appropriate package ifneeded com-
mand for a given package specification. It can be used to construct a pkgIndex.tcl file for use with the package mechanism.
OPTIONS
The parameters supported are:
-name packageName
This parameter specifies the name of the package. It is required.
-version packageVersion
This parameter specifies the version of the package. It is required.
-load filespec
This parameter specifies a binary library that must be loaded with the load command. filespec is a list with two elements. The
first element is the name of the file to load. The second, optional element is a list of commands supplied by loading that file.
If the list of procedures is empty or omitted, ::pkg::create will set up the library for direct loading (see pkg_mkIndex). Any num-
ber of -load parameters may be specified.
-source filespec
This parameter is similar to the -load parameter, except that it specifies a Tcl library that must be loaded with the source com-
mand. Any number of -source parameters may be specified.
At least one -load or -source parameter must be given.
SEE ALSO
package(n)
KEYWORDS
auto-load, index, package, version
Tcl 8.3 pkg::create(n)