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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-27-2005, 08:25 AM
|
#1
|
Member
Registered: Nov 2004
Location: china
Distribution: Mandrake 10.1 Official
Posts: 37
Rep:
|
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!!
|
|
|
10-27-2005, 08:39 AM
|
#2
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
|
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
|
|
|
11-19-2005, 09:13 PM
|
#3
|
LQ Newbie
Registered: Nov 2005
Location: Denver, Colorado Area
Posts: 11
Rep:
|
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.
|
|
|
11-20-2005, 02:18 AM
|
#4
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
|
??
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.
|
|
|
11-20-2005, 05:52 AM
|
#5
|
LQ Newbie
Registered: Nov 2005
Location: Denver, Colorado Area
Posts: 11
Rep:
|
thanks for the correction, could not remember the exact syntax...
|
|
|
All times are GMT -5. The time now is 11:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|