The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
pkgadd help mokkan SUN Solaris 1 04-08-2008 07:08 AM
pkgadd issues Sowser UNIX for Advanced & Expert Users 3 09-04-2007 09:43 AM
pkgadd melanie_pfefer SUN Solaris 6 01-08-2007 11:45 PM
PKGADD error Bags UNIX for Advanced & Expert Users 2 05-15-2006 02:29 PM
pkgadd alsande UNIX for Dummies Questions & Answers 4 03-26-2004 11:25 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-28-2008
Registered User
 

Join Date: Apr 2008
Posts: 5
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
problems using pkgadd...

I'm trying to install packages that I downloaded from Sun made for Solaris 8 sparc. I keep getting the following message and can't seem to figure out why it won't install. I even specified absolute path to no avail. The readme file said something about me having to install libxml first, which I did, however the problem persists. Any help is so appreciated. I have also included the readme plus the file attributes (ls -la).

---[ERROR MSG][ERROR MSG][ERROR MSG][ERROR MSG][ERROR MSG]---

bash-2.03# pkgadd -d /var/tmp/svctag/SUNWservicetagr.sparc.s89.pkg

pkgadd: ERROR: attempt to process datastream failed
- bad format in datastream table-of-contents
pkgadd: ERROR: could not process datastream from /var/tmp/svctag/SUNWservicetagr.sparc.s89.pkg>

-----[LS -LA][LS -LA][LS -LA][LS -LA][LS -LA][LS -LA]-----

bash-2.03# ls -la SUNWservicetagr.sparc.s89.pkg
-rw-r--r-- 1 root root 19968 Jan 18 18:29 SUNWservicetagr.sparc.s89.pkg

-----[README][README][README][README][README][README]-----

README file for Service Tag 1.1.3 on Solaris 8 and 9 SPARC

1. Platforms

The packages included here are intended for installation on Solaris 8 and 9, SPARC.
2. Installation As super-user:

# pkgadd -d SUNWservicetagr.sparc.s89.pkg
# pkgadd -d SUNWservicetagu.sparc.s89.pkg
# pkgadd -d SUNWstosreg.sparc.s89.pkg
# pkgadd -d SUNWpsn.sparc.s89.pkg

Notes:
1. libxml dependency
The Service Tag product is dependent upon the SUNWlxml package, which provides XML manipulation functionality. This package is standard on newer Solaris versions but will likely not exist on Solaris 8 installations. To verify if you need to install libxml:

% pkginfo SUNWlxml

If you get: ERROR: information for "SUNWlxml" was not found

-You'll need to download the Solaris 8 version of libxml before proceeding with the Service Tag installation.

SUNWlxml download and installation instructions:

(you'll need a Sun Download Account for this. They are free if you do not have one already)

(a) Then, go to: Sun Validation Test Suite (SunVTS) and Developers Toolkit

(b) Select "SunVTS 5.1PS11, Toolkit and Documentation"
-This option should list "Solaris 8" as one of the supported operating systems.

(c) Select "SPARC" and enter your Sun Download Account/Passsword

(d) On the next page, just download the single option: "XML packages (SUNWlxml, SUNWlxmlx)"

(e) Now you can install SUNWlxml, as super-user:

# tar xf s8xmlpkgs.tar
# pkgadd -d . SUNWlxml
-Note that SUNWxmlx is not needed

2. The Service Tag infrastructure now uses a fixed uid for the "svctag" identity used for registry ownership. If you get this error during the installation of the SUNWservicetagr package: ERROR: User svctag is not UID 95

pkgadd: ERROR: preinstall script did not complete successfully

-you'll need to modify the "svctag" uid via: # usermod -u 95 svctag before proceeding.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-28-2008
DukeNuke2's Avatar
Soulman (Moderator)
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,125
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
have you already instatlled the mentioned "SUNWlxml" package?
Reply With Quote
  #3 (permalink)  
Old 04-28-2008
Registered User
 

Join Date: Apr 2008
Posts: 5
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
yea

Quote:
Originally Posted by DukeNuke2 View Post
have you already instatlled the mentioned "SUNWlxml" package?
yea and it gave me a "installation complete" at the end, no errors.

in fact....

bash-2.03# pkginfo SUNWlxml
system SUNWlxml The XML library
Reply With Quote
  #4 (permalink)  
Old 04-28-2008
DukeNuke2's Avatar
Soulman (Moderator)
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,125
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
what is the output of:

Code:
file /var/tmp/svctag/SUNWservicetagr.sparc.s89.pkg
Reply With Quote
  #5 (permalink)  
Old 04-28-2008
Registered User
 

Join Date: Apr 2008
Posts: 5
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
output

Quote:
Originally Posted by DukeNuke2 View Post
what is the output of:

Code:
file /var/tmp/svctag/SUNWservicetagr.sparc.s89.pkg
bash-2.03# file /var/tmp/svctag/SUNWservicetagr.sparc.s89.pkg
/var/tmp/svctag/SUNWservicetagr.sparc.s89.pkg: English text
Reply With Quote
  #6 (permalink)  
Old 04-28-2008
DukeNuke2's Avatar
Soulman (Moderator)
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,125
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
the file is no pkg... so the error message is true and you've done nothing wrong while installation. maybe the package is corrupt or something went wrong during unpacking... where do you download the package?
Reply With Quote
  #7 (permalink)  
Old 04-28-2008
Registered User
 

Join Date: Apr 2008
Posts: 5
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Quote:
Originally Posted by DukeNuke2 View Post
"...where do you download the package?"
I download it from Sun.com. I visit the URL as said in the readme file.

I actually go to Sun Validation Test Suite (SunVTS) and Developers Toolkit and download a whole folder in zip format to my windows desktop, unzip the contents, then winSCP the files over to the unix box.

Maybe here is the problem?
Reply With Quote
  #8 (permalink)  
Old 04-28-2008
DukeNuke2's Avatar
Soulman (Moderator)
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,125
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
yeah, better download the file (validate checksum if present) and transfer the zip file via scp to your solaris box.
Reply With Quote
  #9 (permalink)  
Old 04-29-2008
Registered User
 

Join Date: Apr 2008
Posts: 5
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
no luch.

Quote:
Originally Posted by DukeNuke2 View Post
yeah, better download the file (validate checksum if present) and transfer the zip file via scp to your solaris box.
I downloaded the zip folder to my windows PC (since I don't have internet access on the unix box) and then winSCP the zip folder over to the unix box and then proceeded to unzip...unfortunately, this still did not work.

same error.
Reply With Quote
  #10 (permalink)  
Old 04-29-2008
Registered User
 

Join Date: Apr 2008
Location: European Union/Germany
Posts: 182
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
What does this fila actually look like? Use e.g. "head -n 40 package_name.pkg" (show first 40 lines) and compare lines with those of another, already installed package. Do they generally look the same? (currently I am not sitting on a Sun, but if I remember right those package files do start with some descriptive "text table" lines not unlike .lsm format)
Reply With Quote
Google UNIX.COM
Reply

Tags
solaris

Thread Tools
Display Modes


The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
421 service not available, remote server has closed connection ^m automate ftp autosys awk trim bash eval bash exec bash for loop command copy/move folder in unix couldn't set locale correctly curses.h cut command in unix find grep find mtime find null character in a unix file grep multiple lines grep or grep recursive hp-ux ifconfig inaddr_any inappropriate ioctl for device lynx javascript mailx attachment mget mtime ping port remove first character from string in k shell replace space by comma , perl script rsync ftp scp recursive segmentation fault(coredump) sftp script snoop unix solaris change ip address stale nfs file handle syn_sent tar exclude tar extract to folder test: argument expected unix unix .profile unix forum unix forums unix internals unix interview questions unix mtime unix simulator unix.com vi substitute while loop within while loop shell script


All times are GMT -7. The time now is 03:51 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101