Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help with pkg dependencies S11.3 SRU 20.5

281 views
Skip to first unread message

Suntan

unread,
Jun 11, 2017, 2:43:18 PM6/11/17
to
I'd appreciate learning from you the correct way to overcome an
issue run-into installing a package into a new zone being built
from a solaris-small-server group base.

I've installed Oracle R Distribution 3.3.0 and its support package
into /opt/ORD:

* ord-3.3.0-sol10-sparc-64-sunstudio12u4.tar.gz
* ord-3.3.0-supporting-sol10-sparc-64-sunstudio12u4.tar.gz

However libmtsk and libpicle were missing so I looked for them on
https://pkg.oracle.com/solaris and attempted to install them:

# pkg install system/library/ma...@0.5.11,5.11-0.151.0.1:20101105T061138Z
pkg install: No matching version of system/library/math can be installed:

# pkg install system/pi...@0.5.11,5.11-0.175.3.0.0.30.0:20150821T155926Z
pkg install: No matching version of system/picl can be installed:
Reject: pkg://solaris/system/pi...@0.5.11-0.175.3.0.0.30.0
Reason: No version matching 'require' dependency consolidation/osnet/
osnet-incorporation can be installed
Reason: No version matching 'require' dependency system/
lib...@0.5.11,5.11-0.175.3.0.0.30.0 can be installed
----------------------------------------
Reject: pkg://solaris/system/lib...@0.5.11-0.175.3.20.0.4.0
Reason: No version matching 'require' dependency consolidation/osnet/
osnet-incorporation can be installed
Reason: No version matching 'require' dependency web/curl can be
installed
----------------------------------------
Reject: pkg://solaris/web/cu...@7.45.0-0.175.3.20.0.3.0
Reason: No version matching 'require' dependency library/
lib...@1.4.2,5.11-0.175.3.5.0.3.0 can be installed
----------------------------------------
Reject: pkg://solaris/library/lib...@1.7.0-0.175.3.14.0.4.0
Reason: No version matching 'require' dependency library/
zl...@1.2.8,5.11-0.175.3.0.0.30.0 can be installed
----------------------------------------
Reject: pkg://solaris/library/zl...@1.2.11-0.175.3.20.0.2.0
Reason: No version matching 'require' dependency system/
lib...@0.5.11,5.11-0.175.3.0.0.30.0 can be inst
----------------------------------------
----------------------------------------
----------------------------------------
----------------------------------------

Was my error to specify /opt/ORD as the install directory to the
installation script? As a result, the script did this:

pkgadd -a /tmp/install.sh.999.tmp -d /tmp/pkgs -R /opt/ORD ORD

and, unless I now specify -R, pkginfo listing won't include the
package since even the system information files are relocated.

Had I *not* specified an installation directory of /opt/ORD, by
default it would have installed to /usr/lib/sparcv9/R
(which seemed a little obscure). Had I stuck to the default,
would I not now be facing inability to install missing libraries?

Thanks,

Andrew Gabriel

unread,
Jun 11, 2017, 5:26:06 PM6/11/17
to
In article <ohk2pc$9t9$4...@dont-email.me>,
Suntan <nos...@example.com> writes:
> I'd appreciate learning from you the correct way to overcome an
> issue run-into installing a package into a new zone being built
> from a solaris-small-server group base.
>
> I've installed Oracle R Distribution 3.3.0 and its support package
> into /opt/ORD:
>
> * ord-3.3.0-sol10-sparc-64-sunstudio12u4.tar.gz
> * ord-3.3.0-supporting-sol10-sparc-64-sunstudio12u4.tar.gz
>
> However libmtsk and libpicle were missing so I looked for them on
> https://pkg.oracle.com/solaris and attempted to install them:
>
> # pkg install system/library/ma...@0.5.11,5.11-0.151.0.1:20101105T061138Z
> pkg install: No matching version of system/library/math can be installed:
>
> # pkg install system/pi...@0.5.11,5.11-0.175.3.0.0.30.0:20150821T155926Z

Why are you trying to install the wrong version for SRU 20.5?
Just drop the version strings (the '@' and everything to the right),
and it will install the right versions for the SRU.

> Was my error to specify /opt/ORD as the install directory to the

No, this is unrelated.

> installation script? As a result, the script did this:
>
> pkgadd -a /tmp/install.sh.999.tmp -d /tmp/pkgs -R /opt/ORD ORD

Well, that's a wierd thing to do, but not related.
If the package is relocatable, it will ask you where you
want it installed. Otherwise you might find it doesn't
work because library runpaths might be wrong, but try it
and see.

> and, unless I now specify -R, pkginfo listing won't include the
> package since even the system information files are relocated.
>
> Had I *not* specified an installation directory of /opt/ORD, by
> default it would have installed to /usr/lib/sparcv9/R
> (which seemed a little obscure). Had I stuck to the default,
> would I not now be facing inability to install missing libraries?
>
> Thanks,

--
Andrew Gabriel
[email address is not usable -- followup in the newsgroup]

Suntan

unread,
Jun 11, 2017, 6:01:50 PM6/11/17
to
On Sun, 11 Jun 2017 21:22:28 +0000, Andrew Gabriel wrote:

> In article <ohk2pc$9t9$4...@dont-email.me>,
> Suntan <nos...@example.com> writes:
>
>> I've installed Oracle R Distribution 3.3.0 and its support package into
>> /opt/ORD:
>>
>> However libmtsk and libpicle were missing so I looked for them on
>> https://pkg.oracle.com/solaris and attempted to install them:
>>
>> # pkg install
>> system/library/ma...@0.5.11,5.11-0.151.0.1:20101105T061138Z pkg install:
>> No matching version of system/library/math can be installed:
>>
>> # pkg install system/pi...@0.5.11,5.11-0.175.3.0.0.30.0:20150821T155926Z
>
> Why are you trying to install the wrong version for SRU 20.5?

Because I just copied that user-friendly string from pkg.oracle.com

> Just drop the version strings (the '@' and everything to the right),
> and it will install the right versions for the SRU.

Thanks Andrew,

# pkg install system/library/math
No updates necessary for this image. (zone:oracle)

# pkg install system/picl
Packages to install: 1
Create boot environment: No
Create backup boot environment: No

DOWNLOAD PKGS FILES XFER (MB)
SPEED
Completed 1/1 74/74 0.1/0.1
36.4k/s

PHASE ITEMS
Installing new actions 98/98
Updating package state database Done
Updating package cache 0/0
Updating image state Done
Creating fast lookup database Done
Updating package cache 2/2


>> Was my error to specify /opt/ORD as the install directory to the
>
> No, this is unrelated.
>
>> installation script? As a result, the script did this:
>>
>> pkgadd -a /tmp/install.sh.999.tmp -d /tmp/pkgs -R /opt/ORD ORD
>
> Well, that's a wierd thing to do, but not related.

I shouldn't have attempted installation into /opt ?

> If the package is relocatable, it will ask you where you want it
> installed. Otherwise you might find it doesn't work because library
> runpaths might be wrong, but try it and see.


Thanks, it worked after installing system/picl.

Casper H.S. Dik

unread,
Jun 12, 2017, 3:46:50 AM6/12/17
to
Suntan <nos...@example.com> writes:

>However libmtsk and libpicle were missing so I looked for them on
>https://pkg.oracle.com/solaris and attempted to install them:

># pkg install system/library/ma...@0.5.11,5.11-0.151.0.1:20101105T061138Z
>pkg install: No matching version of system/library/math can be installed:

Why are you using a specific version?

If you are in Solaris 11.3 SRU 20.5 and you install "system/library/math"
you will get the proper version (which seems to be 0.5.11-0.175.3.13.0.1.0

># pkg install system/pi...@0.5.11,5.11-0.175.3.0.0.30.0:20150821T155926Z

Same here; BTW, both should likely already be installed.

When I search for the two libraries I find libmtsk.so in
pkg:/system/library/openmp, so you should just install that.

>Was my error to specify /opt/ORD as the install directory to the
>installation script? As a result, the script did this:

>pkgadd -a /tmp/install.sh.999.tmp -d /tmp/pkgs -R /opt/ORD ORD

They did not have a IPS package? Then it should work just
fine as you would automatically get all the dependencies.

>and, unless I now specify -R, pkginfo listing won't include the
>package since even the system information files are relocated.

-R is to show a differennt root directory and it should generally not
be used for installing packages.

>Had I *not* specified an installation directory of /opt/ORD, by
>default it would have installed to /usr/lib/sparcv9/R
>(which seemed a little obscure). Had I stuck to the default,
>would I not now be facing inability to install missing libraries?

I think that by using -R you've made things a lot more difficult.

Casper
0 new messages