pkg - updateable packages


 
Thread Tools Search this Thread
Operating Systems Solaris pkg - updateable packages
# 1  
Old 03-13-2008
pkg - updateable packages

Hello,
I'm creating some installation packages for Solaris 9 and I wonder whether or not the Solaris pkg system support update operation.

Creating Solaris Packages says
Quote:
The package tools allow you to install, update and remove software easily
But I havent found out how update works.

Like in debian packages, I'd like to detect in the "preinstall" script that it is an update and not a new install of the package.

Thanks for your advices,
regards,
Tex.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Pkg update 11.2

Got a repo server with a combined 11.2/11.3 repository. I want to update latest security patches on server A (which is 11.2). I dont want to upgrade to 11.3 (app reasons). If I do pkg update all - is there any danger this will happen? If so, how to proceed? (2 Replies)
Discussion started by: psychocandy
2 Replies

2. Solaris

# pkg publisher gives bash: pkg: command not found

This is the operating system im using Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC I need to install some packages by setting local repository While i run the below command # pkg publisher command returns bash: pkg: command not found while looking for /usr/bin/pkg i get bash:... (2 Replies)
Discussion started by: babinlonston
2 Replies

3. Solaris

Pkg update from a local repos

I have a local repos on my dev/tst server. pkg server is online and I can query against it on the local server and any LDOMS and zones hosted on the same server. I have another identical Solaris server that should be accessing the pkg repos via the local network. showmount -e from the local (but... (0 Replies)
Discussion started by: os2mac
0 Replies

4. Solaris

Pkg problem, one zone trying pkg.Oracle.com on port 1008

Hi Solaris Experts, The pkg utility on one of my non-global zones has stopped working, it's trying to connect to port 1008 at pkg.oracle.com I was using pkg successfully from this zone, but now it's showing this error: lzone1 $ pkg search xterm pkg: Some repositories failed to respond... (4 Replies)
Discussion started by: ad101
4 Replies

5. Solaris

How extract SUNWexplo.7.1.pkg & SUNWexplu.7.1.pkg from install_stb.sh?

Hi all, Could please guideas how to extract SUNWexplo.7.2.pkg & SUNWexplu.7.2.pkg from install_stb.sh. I need to upgrade my Sun Explorer to 7.2 version from 7.1 . This what written in read me file about its installation: The Lightweight Availability Collection Tool (LWACT) is no... (1 Reply)
Discussion started by: manalisharmabe
1 Replies

6. Slackware

Find Slackware Packages - packages.acl.org.ua

Hi! Let me introduce a project for find and download Slackware packages and browse Slackware repositories. The site provides following features: * Large, daily updated database with RPM, DEB, TGZ, TXZ packages for well-known repositories of the Slackware, Fedora, CentOS, RHEL, Debian,... (2 Replies)
Discussion started by: lystor
2 Replies

7. Solaris

137481-02 pkg

can anyone download this solaris pkg and email to me, it wont let me download it anymore from sunsolve. 137481-02 (1 Reply)
Discussion started by: dan7225
1 Replies

8. Solaris

pkg-get errors

To day i installed boltpkg, hiow ever when i run either a pkg-get install or a pkg-get -u pkg-get re turns the following errors. pkg-get -u WARNING: no catalog file for site ftp.sunfreeware.com Updating catalog file first Getting catalog... ld.so.1: wget: fatal: libssl.so.0.9.8: open... (3 Replies)
Discussion started by: FloridaBSD
3 Replies

9. Solaris

How to remove a pkg ,urgent!!

HI all, I would like to know, how we can remove a package? I know that pkgrm will do the job ,but specifying the right kinda package is important.. And i dont know how to figure that one out? Eg:if i have installed a pkg called virtualbox, If i do, pkgrm SUNWvirtualbox ,it says "no such file... (2 Replies)
Discussion started by: wrapster
2 Replies

10. Solaris

pkgadd pkg to an new directory

hi guys, I am wondering instead installing to the default directory, how can I install a package using pkgadd command to a specified directory? I am using solaris 9, thanks (1 Reply)
Discussion started by: fedora
1 Replies
Login or Register to Ask a Question
GPT-PKG(8)						User Contributed Perl Documentation						GPT-PKG(8)

NAME
gpt-pkg - Creates flavored binary packages out of an installation SYNOPSIS
gpt-pkg [options] packages Options: -verbose Print copious output -help Print usage -man Print man page. -version Print GPT version. -native Create native pkgs as well as GPT pkgs (RPMs only). -all Archive everything in the package directory.. -installdir=PATH Override $GLOBUS_LOCATION -pkgdir=PATH Directory to put the packages -rpmprefix=PATH Absolute path encoded in the RPM. -buildnumber=NUMBER Build number used for pgm_static packages -rpmlicense=LABEL License Label added to the RPM header [packages] List of packages to be archived DESCRIPTION
gpt-pkg Creates binary packages from an installation. The installation needs to contain GPT packaging data files. An installation is created by running gpt-build on a collection of source packages or bundles. FILES IN PGM PACKAGES
Installed files such as executables that are found in pgm and ptm_static packages will overwrite one another when multiple flavors of the same package are built by gpt-build. To preserve multiple flavors of these files, gpt-build copies them into flavored subdirectories. For example, the program $GLOBUS_LOCATION/bin/foo will be copied into the location $GLOBUS_LOCATION/bin/gcc32/shared if it was built with dynamically with the gcc32 flavor. gpt-pkg retrieves these files and copies them back to their proper location before packaging them. Thus gpt-pkg will also overwrite these files as it archives the different flavors of a pgm package. OPTIONS
-installdir Specify the directory in which the installed files currently live. If this argument is not supplied, the value of the environment variable GLOBUS_LOCATION is used instead. -all Packages all of the binaries in an installation. -native Creates a package in the native packaging format. Currently only rpm is supported. -rpmprefix=<path_to_installation> This should be set to the path to your GLOBUS_LOCATION. GPT will use a value of "/usr/grid" if this option is not specified. -rpmlicense=<label> Provides an alternate copyright label for the rpms. The default is whatever GPT was configured with. -verbose Prints out all of the build messages. -log=FILE Appends all of the build messages to FILE. This option also sets -verbose. -help Print a brief help message and exits. -man Prints the manual page and exits. -version Prints the version of GPT and exits. pgm and pgm_static packages gpt-build copies the files for these packages in a flavored location because different flavors of these types of packages will conflict with each other. gpt-pkg restores these files when it packages pgm and pgm_static types. SEE ALSO
gpt-bundle(8) gpt-install(8) gpt-build(8) AUTHOR
Michael Bletzinger <mbletzin.ncsa.uiuc.edu> and Eric Blau <blau.mcs.anl.gov> perl v5.14.2 2012-04-30 GPT-PKG(8)