Try this as root from /tmp.
or
I was having issues upgrading java and openssl on some servers, but when I ran pkgadd from the /tmp directory I had a 100% success rate.
I hope this helps
---------- Post updated at 09:14 AM ---------- Previous update was at 09:01 AM ----------
Anther thought.
Is Solaris Studio installed on your server? Some times you need to remove the old version 1st. I had to do that when I install openssl.
Tried every varient of your suggestions and pkgadd was happy with any of them. What follows is the terminal session:
# pkgadd -d /tmp/SolarisStudio12.3-solaris-x86-pkg
pkgadd: ERROR: no packages were found in </tmp/SolarisStudio12.3-solaris-x86-pkg>
# file /tmp/SolarisStudio12.3-solaris-x86-pkg
/tmp/SolarisStudio12.3-solaris-x86-pkg: directory
# file SolarisStudio12.3-solaris-x86-pkg
SolarisStudio12.3-solaris-x86-pkg: directory
# pkgadd -d /tmp/SolarisStudio12.3-solaris-x86-pkg.tar
pkgadd: ERROR: attempt to process datastream failed
- bad format in datastream table-of-contents
pkgadd: ERROR: could not process datastream from </tmp/SolarisStudio12.3-solaris-x86-pkg.tar>
# file /tmp/SolarisStudio12.3-solaris-x86-pkg.tar
/tmp/SolarisStudio12.3-solaris-x86-pkg.tar: USTAR tar archive extended format
In answer to your last question Solaris Studio has never been installed in this server.
Maybe the answer here is that Oracle/Sun did not set up this download for use with pkgadd eventhough it would appear that it was their intention to do so?
Ok do this please
and this
post the output. If there is a readme file?
There is a possibility that you need to install it like you do for system patches.
Here is an example of how you install system patches.
The --s10patchset is a key that has be used to install the patches. There should be a readme file that will have this info if you need to do it this way. The instructions are usually near the end of the file.
Give me the output of the command below.
Sorry to ask this but do you have the right file? Maybe you downloaded a patch and not a installer.
Sometimes all you need to do to install a program in UNIX is to untar or unzip it. What is the command to launch the program?
The Solaris Studio download page at http: //www.oracle.com/technetwork/server-storage/solarisstudio/downloads/index.html?ssSourceSiteId=ocomen
provides two different file formats: 1. SVR4 packages; 2. tar file
The benefit of a tar file is that its easy to set up (just untar wherever you want, set your path variable to the Studio bin location, and your ready to develop. The down side is that there is no way to add any patches or have the packages been officially seen by the Solaris packaging software). In both formats, the product is tar'ed and then compressed so you will need to un-compress and un-tar before doing the actual install.
Just to make it easy, I'd suggest re-downloading the file that contains the SVR4 pkg format,
which is at: http: //download.oracle.com/otn/solaris/studio/SolarisStudio12.3-solaris-x86-pkg.tar.bz2
Then you should be able to do a pkgadd of the resulting directory. Of course, pkgadd requires you to be root to do the install so be sure to do that before running the pkgadd cmd.
bitlord,
the first line in you last post did the install and at this point it seems to be ok. thanks for your your help!
studio_oracle,
i downloaded the SVR4 package from Oracle Solaris Studio Downloads, platform: Solaris 10 OS on x86, SVR4 installer on x86, ran digest to get the md5 hash which compared to the one listed on the web page and followed the steps you list in your post with the exception that I always get an error when running pkgadd. ultimately i did as bitlord suggested in the last post to get it installed...
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)
I believe pkgadd facility is available on AIX for managing installation of software packages.
How can i get pkgadd facility on AIX machine. which packages i have to install to get pkgadd feature?
:mad: (4 Replies)
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)
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)
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)
Hi all.
I'm trying to install Sun Studio on my Ubuntu 10.4 pc because
I wanna use X-Designer (it is a Motif GUI builder), that should be in that suite.
I downloaded the tar package build for linux and installed
the deps. Sun Studio and the Sun C Compiler work fine, but
i cannot find... (0 Replies)
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)
Hi,
This is not a question thread, but rather a solution to an issue I have encountered on Solaris 11.
It turns out that pkgadd is not available by default on Solaris 11. The solution is to install it with:
pkg install SUNWpkgcmdsI hope this will save people some time.
Cheers,
... (4 Replies)
I am trying to install Sun Studio 11 on a Solaris 8 server. It gets through the install of patches then hangs with 20% of the overall install done and 0% of the software install done. It seems to be running /tmp/SolarisNativeToolkit_3.0.2_1 and is hanging. I have made multiple attempts and it... (6 Replies)
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)