Virtual box IPS install on fresh 11.4.29 Solaris Fails

Discussions related to using VirtualBox on Solaris hosts.
Post Reply
SatMan
Posts: 6
Joined: 3. Feb 2021, 00:26

Virtual box IPS install on fresh 11.4.29 Solaris Fails

Post by SatMan »

Can someone explain why I'm getting...

Code: Select all

root@blackrack:/var/tmp# ls -al
total 239793
drwxrwxrwt   2 root     sys            3 Feb  2 06:26 .
drwxr-xr-x  43 root     sys           52 Feb  2 05:24 ..
-rw-r--r--   1 Joe      staff    122603520 Feb  2 06:26 VirtualBox-6.1.18-142142-Solaris.p5p
root@blackrack:/var/tmp# pkg install -g file:////var/tmp/VirtualBox-6.1.18-142142-Solaris.p5p system/virtualbox
Creating Plan (Solver setup): |
pkg install: No matching version of system/virtualbox can be installed:
  Reject:  pkg://virtualbox/system/virtualbox@6.1.18-0.0.0.142142.0.0.0
  Reason:  All acceptable versions of 'require' dependency on runtime/python-26@2.6.8-0.175.3.0.0.30.0 are obsolete
root@blackrack:/var/tmp# 
This appears to me that the 6.1 IPS package I downloaded wants old python, which Solaris 11.4.29 does not have.

Any idea's?
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Virtual box IPS install on fresh 11.4.29 Solaris Fails

Post by scottgus1 »

Virtualbox contains a Python API that can accept Python 2 input.

This situation has come up in the last several months in the Linux Hosts forum, because Python 2 is being abandoned. Unfortunately for Python-3-only users, the paying Oracle customers haven't driven Virtualbox developers to remove Python 2 capabilities from the API. (There's some business users still using DOS, apparently. Some governments still have their 1970's mainframes running unemployment benefits...)

If I remember correctly it was still possible to install Python 2 on Python-3-only host Linux OS's, so Virtualbox can be installed. I did not take a link, though, to where I saw this. You can look back through the Linux Hosts forum and see the mentions of Python 2.
paulson
Oracle Corporation
Posts: 28
Joined: 6. Jun 2019, 20:16

Re: Virtual box IPS install on fresh 11.4.29 Solaris Fails

Post by paulson »

SatMan wrote:Can someone explain why I'm getting...

Code: Select all

root@blackrack:/var/tmp# ls -al
total 239793
drwxrwxrwt   2 root     sys            3 Feb  2 06:26 .
drwxr-xr-x  43 root     sys           52 Feb  2 05:24 ..
-rw-r--r--   1 Joe      staff    122603520 Feb  2 06:26 VirtualBox-6.1.18-142142-Solaris.p5p
root@blackrack:/var/tmp# pkg install -g file:////var/tmp/VirtualBox-6.1.18-142142-Solaris.p5p system/virtualbox
Creating Plan (Solver setup): |
pkg install: No matching version of system/virtualbox can be installed:
  Reject:  pkg://virtualbox/system/virtualbox@6.1.18-0.0.0.142142.0.0.0
  Reason:  All acceptable versions of 'require' dependency on runtime/python-26@2.6.8-0.175.3.0.0.30.0 are obsolete
root@blackrack:/var/tmp# 
This appears to me that the 6.1 IPS package I downloaded wants old python, which Solaris 11.4.29 does not have.

Any idea's?
The VirtualBox Solaris IPS package should work on Solaris 11.4. The
VirtualBox IPS packaging build process endeavors to remove the
dependency on Python 2.6 since it is not available in Solaris 11.4
(Python 2.6 was obsoleted/last delivered in Solaris 11.3 SRU 20) but
instead leave the Python 2.7 dependency which is available on Solaris
11.4. Evidently the Python 2.6 dependency snuck back in so we are
taking a look to see where things went wrong.
SatMan
Posts: 6
Joined: 3. Feb 2021, 00:26

Re: Virtual box IPS install on fresh 11.4.29 Solaris Fails

Post by SatMan »

The failing system was a USB text only install of 11.4 on a blank SSD, followed by pkg commands to add the key/certificate files to get the latest updates (.29), followed by pkg update.

Then I got your IPS installer file with the fail shown.

Box is not production so I can be a tester if you have anything to try, or want more detailed logs.

Please let me know any way I can help.

Ted
SatMan
Posts: 6
Joined: 3. Feb 2021, 00:26

Re: Virtual box IPS install on fresh 11.4.29 Solaris Fails

Post by SatMan »

Any update?
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Virtual box IPS install on fresh 11.4.29 Solaris Fails

Post by scottgus1 »

Re Python 2, try this from 'RAMChYLD':
viewtopic.php?f=7&t=101006&p=490353#p490332
It's a Linux solution to the Python 2 problem, maybe it might work in Solaris.
SatMan
Posts: 6
Joined: 3. Feb 2021, 00:26

Re: Virtual box IPS install on fresh 11.4.29 Solaris Fails

Post by SatMan »

Scott,

Its a good idea, however Solaris 11 does have Python 2 (2.7), this issue is the Solaris Installer system for some crazy reason won't take 2.7 and must have 2.6.

I think one of the Virtualbox Dev's said they'd look into it, but I'm dead in the water 'till they do.

I'm actually at the point of willing to pay for a fix, it that's possible.

Ted
paulson
Oracle Corporation
Posts: 28
Joined: 6. Jun 2019, 20:16

Re: Virtual box IPS install on fresh 11.4.29 Solaris Fails

Post by paulson »

The VirtualBox IPS package files available at https://www.virtualbox.org/wiki/Testbuilds contain
the fix for the incorrect Python 2.6 dependency. The next maintenance release of VirtualBox will contain
the fix as well.
SatMan
Posts: 6
Joined: 3. Feb 2021, 00:26

Re: Virtual box IPS install on fresh 11.4.29 Solaris Fails

Post by SatMan »

LOVE LOVE LOVE

I'll try it tonight.

Ted
SatMan
Posts: 6
Joined: 3. Feb 2021, 00:26

Re: Virtual box IPS install on fresh 11.4.29 Solaris Fails

Post by SatMan »

Installs good.....

Code: Select all

root@blackrack:/var/tmp# pkg install -g file:////var/tmp/VirtualBox-6.1.19-142777-Solaris.p5p system/virtualbox
           Packages to install:  4
            Services to change:  2
       Create boot environment: No
Create backup boot environment: No

DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                                4/4       916/916  131.8/131.8 17.0M/s

PHASE                                          ITEMS
Installing new actions                     1058/1058
Updating package state database                 Done 
Updating package cache                           0/0 
Updating image state                            Done 
Creating fast lookup database                   Done 
Updating package cache                           2/2 
root@blackrack:/var/tmp# 
kburtch
Posts: 13
Joined: 8. Apr 2013, 22:49

Re: Virtual box IPS install on fresh 11.4.29 Solaris Fails

Post by kburtch »

This worked for me, at least for the installation bug.

I did run into a bug with bridged networking on the second guest I tried to bring online. See viewtopic.php?f=11&t=102309
Post Reply