Virtualbox in Tumbleweed issue

Hi guys,

i am using Tumbleweed for some time and today i wanted to install Virtualbox, so i went to https://software.opensuse.org/find, found official Tumbleweed version and install it without any issues, but when i try to start virtual box from ‘start menu’ there is no virtual box, even if i see all packages are installed in yast, reboot did not solve issue.

Do you have any suggestion what is wrong, or other way to install Virtualbox that is working in Tumbleweed.

Tnx
Neven

Which desktop are you using?
In KDE it should be in “System->Emulators”.

You could try to run it in a terminal window as well:

VirtualBox

(notice the lower/upper case!)

And which virtualbox packages did you install exactly?

rpm -qa | egrep -i "virtualbox|vbox"

Make sure virtualbox-qt is installed, that’s the (official) GUI and contains the menu entry.
If you have vboxgtk instead, this won’t work, but it has been removed from Tumbleweed months ago. So uninstall it and install virtualbox-qt instead.

And maybe also post your repo list:

zypper lr -d

Yes KDE i forgot to mention that,

neven@linux-ou8i:~> rpm -qa | egrep -i “virtualbox|vbox”
virtualbox-host-kmp-default-4.3.26_k3.19.4_1-2.1.x86_64
python-virtualbox-4.3.26-2.1.x86_64
vboxgtk-0.8.2-6.1.5.noarch
virtualbox-guest-kmp-desktop-4.3.26_k3.19.4_1-2.1.x86_64
virtualbox-guest-kmp-default-4.3.26_k3.19.4_1-2.1.x86_64
virtualbox-host-kmp-desktop-4.3.26_k3.19.4_1-2.1.x86_64
virtualbox-4.3.26-2.1.x86_64
vboxgtk-lang-0.8.2-6.1.5.noarch

neven@linux-ou8i:~> zypper lr -d

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

—±------------------------------------±---------------------±--------±--------±---------±-------±----------------------------------------------------------------------±-------
1 | http-download.opensuse.org-1ef59942 | openSUSE:13.2 | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/13.2/repo/oss/ |
2 | http-download.opensuse.org-95ee7695 | Emulators | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/Emulators/openSUSE_Factory/ |
3 | http-download.opensuse.org-d95bb2df | openSUSE:13.2:Update | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/13.2/ |
4 | http-download.opensuse.org-eea27933 | openSUSE:Factory | Yes | Yes | 99 | yast2 | http://download.opensuse.org/factory/repo/oss/ |
5 | http-ftp.gwdg.de-e2da5d8b | Packman Repository | Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/ |
6 | http-opensuse-guide.org-4ca66f88 | libdvdcss repository | Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/ |
7 | packman | packman | Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_13.2/ |
8 | repo-debug | repo-debug | Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/debug |
9 | repo-non-oss | repo-non-oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/non-oss |
10 | repo-oss | repo-oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/oss |
11 | repo-src-non-oss | repo-src-non-oss | No | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/src-non-oss |
12 | repo-src-oss | repo-src-oss | No | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/src-oss |
13 | repo-update | repo-update | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/tumbleweed |

In System Emulation i see VBoxGtk but that is not working, also

neven@linux-ou8i:~> VirtualBox
If ‘VirtualBox’ is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf VirtualBox

Also i did upgrade from 13.1 to Tumbleweed few months ago if that matters.

Right, as I said, remove vboxgtk and install virtualbox-qt instead, then it should work. Actually if you uninstall vboxgtk, YaST/zypper should automatically install virtualbox-qt instead.

Another question: why do you have both kmp-desktop and kmp-default installed?
Are you having both kernel-desktop and kernel-default as well?
If yes, any particular reason for that? It should not be necessary, I’d rather recommend to uninstall kernel-default.

neven@linux-ou8i:~> zypper lr -d

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

—±------------------------------------±---------------------±--------±--------±---------±-------±----------------------------------------------------------------------±-------
1 | http-download.opensuse.org-1ef59942 | openSUSE:13.2 | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/13.2/repo/oss/ |
2 | http-download.opensuse.org-95ee7695 | Emulators | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/Emulators/openSUSE_Factory/ |
3 | http-download.opensuse.org-d95bb2df | openSUSE:13.2:Update | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/13.2/ |
4 | http-download.opensuse.org-eea27933 | openSUSE:Factory | Yes | Yes | 99 | yast2 | http://download.opensuse.org/factory/repo/oss/ |
5 | http-ftp.gwdg.de-e2da5d8b | Packman Repository | Yes | Yes | 99 | rpm-md | Index of /pub/linux/packman/suse/openSUSE_Tumbleweed/ |
6 | http-opensuse-guide.org-4ca66f88 | libdvdcss repository | Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/ |
7 | packman | packman | Yes | Yes | 99 | rpm-md | Index of /pub/linux/packman/suse/openSUSE_13.2/ |
8 | repo-debug | repo-debug | Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/debug |
9 | repo-non-oss | repo-non-oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/non-oss |
10 | repo-oss | repo-oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/oss |
11 | repo-src-non-oss | repo-src-non-oss | No | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/src-non-oss |
12 | repo-src-oss | repo-src-oss | No | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/src-oss |
13 | repo-update | repo-update | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/tumbleweed |

Remove those 13.2 repos! They are incompatible with Tumbleweed, Tumbleweed is an independent distribution on its own.
And you don’t need “openSUSE:Factory” either, that’s the same as Tumbleweed (but will be removed soon probably).

sudo zypper rr 1 3 4 7

In System Emulation i see VBoxGtk but that is not working, also

neven@linux-ou8i:~> VirtualBox
If ‘VirtualBox’ is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf VirtualBox

As I said, vboxgtk does not work and has therefore been removed from Tumbleweed months ago. You installed the 13.2 version.
And VirtualBox only exists if you install virtualbox-qt.

Not directly.
But you did it wrong apparently. Why did you add the 13.2 repos?

Thanks a lot @wolfi323 , that did fix virtualbox issue, i did remove those other repos as you suggested, cant remember all details but i did follow some notes how to upgrade just not sure if that was from official site or somewhere else, one question off topic if i may ask, because i use opensuse from 13.1 without reinstall, there is a lot of old kernels in my system, is there some option in yast, or some other safe method to remove them.

Tnx
Neven

It was probably a good idea to at least disable your old repos before you upgraded to Tumbleweed.
Since those 13.2 repos were enabled and it’s anyone’s guess whether packages from those repos might have snuck into your install, after disabling or deleting those repos, it’s probably a good idea to verify and clean up your install with a system update as follows

zypper up

IMO,
TSU

Hey tsu2,
i did that command that this is output


neven@dhcppc5:~> sudo zypper update
Loading repository data...
Reading installed packages...


The following 130 package updates will NOT be installed:
  amarok apper ark digikam dosbox fdupes ffmpeg gimp gparted gparted-lang gstreamer gstreamer-0_10 gstreamer-0_10-plugin-esd gstreamer-0_10-plugin-gnomevfs gstreamer-0_10-plugins-bad 
  gstreamer-0_10-plugins-bad-lang gstreamer-0_10-plugins-base gstreamer-0_10-plugins-good gstreamer-0_10-plugins-ugly gstreamer-plugins-base gstreamer-plugins-good hugin kgpg libavcodec56 
  libavdevice56 libavfilter5 libavformat56 libavutil54 libchromaprint0 libdcerpc0-32bit libdcerpc-binding0-32bit libgensec0-32bit libgstallocators-1_0-0 libgstapp-0_10-0 libgstapp-0_10-0-32bit 
  libgstapp-1_0-0 libgstapp-1_0-0-32bit libgstaudio-1_0-0 libgstaudio-1_0-0-32bit libgstbasecamerabinsrc-0_10-23 libgstbasevideo-0_10-23 libgstcodecparsers-0_10-23 libgstfft-1_0-0 
  libgstinterfaces-0_10-0 libgstinterfaces-0_10-0-32bit libgstpbutils-1_0-0 libgstpbutils-1_0-0-32bit libgstphotography-0_10-23 libgstreamer-0_10-0 libgstreamer-0_10-0-32bit libgstreamer-1_0-0 
  libgstreamer-1_0-0-32bit libgstriff-1_0-0 libgstrtp-1_0-0 libgstrtsp-1_0-0 libgstsdp-1_0-0 libgstsignalprocessor-0_10-23 libgsttag-1_0-0 libgsttag-1_0-0-32bit libgstvdp-0_10-23 
  libgstvideo-1_0-0 libgstvideo-1_0-0-32bit libguess1 libmjpegutils-2_0-0 libndr0-32bit libndr-krb5pac0-32bit libndr-nbt0-32bit libndr-standard0-32bit libnetapi0-32bit libpostproc53 libquicktime0 
  libsamba-credentials0-32bit libsamba-hostconfig0-32bit libsamba-util0-32bit libsamdb0-32bit libsmbclient-raw0-32bit libsmbconf0-32bit libsmbldap0-32bit libsox2 libstreamanalyzer0 libstrigi0 
  libswresample1 libswscale3 libtevent-util0-32bit libvlc5 libwbclient0-32bit mjpegtools MozillaFirefox qemu-block-curl qemu-tools samba-32bit samba-client-32bit samba-libs-32bit 
  samba-winbind-32bit sox strigi vlc vlc-codecs vlc-gnome vlc-noX vlc-noX-lang vlc-qt wine wine-32bit xf86-video-ark xf86-video-ast xf86-video-ati xf86-video-chips xf86-video-cirrus 
  xf86-video-dummy xf86-video-fbdev xf86-video-glint xf86-video-i128 xf86-video-intel xf86-video-mach64 xf86-video-mga xf86-video-neomagic xf86-video-nouveau xf86-video-nv xf86-video-qxl 
  xf86-video-r128 xf86-video-savage xf86-video-siliconmotion xf86-video-sis xf86-video-sisusb xf86-video-tdfx xf86-video-tga xf86-video-vesa xf86-video-voodoo xorg-x11-server 


Nothing to do.

I believe that if you have tumbleweed, you update by doing the following (as root user):

#zypper dup

I do agree that it’s probably a good idea to run “zypper dup”, to make sure you have a fully updated Tumbleweed system with no 13.2 packages installed.

You can remove specific kernel versions in YaST by clicking on “Versions” below the package list. Or specify the exact version in your call to zypper or rpm. E.g.:

sudo zypper rm kernel-desktop-3.16.7-21.1
sudo rpm -e kernel-desktop-3.16.7-7.1

Btw, there is a system service that should automatically remove older kernels after a kernel update.
Check that it is enabled:

systemctl status purge-kernels

If it says “disabled”, run “sudo systemctl enable purge-kernels”.
(or use YaST->System->Services Manager to verify and/or enable it)

Thanks a lot, a did know about that service, it was disabled with some error, i also could start it with command sudo /sbin/purge-kernels , and remove bunch of kernels 10-15gb :slight_smile: