pkgadd will not install solaris studio 12.3


 
Thread Tools Search this Thread
Operating Systems Solaris pkgadd will not install solaris studio 12.3
# 1  
Old 03-26-2012
pkgadd will not install solaris studio 12.3

I downloaded Solaris 10 OS on x86, SVR4 installer to my desktop and ran digest -a md5 on the downloaded file and the hash values matched. I then ran bunzip2 followed by pkgadd -d SolarisStudio12.3-solaris-x86-pkg and am getting the following error:


Code:
pkgadd: ERROR: attempt to process datastream failed
    - bad format in datastream table-of-contents
pkgadd: ERROR: could not process datastream from </Desktop/SolarisStudio12.3-solaris-x86-pkg>

I also copied the package to /var/spool/pkg and ran pkgadd from there to no good:

Code:
# pkgadd -r SolarisStudio12.3-solaris-x86-pkg
pkgadd: ERROR: no packages were found in </var/spool/pkg>


Can anyone tell me what I'm doing wrong and what I have to do to get this installed...

thanks!

Last edited by Corona688; 03-26-2012 at 04:42 PM.. Reason: Code tags for code, please.
# 2  
Old 03-26-2012
# 3  
Old 03-27-2012
oddly enough i did read that doc but found nothing addressing use of or issues with pkgadd. just downloaded the suite again and will try again. if that does not work i'll go with the tar'ed bins. any known issues with the tared bins?
# 4  
Old 03-27-2012
Hello,
where are you installing the package from? Move the file to /tmp and become root. Run the command there.
# 5  
Old 03-27-2012
The file was located in /Desktop.

I rm'ed that file and downloaded it again but this time the file came thru with a different name, specifically, SolarisStudio12.3-solaris-x86-pkg.tar.bz2. Previously it was named without the "tar" node. Any way I unzip it and just for grins ran pkgadd naming the tarball and not unexpectedly it did not like it. Melted the tar ball which created the directory /Desktop/SolarisStudio12.3-solaris-x86-pkg and tried pkgadd again but to no good. Inside the directory SolarisStudio12.3-solaris-x86-pkg was a shell script called solarisstudio.sh which i executed and which in-turn seemed to install the suite. Have not yet actually tried to do anything of note with it but it seems to be where I would expected it to be and the C compiler appears to work so I guess I'm good to go for the moment.

I did not mention this preiously but this install of Solaris 10 is in a VM, specifically VMWare Fusion 4.1.1. If I get a bit of time I'll create a new vm and try the install with the pkg in /tmp as I would like to get the pkgadd to install the suite as what was loaded appears to be basically the same thing as would have been loaded if the "bin" version of the suite had been installed and from what I've read the bin version can not be updated - just reinstalled I'm guessing.
# 6  
Old 03-27-2012
Ok,
again move the file to /tmp.
Try the command below

Code:
bzip2 -cd SolarisStudio12.3-solaris-x86-pkg.tar.bz2 | tar xvf -

Now do the package add. Also look at the README file. Usually there is instructions in there on how to apply the patch.
# 7  
Old 03-28-2012
I put the downloaded file in /tmp as you suggested and ran the code above followed by
pkgadd -d SolarisStudio12.3-solaris-x86-pkg and got an error saying no package was found. I do not know what pkgadd is looking for in the SolarisStudio12.3-solaris-x86-pkg directory but it is not finding it. As before there is a shell script that will install Solaris Studio as is a script for applying patches.
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