[rescue] OK, this got me there!!! Re: Solaris 11 package conflicts

Jerry Kemp sun.mail.list47 at oryx.us
Wed Aug 30 17:13:22 CDT 2017


Hello again Phil,

another partial, but successful answer.  I didn't figure this out on my own.

Fired up duckduckgo.com and searched for 'Solaris 11 perl 522 upgrade'

came across this link

<https://serverfault.com/questions/786711/trying-to-install-golang-on-a-solaris-11-3-vm>

which pointed to this link

<http://docs.oracle.com/cd/E26502_01/html/E28984/gmias.html#scrolltoc>

I fired up a Solaris 11.3 vm in virtual box to play with this.

Not a straight forward answer, but I now have a stock Solaris 11.3 x64/x86 
install that is upgraded to perl 5.22.x

Note, these are copy-n-paste from the virtualbox window.

hope this helps, good luck.

Jerry


.........................................................................


solaris11vm /root 56 # perl -v

This is perl 5, version 12, subversion 5 (v5.12.5) built for i86pc-solaris-64int
(with 7 registered patches, see perl -V for more detail)

Copyright 1987-2012, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

solaris11vm /root 57 #


solaris11vm /root 59 # pkg change-facet version-lock.runtime/perl-512=false

solaris11vm /root 60 # pkg change-facet facet.version-lock.runtime/perl-512=false

solaris11vm /root 61 # pkg facet
FACET                                                            VALUE SRC
locale.*                                                         False local
locale.de                                                        True  local
locale.de_DE                                                     True  local
locale.en                                                        True  local
locale.en_US                                                     True  local
locale.es                                                        True  local
locale.es_ES                                                     True  local
locale.fr                                                        True  local
locale.fr_FR                                                     True  local
locale.it                                                        True  local
locale.it_IT                                                     True  local
locale.ja                                                        True  local
locale.ja_*                                                      True  local
locale.ko                                                        True  local
locale.ko_*                                                      True  local
locale.pt                                                        True  local
locale.pt_BR                                                     True  local
locale.zh                                                        True  local
locale.zh_CN                                                     True  local
locale.zh_TW                                                     True  local
runtime/perl-512                                                 False local
version-lock.runtime/perl-512                                    False local
solaris11vm /root 62 #

solaris11vm /root 64 # pkg contents -r -o fmri,type -t depend developer/golang-15
FMRI                                         TYPE
pkg:/runtime/perl-522 at 5.22.1-5.12.0.0.0.95.0 require
pkg:/system/library at 0.5.11-0.175.3.1.0.3.0   require
release/evaluation                           require
solaris11vm /root 65 # pkg install golang
            Packages to install:  20
             Packages to update:   1
             Packages to change:   1
            Mediators to change:   2
        Create boot environment:  No
Create backup boot environment: Yes

Building new search index                    762/762
DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                              22/22   12044/12044  164.3/164.3  887k/s

PHASE                                          ITEMS
Removing old actions                           11/11
Installing new actions                   11578/11578
Updating modified actions                    833/833
Updating package state database                 Done
Updating package cache                           1/1
Updating image state                            Done
Creating fast lookup database                   Done
Reading search index                            Done
Building new search index                    782/782
Updating package cache                           1/1

solaris11vm /root 66 # rehash

solaris11vm /root 67 # perl -v

This is perl 5, version 22, subversion 1 (v5.22.1) built for 
i86pc-solaris-thread-multi-64

Copyright 1987-2015, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


solaris11vm /root 68 # cat /etc/release
                              Oracle Solaris 11.3 X86
   Copyright (c) 1983, 2015, Oracle and/or its affiliates.  All rights reserved.
                             Assembled 06 October 2015

solaris11vm /root 69 # pkg info entire | grep Branch
         Branch: 0.175.3.1.0.5.2

solaris11vm /root 70 #


More information about the rescue mailing list