09-01-2008
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?
Reloader
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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. 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
4. 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
5. 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
6. 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
7. Shell Programming and Scripting
Hi,
Please could someone help me, understand how pkgadd works within unix.
I have a software file, and I need to package this up and then pkgadd this to another server. Please could some advise me the best way to do this.
regards
venhart (2 Replies)
Discussion started by: venhart
2 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
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
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
LEARN ABOUT OPENSOLARIS
service_bundle
service_bundle(4) File Formats service_bundle(4)
NAME
service_bundle - service manifest file format
SYNOPSIS
/usr/share/lib/xml/dtd/service_bundle.dtd.1
DESCRIPTION
The service management facility, described in smf(5), utilizes an XML-based file format to marshal the description of a set of services or
service instances between systems. This file is known as a service bundle. The primary form of a service bundle is the inventory of ser-
vices that are provided by a package, which is called a service manifest.
The DTD describing the service_bundle is provided at /usr/share/lib/xml/dtd/service_bundle.dtd.1. The attributes and tags are fully
described in the commented DTD. The services supplied with the operating system, stored under /var/svc/manifest, provide examples of cor-
rectly formed service descriptions.
service_bundle documents can also use the XML Inclusions (XInclude) facility to merge multiple documents into one. A service_bundle docu-
ment manipulator must therefore support the functionality defined by the XInclude specification.
A complete service description consists of the following:
o A set of properties that identify the service and identify its restarter
o A set of properties that identify each instance
o A set of framework property groups that describe the framework's understanding of each instance
o A set of method property groups as required by svc.startd(1M), or by a delegated restarter
o Additional optional method property groups
o A set of dependency property groups
o An optional group of properties that indicate services to which dependencies on the described service were added
o A set of application property groups or application-specific typed property groups containing application configuration data
o A template that describes supporting information about this service, such as a description, links to documentation, and metadata
about property groups and properties.
The document type definition for the service bundle provides markup to define each of these aspects of a service description, as well as a
number of entities that identify regular features in describing a service, such as the <create_default_instance> tag.
Manifest Handling During Packaging Operations
Service manifests within packages should be identified with the class manifest. Class action scripts that install and remove service mani-
fests are included in the packaging subsystem. When pkgadd(1M) is invoked, the service manifest is imported.
When pkgrm(1M) is invoked, instances in the manifest that are disabled are deleted. Any services in the manifest with no remaining
instances are also deleted.
If the -R option is supplied to pkgadd(1M) or pkgrm(1M), the actions described in this section are done when the system is next rebooted
with that alternate root path.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Stability |Committed |
+-----------------------------+-----------------------------+
SEE ALSO
pkgadd(1M), pkgrm(1M), svcadm(1M), svccfg(1M), svc.startd(1M), libscf(3LIB), attributes(5), locale(5), smf(5), smf_method(5), smf_tem-
plate(5)
NOTES
Nested service_bundle elements must be of the same type.
SunOS 5.11 6 Mar 2009 service_bundle(4)