pkgadd will not install solaris studio 12.3


 
Thread Tools Search this Thread
Operating Systems Solaris pkgadd will not install solaris studio 12.3
# 8  
Old 03-28-2012
What says
Code:
file SolarisStudio12.3-solaris-x86-pkg

?
# 9  
Old 03-28-2012
Try this as root from /tmp.
Code:
pkgadd ./SolarisStudio12.3-solaris-x86-pkg

or
Code:
pkgadd -d /tmp/SolarisStudio12.3-solaris-x86-pkg

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.
# 10  
Old 03-28-2012
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?
# 11  
Old 03-28-2012
Try this as root.
Code:
cd /tmp/SolarisStudio12.3-solaris-x86-pkg
./solarisstudio.sh


If that don't work do the steps below.

Ok do this please
Code:
ls -ld /tmp/SolarisStudio12.3-solaris-x86-pkg

and this
Code:
ls -l /tmp/SolarisStudio12.3-solaris-x86-pkg

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.
Code:
unzip 10_recomended.zip
cd 10_recomended
./installpatchset  --s10patchset

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.
Code:
tar tvf SolarisStudio12.3-solaris-x86-pkg.tar

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?

I hope this helps.

Last edited by bitlord; 03-28-2012 at 03:06 PM..
# 12  
Old 03-28-2012
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

and then run the command:

bzcat download_directory/SolarisStudio12.3-solaris-x86-pkg.tar.bz2 | /bin/tar -xf -

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.

hope that works for you.
# 13  
Old 03-29-2012
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...
# 14  
Old 03-29-2012
I got the line from the install guide DukeNuke2 linked to in an earlier post.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Pkgadd failures with Solaris 11

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)
Discussion started by: moondog25
0 Replies

2. AIX

Install pkgadd on AIX

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)
Discussion started by: snreddy_gopu
4 Replies

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

4. Solaris

pkgadd with admin fine (solaris 10)

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)
Discussion started by: Mack1982
5 Replies

5. Solaris

Variable not expanding during Solaris pkgadd

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)
Discussion started by: JerryHone
0 Replies

6. Programming

Trying to install X-Designer from Sun studio suite.

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)
Discussion started by: mghis
0 Replies

7. UNIX Desktop Questions & Answers

Solaris 10 - Compiling package from source? Different from pkgadd?

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)
Discussion started by: agummad
1 Replies

8. Solaris

pkgadd missing on Solaris 11

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)
Discussion started by: JVerstry
4 Replies

9. Solaris

Sun Studio 11 install on Solaris 8 hanging

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)
Discussion started by: jwilloughby
6 Replies

10. UNIX for Dummies Questions & Answers

pkgadd fails when installing Solaris 8 patches

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)
Discussion started by: Deicide5997
5 Replies
Login or Register to Ask a Question