[gelöst] Wieder Probleme mit Virtualbox bei heutigem Update

Started by harley-peter, 2026/03/26, 17:09:33

Previous topic - Next topic

harley-peter

Es kam wohl ne neue Version von virtualbox-dkms rein, die auch nicht funktioniert. Ist das immer noch das alte Problem?
dpkg --configure -a
linux-headers-6.19.10-1-siduction-amd64 (6.19-10) wird eingerichtet ...
/etc/kernel/header_postinst.d/dkms:
The kernel is built without module signing facility, modules won't be signed

Autoinstall of module virtualbox/7.2.6 for kernel 6.19.10-1-siduction-amd64 (x86_64)
Building module(s)....(bad exit status: 2)
Failed command:
make -j12 KERNELRELEASE=6.19.10-1-siduction-amd64 -C /lib/modules/6.19.10-1-siduction-amd64/build M=/var/lib/dkms/virtualbox/7.2.6/build

Error! Bad return status for module build on kernel: 6.19.10-1-siduction-amd64 (x86_64)
Consult /var/lib/dkms/virtualbox/7.2.6/build/make.log for more information.

Autoinstall on 6.19.10-1-siduction-amd64 failed for module(s) virtualbox(10).

Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 1
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.19.10-1-siduction-amd64.postinst line 11.
dpkg: Fehler beim Bearbeiten des Paketes linux-headers-6.19.10-1-siduction-amd64 (--configure):
»altes postinst-Betreuerskript des Paketes linux-headers-6.19.10-1-siduction-amd64«-Unterprozess mit Exit-Status 1 fehlgeschlagen
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-headers-siduction-amd64:
linux-headers-siduction-amd64 hängt ab von linux-headers-6.19.10-1-siduction-amd64 (= 6.19-10); aber:
  Paket linux-headers-6.19.10-1-siduction-amd64 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes linux-headers-siduction-amd64 (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
virtualbox-dkms (7.2.6-dfsg-3.1) wird eingerichtet ...
Removing old virtualbox/7.2.6 DKMS files...
Module virtualbox/7.2.6 for kernel 6.10.12-1-siduction-amd64 (x86_64):
Before uninstall, this module version was ACTIVE on this kernel.
Deleting /lib/modules/6.10.12-1-siduction-amd64/updates/dkms/vboxdrv.ko
Deleting /lib/modules/6.10.12-1-siduction-amd64/updates/dkms/vboxnetadp.ko
Deleting /lib/modules/6.10.12-1-siduction-amd64/updates/dkms/vboxnetflt.ko
Running depmod... done.

Module virtualbox/7.2.6 for kernel 6.17.12-1-siduction-amd64 (x86_64):
Before uninstall, this module version was ACTIVE on this kernel.
Deleting /lib/modules/6.17.12-1-siduction-amd64/updates/dkms/vboxdrv.ko
Deleting /lib/modules/6.17.12-1-siduction-amd64/updates/dkms/vboxnetadp.ko
Deleting /lib/modules/6.17.12-1-siduction-amd64/updates/dkms/vboxnetflt.ko
Running depmod... done.

Module virtualbox/7.2.6 for kernel 6.18.11-1-siduction-amd64 (x86_64):
Before uninstall, this module version was ACTIVE on this kernel.
Deleting /lib/modules/6.18.11-1-siduction-amd64/updates/dkms/vboxdrv.ko
Deleting /lib/modules/6.18.11-1-siduction-amd64/updates/dkms/vboxnetadp.ko
Deleting /lib/modules/6.18.11-1-siduction-amd64/updates/dkms/vboxnetflt.ko
Running depmod... done.

Deleting module virtualbox/7.2.6 completely from the DKMS tree.
Loading new virtualbox/7.2.6 DKMS files...
Building for 6.10.12-1-siduction-amd64, 6.17.12-1-siduction-amd64, 6.18.11-1-siduction-amd64, 6.19.5-1-siduction-amd64, 6.19.6-1-siduction-amd64, 6.19.8-1-siduction-amd64 and 6.19.10-1-siduction-amd64

Building initial module virtualbox/7.2.6 for 6.10.12-1-siduction-amd64
The kernel is built without module signing facility, modules won't be signed

Building module(s).... done.
Installing /lib/modules/6.10.12-1-siduction-amd64/updates/dkms/vboxdrv.ko
Installing /lib/modules/6.10.12-1-siduction-amd64/updates/dkms/vboxnetadp.ko
Installing /lib/modules/6.10.12-1-siduction-amd64/updates/dkms/vboxnetflt.ko
Running depmod... done.

Building initial module virtualbox/7.2.6 for 6.17.12-1-siduction-amd64
The kernel is built without module signing facility, modules won't be signed

Building module(s).... done.
Installing /lib/modules/6.17.12-1-siduction-amd64/updates/dkms/vboxdrv.ko
Installing /lib/modules/6.17.12-1-siduction-amd64/updates/dkms/vboxnetadp.ko
Installing /lib/modules/6.17.12-1-siduction-amd64/updates/dkms/vboxnetflt.ko
Running depmod... done.

Building initial module virtualbox/7.2.6 for 6.18.11-1-siduction-amd64
The kernel is built without module signing facility, modules won't be signed

Building module(s).... done.
Installing /lib/modules/6.18.11-1-siduction-amd64/updates/dkms/vboxdrv.ko
Installing /lib/modules/6.18.11-1-siduction-amd64/updates/dkms/vboxnetadp.ko
Installing /lib/modules/6.18.11-1-siduction-amd64/updates/dkms/vboxnetflt.ko
Running depmod... done.

Building initial module virtualbox/7.2.6 for 6.19.5-1-siduction-amd64
The kernel is built without module signing facility, modules won't be signed

Building module(s)....(bad exit status: 2)
Failed command:
make -j12 KERNELRELEASE=6.19.5-1-siduction-amd64 -C /lib/modules/6.19.5-1-siduction-amd64/build M=/var/lib/dkms/virtualbox/7.2.6/build

Error! Bad return status for module build on kernel: 6.19.5-1-siduction-amd64 (x86_64)
Consult /var/lib/dkms/virtualbox/7.2.6/build/make.log for more information.
dpkg: Fehler beim Bearbeiten des Paketes virtualbox-dkms (--configure):
»altes postinst-Betreuerskript des Paketes virtualbox-dkms«-Unterprozess mit Exit-Status 10 fehlgeschlagen
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von virtualbox:
virtualbox hängt ab von virtualbox-dkms (>= 7.2.6-dfsg-3.1) | virtualbox-source (>= 7.2.6-dfsg-3.1) | virtualbox-modules; aber:
  Paket virtualbox-dkms ist noch nicht konfiguriert.
  Paket virtualbox-source ist nicht installiert.
  Paket virtualbox-modules ist nicht installiert.
  Paket virtualbox-dkms, das virtualbox-modules bereitstellt, ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes virtualbox (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von virtualbox-qt:
virtualbox-qt hängt ab von virtualbox (= 7.2.6-dfsg-3.1); aber:
  Paket virtualbox ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes virtualbox-qt (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
linux-headers-6.19.10-1-siduction-amd64
linux-headers-siduction-amd64
virtualbox-dkms
virtualbox
virtualbox-qt

root@Master2:/home/peter# apt policy virtualbox-dkms
virtualbox-dkms:
  Installiert:           7.2.6-dfsg-3.1
  Installationskandidat: 7.2.6-dfsg-3.1
  Versionstabelle:
*** 7.2.6-dfsg-3.1 500
        500 https://deb.debian.org/debian unstable/contrib amd64 Packages
        100 /var/lib/dpkg/status

JanB

Moin,

funktioniert bei mir auch nicht, "virtualbox-source" installieren hilft auch nicht.  :(

Teriarch

#2
@JanB

Zunächst ist es hilfreich, die Version von virtualbox-dkms und das Kommando zu nenennen,
was zum Feheler geführt hat. Bei mir:

$ dpkg -l|grep virtualbox-dkms
ii    virtualbox-dkms   7.2.6-dfsg-3.1    amd64    x86 virtualization solution - kernel module sources for dkms

Und das ist nach meinem Wissen auch die aktuellste.

In dem Beitrag <https://forum.siduction.org/index.php?topic=9911.msg78993#msg78993>
habe ich zwei Wege vorgeschlagen, das Problem vorübergehend zu lösen (die beide funktionieren,
und der erste von diesen besteht nicht aus dem alleinigen Installieren von virtualbox-source).
Weiterhin versuche ich im zweiten Weg, den Downlink aktuell zu halten, wie dort in einem Nachtrag
auch beschrieben. Welcher dieser Wege wurde mit welchem Ergebnis versucht?

        Two roads diverged in a wood, and I—
        I took the one less traveled by,
        And that has made all the difference.

               Robert Frost, The Road Not Taken

JanB

Hallo Teriarch,

ich hatte zuerst dein "virtualbox-dkms_7.2.6-dfsg-3+b2c_amd64.deb" installiert, das hat ein paar Tage funktioniert.

Vor 2 Tagen gings nach Update nicht mehr, ich habe dann wegen der Fehlermeldung :"Paket virtualbox-source ist nicht installiert."
das Paket installiert, was aber nicht geholfen hat.

Das erneute Installieren von deinem virtualbox-dkms_7.2.6-dfsg-3+b2c_amd64.deb hat jetzt trotz Hinweis* funktioniert...

sorry ich hätte einfach nur deine Anleitung in https://forum.siduction.org/index.php?topic=9911.15 noch mal bis zum Endelesen sollen  :-[

Danke schön!

* dpkg -i virtualbox-dkms_7.2.6-dfsg-3+b2c_amd64.deb
dpkg: Warnung: Paket virtualbox-dkms (7.2.6-dfsg-3.1) wird durch ältere Version (7.2.6-dfsg-3+b2c) ersetzt

Teriarch

Hallo JanB,

nur als Hinweis: In <https://forum.siduction.org/index.php?topic=9911.msg78993#msg78993>
habe ich eine aktualisierte Version 7.2.6-dfsg-3.1b zur Verfügung gestellt, damit Dein System
nicht bei jedem Upgrade versucht, Version 7.2.6-dfsg-3+b2c durch die nicht funktionale
aktuelle Debian Vesion 7.2.6-dfsg-3.1 zu überschreiben.

harley-peter

@Teriarch:
Mit deiner gepatchten Version von virtualbox-dkms funktioniert es wieder, danke! Ich hatte die aktualisierte Version in deinem Beitrag übersehen.
Bin mal gespannt, wann eine funktionierende Version in den Repositories erscheint.

hsp

Diesen ganzen Mist mit Vbox und Modulen kann man auch aus dem Weg gehen... Ich bin jedenfalls froh das ich den Gang von Vbox nach libvirt/Virt-Manger gemacht habe vor ein paar Jahren. Kein Ärger mehr. Die migration von Vbox nach libvirt ist zwar viel Arbei, aber es lohnt sich. Alles was man braucht bringt der Kernel mit.

...

devil

Eine weitere praktikable Lösung ist Unraid. Es vereint Docker-Container und Virtuelle Maschinen unter einer Oberfläche und funktioniert immer.

orinoco

Ich verwende die statisch gelinkte Version direkt von virtualbox.org ohne Schwierigkeiten. Aktuell in folgender Kombination:

VirtualBox 7.2.7 r172942: https://www.virtualbox.org/download/testcase/VirtualBox-7.2.7-173388-Linux_amd64.run
Kernel: 6.19.10-1-siduction-amd64

Falls es Fragen zur Installation gibt, hier melden.

P.S.
Mir geht es wie hsp. Ich bin auch fast weg von VirtualBox zu kvm/qemu. Nur eine alte XP-VM läßt sich nicht splitterfrei übertragen. Aber das ist ein anderes Thema.

Teriarch

Wenn ich kann, verwende ich wie ihr kvm/qemu (selbst libvirt enthält mir
viel zu viel Overhead).

Doch zuweilen entzieht sich diese Wahl der Einflussnahme des Benutzers.
Bspw. verdienen viele Testlabore ihr Geld mit der Überprüfung der
Implementierung und Korrektheit von Software, die unter Hersteller-
bedingungen geprüft werden muss. Die Entscheidung über den Einsatz
von Virtualbox ist also bereits getroffen, und der Betrieb hat weder die Zeit
noch das Geld, eine entsprechende Umstellung vorzunehmen.

Weiterhin konterkariert der Einsatz von Docker, Flatpack & Co. die ursprüngliche
Absicht, Ressorcen zu schonen. Die Abwesenheit einer Shared Library von ca. 100-200k
führt so zur Installation einer Sandbox, die das 10-  100 fache an Platten- und Speicherplatz
bedeuten kann (100te von gleichen shared Libraries werden so sinnloserweise im Speicher
gehalten).

Für mich ist das Grund genug, die Funktionalität eines Programms als Herausforderung
und die Überwindung der auftretenden Schwierigkeiten als Lernprozess zu verstehen.

Ein vorhandenes Problem sollte m.M.n. gelöst werden

"and [not] be replaced by something even more bizarre and inexplicable."
                   Douglas Adams, The Restaurant at the End of the Universe

Teriarch

Update to version 7.2.6-dfsg-3.2 of virtualbox-dkms still not working with kernel 6.19,
so pull the corrected update from <https://forum.siduction.org/index.php?topic=9911.msg78993#msg78993>.

DeepDayze

Quote from: orinoco on 2026/03/28, 12:34:20
Ich verwende die statisch gelinkte Version direkt von virtualbox.org ohne Schwierigkeiten. Aktuell in folgender Kombination:

VirtualBox 7.2.7 r172942: https://www.virtualbox.org/download/testcase/VirtualBox-7.2.7-173388-Linux_amd64.run
Kernel: 6.19.10-1-siduction-amd64

Falls es Fragen zur Installation gibt, hier melden.

P.S.
Mir geht es wie hsp. Ich bin auch fast weg von VirtualBox zu kvm/qemu. Nur eine alte XP-VM läßt sich nicht splitterfrei übertragen. Aber das ist ein anderes Thema.

Hopefully 7.2.7 will be in Sid or at least in siduction fixes (if Towo is gracious enough to package it :) )

der_bud

Since two days ago there is a non-maintainer-upload of virtualbox-dkms on Debian servers (availability might depend on mirror syncs). Changelog says this should fix the build errors. For me, that version installs and builds fine on currrent full-upgraded system with 6.19-10 kernel.
apt changelog virtualbox-dkms
virtualbox (7.2.6-dfsg-3.2) unstable; urgency=medium

  * Non-maintainer upload.
  * Backport upstream patch to fix build with Linux 6.19. (Closes: #1125924)

-- Dmitry Shachnev <mitya57@debian.org>  Thu, 26 Mar 2026 18:57:27 +0300 [code]
Du lachst? Wieso lachst du? Das ist doch oft so, Leute lachen erst und dann sind sie tot.

Teriarch

@der_bud

Ich habe ebenfalls Version 7.2.6-dfsg-3.2 von
virtualbox-dkms mit demselben changelog output.

Kannst Du die md5 Prüfsumme der Datei
virtualbox-dkms_7.2.6-dfsg-3.2_amd64.deb
(md5sum: b75bdfd97a3c5f17826cd0b672eadc60)
vergleichen, denn meine Version lässt sich definitiv
nicht unter einem 6.19 Kernel übersetzen.

Ggfs. kannst Du vielleicht den Download Link von
dem Mirror angeben, falls es Abweichungen geben sollte.

Nachtrag: Offenbar ist der Update jetzt auf allen Mirrors
angekommen. Ich kann ebenfalls bestätigen, dass sich
virtualbox-dkms mit o.a. Prüfsumme für den aktuellen
6.19 siduction Kernel übersetzen lässt.

DeepDayze

Quote from: der_bud on 2026/03/29, 12:55:08
Since two days ago there is a non-maintainer-upload of virtualbox-dkms on Debian servers (availability might depend on mirror syncs). Changelog says this should fix the build errors. For me, that version installs and builds fine on currrent full-upgraded system with 6.19-10 kernel.
apt changelog virtualbox-dkms
virtualbox (7.2.6-dfsg-3.2) unstable; urgency=medium

  * Non-maintainer upload.
  * Backport upstream patch to fix build with Linux 6.19. (Closes: #1125924)

-- Dmitry Shachnev <mitya57@debian.org>  Thu, 26 Mar 2026 18:57:27 +0300 [code]


This updated package worked for me as well with 6.19 kernels. No issues noted with launching VBox and VMs.