LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 10-27-2005, 08:25 AM   #1
anuode
Member
 
Registered: Nov 2004
Location: china
Distribution: Mandrake 10.1 Official
Posts: 37

Rep: Reputation: 15
how to install SFW*** pkg ?


there is an SFWxmms package on CCD and I want to install it.But when cd into the directory containing the package and run "pkgadd -d SFWxmms" ,it complain:
Code:
bash-3.00# pkgadd -d SFWxmms pkgadd: ERROR: no packages were found in </cdrom/s10_software_companion/components/i386/Packages/SFWxmms>
Then I cd into the SFWxmms and try again:
Code:
bash-3.00# pkgadd -d SFWxmms pkgadd: ERROR: attempt to process datastream failed     - open of <SFWxmms> failed, errno=2 pkgadd: ERROR: could not process datastream from <SFWxmms>
at last cd into the perent directory of SFWxmms package and try once again:
Code:
bash-3.00# cd .. /../bash-3.00# pkgadd -d SFWxmms pkgadd: ERROR: attempt to process datastream failed     - open of <SFWxmms> failed, errno=2 pkgadd: ERROR: could not process datastream from <SFWxmms>
Code:
bash-3.00# ls SFWaalib       SFWfile        SFWguile       SFWpcre        SFWtdmp SFWaconf       SFWfltk        SFWgviz        SFWpftpd       SFWter SFWafio        SFWfnlib       SFWhpijs       SFWpine        SFWtetex SFWamake       SFWfppd        SFWimap        SFWplotu       SFWtnef SFWamnda       SFWftchm       SFWimlib       SFWpnm2p       SFWtop SFWasclk       SFWfttse       SFWispel       SFWprcml       SFWungif SFWastep       SFWfvwm        SFWjoe         SFWpy          SFWunwin SFWbdb         SFWgawk        SFWkde         SFWqt          SFWuudv SFWbison       SFWgbin        SFWkoff        SFWrline       SFWvim SFWblue        SFWgcal        SFWlibsane     SFWrpm         SFWvnc SFWbrl         SFWgcc2        SFWlpcap       SFWrsync       SFWvorbt SFWcddk        SFWgcc2l       SFWltool       SFWruby        SFWw3 SFWcdrtl       SFWgcc34       SFWlxrun       SFWrxvt        SFWwine SFWcprnt       SFWgcc34l      SFWlynx        SFWsampc       SFWwmkr SFWctags       SFWgcmn        SFWmpack       SFWsane        SFWxaw3d SFWcups        SFWgd          SFWmpage       SFWscrn        SFWxcpus SFWcurl        SFWgdb         SFWmpeg        SFWscrnbrltty  SFWxdelta SFWcvs         SFWgfile       SFWmpg12       SFWsdic        SFWxfce SFWdb1         SFWgfind       SFWmphp        SFWsdl         SFWxmacs SFWddd         SFWgimp        SFWmpydb       SFWsed         SFWxmcd SFWdiffu       SFWgkrel       SFWmutt        SFWsgrep       SFWxmms SFWemacs       SFWglob        SFWmyjdb       SFWshar        SFWxpdf SFWenscr       SFWgm4         SFWncur        SFWshutl       SFWxpp SFWespgs       SFWgmake       SFWnmap        SFWslang       SFWxterm SFWespk        SFWgplot       SFWnmh         SFWslrn        SFWyasr SFWespks       SFWgprnt       SFWnpbm        SFWsnort SFWethrl       SFWgroff       SFWoggl        SFWsquid SFWexpct       SFWgtext       SFWoldap       SFWsudo SFWffltr       SFWgtxt        SFWoslp        SFWtclx
anyone can help me ?
thanks!!
 
Old 10-27-2005, 08:39 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
A Solaris (SVR4) package can be either a single file (package datastream) or a directory. One can convert from one form to the other with the command pkgtrans.

If your package is in the single file form, the command to install it is:
Code:
# pkgadd -d PACKAGEname
If the package is in the deployed form, go into its parent directory and run:
Code:
# pkgadd -d . PACKAGEname
 
Old 11-19-2005, 09:13 PM   #3
davidrham
LQ Newbie
 
Registered: Nov 2005
Location: Denver, Colorado Area
Posts: 11

Rep: Reputation: 0
Try This

Try pkgadd <pkgname> without the -d. I forget the details, but depending on the type of package, you have to treat them differently.
 
Old 11-20-2005, 02:18 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
??

Not using -d has nothing to do with the package format, "man pkgadd" for details.

Last edited by jlliagre; 11-20-2005 at 02:19 AM.
 
Old 11-20-2005, 05:52 AM   #5
davidrham
LQ Newbie
 
Registered: Nov 2005
Location: Denver, Colorado Area
Posts: 11

Rep: Reputation: 0
thanks for the correction, could not remember the exact syntax...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where to download the pkg and to install veeraalin Solaris / OpenSolaris 1 06-17-2005 03:13 AM
install pkg list bruse Mandriva 2 05-01-2005 01:09 PM
gzip pkg. install error sethgeekx86 Slackware 1 07-14-2004 08:27 PM
How to install *.pkg file futurist Linux - Software 1 03-20-2003 04:48 AM
How do i install a pkg jazzy_j11111 Linux - General 3 03-14-2002 09:26 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 04:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration