Virtual box IPS install on fresh 11.4.29 Solaris Fails

Discussions related to using VirtualBox on Solaris hosts.

Virtual box IPS install on fresh 11.4.29 Solaris Fails

Postby SatMan » 3. Feb 2021, 00:32

Can someone explain why I'm getting...

Code: Select all   Expand viewCollapse view
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?
SatMan
 
Posts: 6
Joined: 3. Feb 2021, 00:26

Re: Virtual box IPS install on fresh 11.4.29 Solaris Fails

Postby scottgus1 » 3. Feb 2021, 18:15

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.
scottgus1
Site Moderator
 
Posts: 12016
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

Postby paulson » 3. Feb 2021, 19:49

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

Code: Select all   Expand viewCollapse view
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.
paulson
Oracle Corporation
 
Posts: 11
Joined: 6. Jun 2019, 20:16

Re: Virtual box IPS install on fresh 11.4.29 Solaris Fails

Postby SatMan » 5. Feb 2021, 00:37

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

Postby SatMan » 12. Feb 2021, 03:47

Any update?
SatMan
 
Posts: 6
Joined: 3. Feb 2021, 00:26

Re: Virtual box IPS install on fresh 11.4.29 Solaris Fails

Postby scottgus1 » 14. Feb 2021, 01:23

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.
scottgus1
Site Moderator
 
Posts: 12016
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

Postby SatMan » 15. Feb 2021, 04:36

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
SatMan
 
Posts: 6
Joined: 3. Feb 2021, 00:26

Re: Virtual box IPS install on fresh 11.4.29 Solaris Fails

Postby paulson » 17. Feb 2021, 22:20

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.
paulson
Oracle Corporation
 
Posts: 11
Joined: 6. Jun 2019, 20:16

Re: Virtual box IPS install on fresh 11.4.29 Solaris Fails

Postby SatMan » 18. Feb 2021, 21:17

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

Postby SatMan » 20. Feb 2021, 17:53

Installs good.....

Code: Select all   Expand viewCollapse view
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#
SatMan
 
Posts: 6
Joined: 3. Feb 2021, 00:26

Re: Virtual box IPS install on fresh 11.4.29 Solaris Fails

Postby kburtch » 25. Mar 2021, 20:29

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
kburtch
 
Posts: 13
Joined: 8. Apr 2013, 22:49


Return to VirtualBox on Solaris Hosts

Who is online

Users browsing this forum: No registered users and 3 guests