What's the secret to using pkg-get from blastwave?
I tried:
# pkg-get -install tetex
and got:
/opt/csw/bin/pkg-get[1830]: getopts: n bad option(s)
pkg-get, by Philip Brown , phil@bolthole.com
(Internal SCCS code revision 3.4)
Originally from http://www.bolthole.com/solaris/pkg-get.html
pkg-get is used to install free software packages
pkg-get
Need one of 'install', 'upgrade', 'available','compare'
'-i|install' installs a package
'-u|upgrade' upgrades already installed packages if possible
'-a|available' lists the available packages in the catalog
'-c|compare' shows installed package versions vs available
'-l|list' shows installed packages by software name only
Optional modifiers:
'-d|download' just download the package, not install
'-D|describe' describe available packages, or search for one
'-U|updatecatalog' updates download site inventory
'-S|sync' Makes update mode sync to version on mirror site
'-f' dont ask any questions: force default pkgadd behaviour
Normally used with an override admin file
See /var/pkg-get/admin-fullauto
'-s ftp://site/dir' temporarily override site to get from
|
|
0
|
|
|
|
Reply
|
rgilbert88 (4368)
|
2/11/2007 9:58:44 PM |
|
Richard B. gilbert schrieb:
> What's the secret to using pkg-get from blastwave?
>
> I tried:
> # pkg-get -install tetex
> and got:
>
> /opt/csw/bin/pkg-get[1830]: getopts: n bad option(s)
> pkg-get, by Philip Brown , phil@bolthole.com
> (Internal SCCS code revision 3.4)
> Originally from http://www.bolthole.com/solaris/pkg-get.html
>
> pkg-get is used to install free software packages
> pkg-get
> Need one of 'install', 'upgrade', 'available','compare'
> '-i|install' installs a package
> '-u|upgrade' upgrades already installed packages if possible
> '-a|available' lists the available packages in the catalog
> '-c|compare' shows installed package versions vs available
> '-l|list' shows installed packages by software name only
>
> Optional modifiers:
> '-d|download' just download the package, not install
> '-D|describe' describe available packages, or search for one
> '-U|updatecatalog' updates download site inventory
> '-S|sync' Makes update mode sync to version on mirror site
> '-f' dont ask any questions: force default pkgadd behaviour
> Normally used with an override admin file
> See /var/pkg-get/admin-fullauto
>
> '-s ftp://site/dir' temporarily override site to get from
>
As the help text indicates, use either
pkg-get -i tetex
or
pkg-get install tetex
Cheers
Andreas
|
|
0
|
|
|
|
Reply
|
Andreas
|
2/11/2007 10:02:27 PM
|
|
Andreas Wacknitz wrote:
> Richard B. gilbert schrieb:
>
>> What's the secret to using pkg-get from blastwave?
>>
>> I tried:
>> # pkg-get -install tetex
>> and got:
>>
>> /opt/csw/bin/pkg-get[1830]: getopts: n bad option(s)
>> pkg-get, by Philip Brown , phil@bolthole.com
>> (Internal SCCS code revision 3.4)
>> Originally from http://www.bolthole.com/solaris/pkg-get.html
>>
>> pkg-get is used to install free software packages
>> pkg-get
>> Need one of 'install', 'upgrade', 'available','compare'
>> '-i|install' installs a package
>> '-u|upgrade' upgrades already installed packages if possible
>> '-a|available' lists the available packages in the catalog
>> '-c|compare' shows installed package versions vs available
>> '-l|list' shows installed packages by software name only
>>
>> Optional modifiers:
>> '-d|download' just download the package, not install
>> '-D|describe' describe available packages, or search for one
>> '-U|updatecatalog' updates download site inventory
>> '-S|sync' Makes update mode sync to version on mirror site
>> '-f' dont ask any questions: force default pkgadd behaviour
>> Normally used with an override admin file
>> See /var/pkg-get/admin-fullauto
>>
>> '-s ftp://site/dir' temporarily override site to get from
>>
> As the help text indicates, use either
> pkg-get -i tetex
> or
> pkg-get install tetex
>
> Cheers
> Andreas
Thanks!
It's not obvious what the "operator precedence" is for '-i|install'! I
read it as "-i" or "-install"
|
|
0
|
|
|
|
Reply
|
Richard
|
2/11/2007 10:41:08 PM
|
|
On Feb 11, 2:41 pm, "Richard B. gilbert" <rgilber...@comcast.net>
wrote:
> Andreas Wacknitz wrote:
> > Richard B. gilbert schrieb:
> >> What's the secret to using pkg-get from blastwave?
> >> I tried:
> >> # pkg-get -install tetex
> >> and got:
> >> /opt/csw/bin/pkg-get[1830]: getopts: n bad option(s)
> >> pkg-get, by Philip Brown , p...@bolthole.com
> >> (Internal SCCS code revision 3.4)
> >> Originally fromhttp://www.bolthole.com/solaris/pkg-get.html
> >> pkg-get is used to install free software packages
> >> pkg-get
> >> Need one of 'install', 'upgrade', 'available','compare'
> >> '-i|install' installs a package
> >> '-u|upgrade' upgrades already installed packages if possible
> >> '-a|available' lists the available packages in the catalog
> >> '-c|compare' shows installed package versions vs available
> >> '-l|list' shows installed packages by software name only
>
> >> Optional modifiers:
> >> '-d|download' just download the package, not install
> >> '-D|describe' describe available packages, or search for one
> >> '-U|updatecatalog' updates download site inventory
> >> '-S|sync' Makes update mode sync to version on mirror site
> >> '-f' dont ask any questions: force default pkgadd behaviour
> >> Normally used with an override admin file
> >> See /var/pkg-get/admin-fullauto
> >> '-sftp://site/dir' temporarily override site to get from
> > As the help text indicates, use either
> > pkg-get -i tetex
> > or
> > pkg-get install tetex
> It's not obvious what the "operator precedence" is for '-i|install'! I
> read it as "-i" or "-install"
Richard - the "|" indicates an OR operator. Either this OR that
in this case. Think booean either -i OR install (without dash) then
its obvious : >
|
|
0
|
|
|
|
Reply
|
gerryt
|
2/12/2007 5:25:25 AM
|
|
On 2007-02-11, Richard B. gilbert <rgilbert88@comcast.net> wrote:
> It's not obvious what the "operator precedence" is for '-i|install'! I
> read it as "-i" or "-install"
In regular expressions, the alternation operator �|� has the lowest
priority. See section �ERE Precedence� in regex(5).
Andreas.
|
|
0
|
|
|
|
Reply
|
comp
|
2/13/2007 4:45:51 PM
|
|
|
4 Replies
92 Views
(page loaded in 3.124 seconds)
Similiar Articles: pkg - recreated /var/sadm/install/contents - comp.unix.solaris ...> Do you know what files, other than /var/sadm/install/contents, need to > be restored to get pkginfo working again? Each installed package is to be represented by a ... [Question] Install gcc -Arithmetic Exception (core dumped ...Dear All, I installed gcc-3.4.1 using "pkg-get install gcc-3.4.1". However, when I type "gcc" in command line. All information displayed is "Arithmet... announce: openssl binaries available - comp.unix.solaris ...blastwave.org now has openssl 0.9.7c binaries available. Not all the mirror sites have resynced yet, but they should, "soon". pkg-get -U -u openssl... pkg-config and Windows - comp.lang.pythonpkg-config and Windows - comp.lang.python pkg-config and Windows - comp.lang.python I have a program that needs to be installed with setup.py. But there is a problem ... speed of Apache 2 on solaris 10 - comp.unix.solarisI've tried using the packaged Apache 1 instead with no difference, tried the CSW pkg-get version of Apache2 on a different port but no luck there. Package management - comp.unix.solarisAs far as I can see, 5.10 does not provide any new package management tools besides pkgadd/pkgrm. This is an area where Solaris could really be impro... Best way to delete old files? find & exec VS find & xargs - comp ...I've been using some GNU packages for a while (Samba most importantly) via the pkg-get tool so I forgot all about this possiblilty to install up to date GNU software. packages needed for gcc installation on Solaris 9 core install ...I am trying to build a barebones solaris 9 webserver (Apache, Mysql, Php, Perl). I do a default core installation and am having trouble getting the ... "partially installed" packages - comp.unix.solarisThe OpenSolaris release of the IPS package repository must be the same as the OpenSolaris release that will be installed ... It's partially documented in the `pkg.depotd ... NFS Server access list - comp.sys.sun.admin... working. but if you released it, it would probably make quite a few people very happy -- http://www.blastwave.org/ for solaris pre-packaged binaries with pkg-get ... 7/23/2012 10:25:29 AM
|