Sponsored Content
Full Discussion: PKGADD error
Top Forums UNIX for Advanced & Expert Users PKGADD error Post 302073535 by Bags on Monday 15th of May 2006 11:21:52 AM
Old 05-15-2006
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:
Code:
[ verifying class <none> ]
ERROR: attribute verification of </usr/local/jboss-4.0.1sp1/server/default/conf/nVIEW.xml> failed
    pathname does not exist
ERROR: attribute verification of </usr/local/jboss-4.0.1sp1/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/images/nVIEW/CompanyLogo.gif> failed
    pathname does not exist
ERROR: attribute verification of </usr/local/jboss-4.0.1sp1/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/images/nVIEW/ProductLogo.gif> failed
    pathname does not exist
ERROR: attribute verification of </usr/local/jboss-4.0.1sp1/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/images/nVIEW/bell_mobility_logo_large-transparent.gif> failed
    pathname does not exist
ERROR: attribute verification of </usr/local/jboss-4.0.1sp1/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/images/nVIEW/cable_wireless_logo_big-transparent.gif> failed
    pathname does not exist

If you will notice, I can add the /images/nVIEW directories, but the files adamantly insist that I have not found the right home for them.
And yet....
Code:
root@xxx # pwd
/usr/local/jboss-4.0.1sp1
root@xxx# find . -type d
.
./bin
<snip>
./server/default/conf
<snip>
./server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/images
./server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/images/nVIEW
<snip>

This was done AFTER the partial install..

I'm quite confused.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. Solaris

WARNING: filename <not present on Read Only file system>+pkgadd error

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

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

6. 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

7. Solaris

Pkgadd error

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

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

samba error after install with pkgadd

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

Pkgadd error no packages found in /var

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
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)
All times are GMT -4. The time now is 04:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy