Forums

stassen
stassen
Offline
Resolved
0 votes
I'm running Virtualbox as a main service on my latest version of a Clearos 7 installation. No issues except for upgrading Virtualbox 6.0.24.

Checked everything (i think) and I cleared the yum cache already.

Not sure anymore how I installed VB, I checked to see if I was able to find virtualbox in a repo.

============================ N/S matched: VirtualBox ===============================
VirtualBox-4.3.x86_64 : Oracle VM VirtualBox
VirtualBox-5.0.x86_64 : Oracle VM VirtualBox
VirtualBox-5.1.x86_64 : Oracle VM VirtualBox
VirtualBox-5.2.x86_64 : Oracle VM VirtualBox
VirtualBox-6.0.x86_64 : Oracle VM VirtualBox
VirtualBox-6.1.x86_64 : Oracle VM VirtualBox

Name and summary matches only, use "search all" for everything.


[root@yum.repos.d]# yum list installed
Loaded plugins: clearcenter-marketplace, fastestmirror
ClearCenter Marketplace: fetching repositories...
Loading mirror speeds from cached hostfile
* clearos: www.mirrorservice.org
* clearos-centos: download2.clearsdn.com
* clearos-centos-sclo-rh: download2.clearsdn.com
* clearos-centos-updates: download2.clearsdn.com
* clearos-centosplus: download2.clearsdn.com
* clearos-contribs: www.mirrorservice.org
* clearos-epel: download2.clearsdn.com
* clearos-fast-updates: download2.clearsdn.com
* clearos-infra: www.mirrorservice.org
* clearos-paid: mirror1-frankfurt.clearos.com
* clearos-updates: www.mirrorservice.org
Installed Packages
GeoIP.x86_64 1.5.0-14.el7 @clearos-centos
PyYAML.x86_64 3.10-11.el7 @clearos-centos
SDL.x86_64 1.2.15-17.el7 @clearos-centos
Swift.noarch 3.3.3-3.1.v7 @anaconda/7.4.0.204729
VirtualBox-6.0.x86_64 6.0.24_139119_el7-1 @virtualbox

Yum date does not bring the wanted upgrade to 6.1.26. I don't want to do a manual rpm upgrade downloaded from oracle.

Anyone recognizes this issue ?
Wednesday, October 06 2021, 11:44 AM
Share this post:

Accepted Answer

stassen
stassen
Offline
Thursday, October 07 2021, 06:47 PM - #Permalink
Resolved
0 votes
First some more details about my setup. I'm running VirtualBox headless combined with phpvirtualbox.
phpVirtualbox is maintained but don't expect the latest working version the day Oracle releases a new version of virtualbox.
Phpvirtualbox needs Vboxwebsrv which is available in 6.1.24 and will be again in 6.1.28.

If you execute yum install virtualbox-6.1, it will install the latest version 6.1.26 without vboxwebsrv, so you can't use phpvirtualbox.

In short I resolved my upgrade issue by:
- yum remove virtualbox
- wget https://download.virtualbox.org/virtualbox/rpm/rhel/7/x86_64/VirtualBox-6.1-6.1.24_145767_el7-1.x86_64.rpm
- yum install VirtualBox-6.1-6.1.24_145767_el7-1.x86_64.rpm
- LatestVirtualBoxVersion=$(wget -qO - https://download.virtualbox.org/virtualbox/LATEST-STABLE.TXT) && wget "https://download.virtualbox.org/virtualbox/6.1.24/Oracle_VM_VirtualBox_Extension_Pack-6.1.24.vbox-extpack";
- VBoxManage extpack install --replace Oracle_VM_VirtualBox_Extension_Pack-6.1.24.vbox-extpack
- reboot
- downloaded https://github.com/phpvirtualbox/phpvirtualbox/archive/develop.zip and updated my files used for phpvirtualbox to get rid of all messages

But it works (again) and it is upgraded (not to the latest version ;-) )
The reply is currently minimized Show
Responses (8)
  • Accepted Answer

    Thursday, October 07 2021, 07:54 PM - #Permalink
    Resolved
    0 votes
    The missing webserver is a known issue with 6.1.26; they did a clean up of the build process and inadvertently deleted it.

    There is a version of phpvirtualbox that is built to work with VB6.1 - if I remember correctly, it's not in the the development zip, but on a branch .. if I can recall where I got it, I'll post a link. It is possible to get 6.1.26 working with the php web i/f, but it's a bit convoluted(!) - basically you have to import the webserver bits from .24 and keep them 'intact' when you upgrade.
    The reply is currently minimized Show
  • Accepted Answer

    stassen
    stassen
    Offline
    Thursday, October 07 2021, 09:33 AM - #Permalink
    Resolved
    0 votes
    Richard George wrote:

    All I can tell you is that, having installed all the dependencies from the COS repositories, mine works without any problems.


    Good to know that everything will work as designed at a certain moment ;-)
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 07 2021, 08:06 AM - #Permalink
    Resolved
    0 votes
    All I can tell you is that, having installed all the dependencies from the COS repositories, mine works without any problems.
    The reply is currently minimized Show
  • Accepted Answer

    stassen
    stassen
    Offline
    Thursday, October 07 2021, 07:34 AM - #Permalink
    Resolved
    0 votes
    @Richard: I had a similar idea to install 6.1 manually, but I ran into all kind of dependencies issues. That is where I stopped, due to production risks.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 07 2021, 07:14 AM - #Permalink
    Resolved
    0 votes
    I can’t be 100%, but I seem to recall that I had to install the initial 6.1 manually, and then updates followed automatically. The reasoning seems to be that they initially release new versions alongside the existing stable version in the same repository. You therefore need to do; yum install VirtualBox-6.1 (or similar) to upgrade from 6.0 to 6.1. From then on, it updates within the 6.1 lifetime. Can’t remember the full details of what I did … long time ago now.
    The reply is currently minimized Show
  • Accepted Answer

    stassen
    stassen
    Offline
    Thursday, October 07 2021, 06:14 AM - #Permalink
    Resolved
    0 votes
    @Nick, @Richard

    Check the results below for my system


    [root@~]# yum update VirtualBox --enablerepo=virtualbox
    Loaded plugins: clearcenter-marketplace, fastestmirror
    ClearCenter Marketplace: fetching repositories...
    Loading mirror speeds from cached hostfile
    * clearos: www.mirrorservice.org
    * clearos-centos: download2.clearsdn.com
    * clearos-centos-sclo-rh: download2.clearsdn.com
    * clearos-centos-updates: download2.clearsdn.com
    * clearos-centosplus: download2.clearsdn.com
    * clearos-contribs: www.mirrorservice.org
    * clearos-epel: download2.clearsdn.com
    * clearos-fast-updates: download2.clearsdn.com
    * clearos-infra: www.mirrorservice.org
    * clearos-paid: mirror1-frankfurt.clearos.com
    * clearos-updates: www.mirrorservice.org
    clearos | 3.7 kB 00:00:00
    clearos-centos | 3.6 kB 00:00:00
    clearos-centos-sclo-rh | 3.0 kB 00:00:00
    clearos-centos-updates | 2.9 kB 00:00:00
    clearos-centosplus | 2.9 kB 00:00:00
    clearos-contribs | 3.5 kB 00:00:00
    clearos-epel | 2.9 kB 00:00:00
    clearos-fast-updates | 3.0 kB 00:00:00
    clearos-infra | 3.5 kB 00:00:00
    clearos-updates | 3.5 kB 00:00:00
    docker-ce-stable | 3.5 kB 00:00:00
    ovpm | 2.9 kB 00:00:00
    virtualbox/7/x86_64/signature | 181 B 00:00:00
    virtualbox/7/x86_64/signature | 2.9 kB 00:00:00 !!!
    zerotier | 3.0 kB 00:00:00
    (1/20): clearos/7/group_gz | 1.6 kB 00:00:00
    (2/20): clearos/7/primary_db | 1.1 MB 00:00:00
    (3/20): clearos-centos/x86_64/group_gz | 153 kB 00:00:00
    (4/20): clearos-contribs/7/updateinfo | 96 B 00:00:00
    (5/20): clearos-contribs/7/primary_db | 68 kB 00:00:00
    (6/20): clearos-centos-sclo-rh/x86_64/primary_db | 3.2 MB 00:00:03
    (7/20): clearos-fast-updates/x86_64/primary_db | 10 kB 00:00:00
    (8/20): clearos-infra/7/updateinfo | 96 B 00:00:00
    (9/20): clearos-infra/7/primary_db | 12 kB 00:00:00
    (10/20): clearos-updates/7/updateinfo | 96 B 00:00:00
    (11/20): clearos-updates/7/primary_db | 171 kB 00:00:00
    (12/20): docker-ce-stable/x86_64/updateinfo | 55 B 00:00:00
    (13/20): docker-ce-stable/x86_64/primary_db | 66 kB 00:00:00
    (14/20): ovpm/primary_db | 1.6 kB 00:00:00
    (15/20): clearos-centos/x86_64/primary_db | 6.1 MB 00:00:06
    (16/20): zerotier/primary_db | 34 kB 00:00:00
    (17/20): virtualbox/7/x86_64/primary_db | 183 kB 00:00:01
    (18/20): clearos-centosplus/x86_64/primary_db | 4.8 MB 00:00:09
    (19/20): clearos-centos-updates/x86_64/primary_db | 11 MB 00:00:11
    (20/20): clearos-epel/7/x86_64/primary_db | 13 MB 00:00:12
    clearos-paid | 3.5 kB 00:00:00
    No Match for argument: VirtualBox
    No package VirtualBox available.
    No packages marked for update

    and downloaded this week the latest virtualbox.repo in /etc/yum.repos.d

    [virtualbox]
    name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox
    baseurl=http://download.virtualbox.org/virtualbox/rpm/rhel/$releasever/$basearch
    enabled=1
    gpgcheck=1
    repo_gpgcheck=1
    gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc


    It used to work btw. I remember running into challenges and therefor I skipped proposed yum updates in the past

    Like to find out what is causing this ;-)
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 06 2021, 07:14 PM - #Permalink
    Resolved
    0 votes
    FWIW, I've installed VirtualBox from the Oracle distro, and I don't have any issues. Currently running 6.1.26 (the latest).

    Check that your virtualbox.repo file (or whatever you've called it) as enabled=1 in; without that, it won't update.
    [virtualbox]
    name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox
    baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch
    enabled=1
    gpgcheck=1
    repo_gpgcheck=1
    gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 06 2021, 06:43 PM - #Permalink
    Resolved
    0 votes
    It looks like you installed the package from a "virtualbox" repo. As it does not show in your list of repos I suspect it is disabled. You could try:
    yum update VirtualBox --enablerepo=virtualbox
    I would not do a general "yum update" in case it brings in other third party apps from the virtualbox repo.
    The reply is currently minimized Show
Your Reply