LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   how to install SFW*** pkg ? (https://www.linuxquestions.org/questions/solaris-opensolaris-20/how-to-install-sfw%2A%2A%2A-pkg-377390/)

anuode 10-27-2005 08:25 AM

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!!

jlliagre 10-27-2005 08:39 AM

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

davidrham 11-19-2005 09:13 PM

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.

jlliagre 11-20-2005 02:18 AM

??

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

davidrham 11-20-2005 05:52 AM

thanks for the correction, could not remember the exact syntax...


All times are GMT -5. The time now is 11:00 PM.