[solved] VirtualBox Upgrade

Started by Penyelam, 2015/04/20, 23:12:27

Previous topic - Next topic

musca

Hallo Ralle,

es sind fünf Tage vergangen, seit ich das geschrieben habe, und die Version 4.3.26-dfsg-3 ist inzwischen in debian unstable erschienen. Durch die höhere Versionsnummer wird das Paket aus debian unstable bevorzugt.

Gleichwohl ist auch weiterhin 4.3.26-dfsg-0r0 mit dem aktuellen Kernel 4.0 einsetzbar.
Ein Mischbetrieb beider Versionen könnte Probleme machen.

Grüße
musca
,,Es irrt der Mensch, solang er strebt."  (Goethe, Faust)

Ralle

Moin musca,


danke für deine Ergänzung. Wollte nur Sichergehen, dass ich die 'richtige' Version auswähle. Auch um künftige Sorgen zu vermeiden. Ich nutze nun die Version 4.3.26-dfsg-3.


Schönes Wochenende!

cas

#32
Hallihallo,
ich darf die gleiche Frage auch nochmal stellen.
Beim starten einer neuen Maschine oeffen sich zwei Fenster:


  p, li { white-space: pre-wrap; }  Für die virtuelle Maschine sidIndSum konnte keine neue Sitzung eröffnet werden.
The virtual machine 'sidIndSum' has terminated unexpectedly during startup with exit code 1 (0x1).




  p, li { white-space: pre-wrap; }  Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

'/etc/init.d/vboxdrv setup'

as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.


Alle genannten Tipps habe ich abgeklappert (ausser original VB-Repo).
Fuer kvm habe allerdings ich im Moment keine Zeit.
Sofern moeglich wollte ich ebenfalls keine Fremdrepos benutzen.

root@dino:~# ls /etc/init.d/vboxdrv
ls: Zugriff auf /etc/init.d/vboxdrv nicht möglich: Datei oder Verzeichnis nicht gefunden



root@dino:/etc/apt/sources.list.d# grep -v '^#' siduction.list
deb http://ftp.spline.de/pub/siduction/base unstable main
deb http://ftp.spline.de/pub/siduction/extra unstable main contrib
deb http://packages.siduction.org/user unstable main contrib non-free
deb http://ftp.spline.de/pub/siduction/fixes unstable main
deb http://packages.siduction.org/kdenext unstable main



root@dino:/etc/apt/sources.list.d# dkms status
openafs, 1.6.11.1, 4.0.4-towo.1-siduction-amd64, x86_64: installed
virtualbox, 4.3.18, 3.17-4.towo-siduction-amd64, x86_64: installed
virtualbox, 4.3.18, 3.18-6.towo-siduction-amd64, x86_64: installed
virtualbox, 4.3.18, 3.19.3-towo.2-siduction-amd64, x86_64: installed



root@dino:/etc/apt/sources.list.d# dpkg -l | grep virtualbox
ii  virtualbox                                  4.3.18-dfsg-1                          amd64        x86 virtualization solution - base binaries         
ii  virtualbox-dkms                             4.3.18-dfsg-1                          all          x86 virtualization solution - kernel module sources for dkms                                                                                                                                                 
ii  virtualbox-guest-additions-iso              4.3.18-1                               all          guest additions iso image for VirtualBox             
ii  virtualbox-guest-utils                      4.3.18-dfsg-1                          amd64        x86 virtualization solution - non-X11 guest utilities
rc  virtualbox-guest-x11                        4.3.12-dfsg-1                          amd64        x86 virtualization solution - X11 guest utilities   
ii  virtualbox-qt                               4.3.18-dfsg-1                          amd64        x86 virtualization solution - Qt based user interface
root@dino:/etc/apt/sources.list.d#



root@dino:/etc/apt/sources.list.d# cat /etc/default/virtualbox                                                                                           
# Defaults for virtualbox initscript
# sourced by /etc/init.d/virtualbox
# installed at /etc/default/virtualbox by the maintainer scripts

#
# This is a POSIX shell fragment
#

# Set this to 1 if you would like the virtualbox modules to be loaded by
# the init script.
LOAD_VBOXDRV_MODULE=1

# SHUTDOWN_USERS="foo bar" 
#   check for running VMs of user 'foo' and user 'bar'
#   'all' checks for all active users
# SHUTDOWN=poweroff
# SHUTDOWN=acpibutton
# SHUTDOWN=savestate
#   select one of these shutdown methods for running VMs
#   acpibutton and savestate causes the init script to wait
#   30 seconds for the VMs to shutdown
SHUTDOWN_USERS=""
SHUTDOWN=poweroff
root@dino:/etc/apt/sources.list.d#




cas@dino:~$ dpkg -l|grep header
ii  linux-headers-3.15-7.towo-siduction-amd64   3.15-16                                amd64        Header files for Linux 3.15-7.towo-siduction-amd64
ii  linux-headers-3.17-4.towo-siduction-amd64   3.17-12                                amd64        Header files for Linux 3.17-4.towo-siduction-amd64
ii  linux-headers-3.18-6.towo-siduction-amd64   3.18-18                                amd64        Header files for Linux 3.18-6.towo-siduction-amd64
ii  linux-headers-3.19.3-towo.2-siduction-amd64 3.19-11                                amd64        Header files for Linux 3.19.3-towo.2-siduction-amd64
ii  linux-headers-4.0.4-towo.1-siduction-amd64  4.0-9                                  amd64        Header files for Linux 4.0.4-towo.1-siduction-amd64
ii  linux-headers-siduction-amd64               4.0-9                                  amd64        Linux headers for siduction on 64-bit PCs
ii  linux-libc-dev:amd64                        4.0.2-1                                amd64        Linux support headers for userspace development



Woran liegt es bei mir, dass die veraltete VB Version noch installiert ist?

Gruss, Christian

der_bud

Zeig mal bitte auch Deine debian.list, oben ist nur die siduction.list (oder gleich output von inxi -r). Vermutlich ist contrib nicht freigeschaltet. Außerdem bitte output von 'apt-cache policy virtualbox-guest-utils'.
Du lachst? Wieso lachst du? Das ist doch oft so, Leute lachen erst und dann sind sie tot.

cas

Besten Dank, das war es!
non-free habe ich auch wieder freigeschaltet. Ich weiss gar nicht, wieso das bei mir anders war.

Gruss, C

cas@dino:/home/cas132$ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list.d/debian.list
           deb http://http.debian.net/debian/ unstable main contrib non-free
           Active apt sources in file: /etc/apt/sources.list.d/misc.list
           deb http://ftp.spline.de/pub/siduction/kdenext unstable main
           deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
           Active apt sources in file: /etc/apt/sources.list.d/siduction.list
           deb http://ftp.spline.de/pub/siduction/base unstable main
           deb http://ftp.spline.de/pub/siduction/extra unstable main contrib
           deb http://packages.siduction.org/user unstable main contrib non-free
           deb http://ftp.spline.de/pub/siduction/fixes unstable main

Penyelam

Nachdem mir der DU virtualbox deinstalliert hat möchte ich vb jetzt aus den Oracle repositories installieren.
QuoteAccording to your distribution, replace 'vivid' by 'utopic', 'trusty', 'raring', 'quantal', 'precise', 'lucid', 'jessie', 'wheezy', or 'squeeze'.
Was soll ich denn nehmen?

devil


Penyelam

Danke

ich hab jetzt folgenden Eintrag in "/etc/apt/sources.list.d# cat  /etc/apt/sources.list.d/oracle.list":
deb http://download.virtualbox.org/virtualbox/debian jessie contrib

Wollte jetzt mit Packagesearch nachsehen wie das Installationspaket heißt, sollte wohl virtualboxVersion5 oder so ähnlich heißen. 
Ich finde aber nichts dergleichen  :(


ayla

Quoteapt-get update
apt-cache search virtualbox

.....
virtualbox-5.0 - Oracle VM VirtualBox

Penyelam


Penyelam

Leider läuft VB immer noch nicht.

manfred@siductionbox:~$ LANG=C virtualbox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (4.2.3-towo.1-siduction-amd64) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /sbin/rcvboxdrv setup

         You will not be able to start VMs until this problem is fixed.

root@siductionbox:# /sbin/rcvboxdrv setup
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules ...done.
Trying to register the VirtualBox kernel modules using DKMSError! Your kernel headers for kernel 4.2.3-towo.1-siduction-amd64 cannot be found.
Please install the linux-headers-4.2.3-towo.1-siduction-amd64 package,
or use the --kernelsourcedir option to tell DKMS where it's located
...failed!
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...failed!
  (Look at /var/log/vbox-install.log to find out what went wrong)

root@siductionbox:# cat  /var/log/vbox-install.log
Uninstalling modules from DKMS
  removing old DKMS module vboxhost version  5.0.6

------------------------------
Deleting module version: 5.0.6
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxhost/5.0.6/source ->
                 /usr/src/vboxhost-5.0.6

DKMS: add completed.
Failed to install using DKMS, attempting to install without
Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Schluss.

ayla

apt-get install linux-headers-siduction-amd64

Penyelam

Besten Dank Ayla.

Mußte dann noch einen "/sbin/rcvboxdrv setup" machen,
aber jetzt läuft' s.

mylo

Auf dem Host benötigt man nur: virtualbox virtualbox-dkms virtualbox-qt virtualbox-guest-additions-iso

Brauche ich virtualbox-qt wenn ich gcc5 habe? Ist das vollkommen unabhängig oder beißt da was?

melmarker

Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)