Virtualbox: RTR3InitEx failed with rc=-1912 (rc=-1912)  Το θέμα επιλύθηκε

...εφαρμογές για οτιδήποτε άλλο

Συντονιστής: konnn

Virtualbox: RTR3InitEx failed with rc=-1912 (rc=-1912)

Δημοσίευσηαπό bobptz » 19 Μαρ 2019, 12:46

Καλημέρα

Σε ubuntu 16.04 ξαφνικά δε δουλεύει το Virtualbox. Μου βγάζει το ακόλουθο μύνημα:

Κώδικας: Επιλογή όλων
RTR3InitEx failed with rc=-1912 (rc=-1912)

The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing

'/sbin/vboxconfig'

may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.

where: supR3HardenedMainInitRuntime what: 4 VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed support driver doesn't match the version of the user.


Από το πρωί βάζω-βγάζω VB 5.2, 6.0, γκουγκλαρω το σχετικό μύνημα κτλ. Έτρεξα και "sudo /sbin/vboxconfig", κάποια στιγμή μου έβγαλε κάποιο error στο .log, αλλά δε μπόρεσα να καταλάβω τι να κάνω.

Υπάρχει κάποιο γνωστό πρόβλημα, μήπως να πάω σε προηγούμενο version του VB?
Γνώσεις Linux: Μαθαίνω ┃ Προγραμματισμού: Πολύ καλό ┃ Αγγλικών: Πολύ καλό


bobptz
seniorTUX
seniorTUX
 
Δημοσιεύσεις: 659
Εγγραφή: 28 Δεκ 2012, 02:39
Εκτύπωση

Re: Virtualbox: RTR3InitEx failed with rc=-1912 (rc=-1912)

Δημοσίευσηαπό Maras » 19 Μαρ 2019, 16:35

Δώσε το αποτέλεσμα της εντολής :
Κώδικας: Επιλογή όλων
dpkg --list 'virtualbox*'
“Long is the way, and hard, that out of hell leads up to light.”
Άβαταρ μέλους
Maras
saintTUX
saintTUX
 
Δημοσιεύσεις: 1460
Εγγραφή: 25 Ιούλ 2017, 12:49
Εκτύπωση

Re: Virtualbox: RTR3InitEx failed with rc=-1912 (rc=-1912)

Δημοσίευσηαπό bobptz » 19 Μαρ 2019, 19:17

Προσπαθώ να ΒΓΑΛΩ όλα τα virtualbox και να βάλω το VB 6.

Έκανα αυτό:
Κώδικας: Επιλογή όλων
$ sudo apt-get remove --purge virtualbox*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'virtualbox-source' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-utils' for glob 'virtualbox*'
Note, selecting 'virtualbox-ose' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-modules' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-additions-iso' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-dkms' for glob 'virtualbox*'
Note, selecting 'virtualbox-dkms' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-dkms-hwe' for glob 'virtualbox*'
Note, selecting 'virtualbox-ext-pack' for glob 'virtualbox*'
Note, selecting 'virtualbox' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-modules-hwe' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-x11-hwe' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-source' for glob 'virtualbox*'
Note, selecting 'virtualbox-ose-fuse' for glob 'virtualbox*'
Note, selecting 'virtualbox-qt' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-source-hwe' for glob 'virtualbox*'
Note, selecting 'virtualbox-2.0' for glob 'virtualbox*'
Note, selecting 'virtualbox-2.1' for glob 'virtualbox*'
Note, selecting 'virtualbox-2.2' for glob 'virtualbox*'
Note, selecting 'virtualbox-modules' for glob 'virtualbox*'
Note, selecting 'virtualbox-3.0' for glob 'virtualbox*'
Note, selecting 'virtualbox-3.1' for glob 'virtualbox*'
Note, selecting 'virtualbox-3.2' for glob 'virtualbox*'
Note, selecting 'virtualbox-4.0' for glob 'virtualbox*'
Note, selecting 'virtualbox-4.1' for glob 'virtualbox*'
Note, selecting 'virtualbox-4.2' for glob 'virtualbox*'
Note, selecting 'virtualbox-4.3' for glob 'virtualbox*'
Note, selecting 'virtualbox-5.0' for glob 'virtualbox*'
Note, selecting 'virtualbox-5.1' for glob 'virtualbox*'
Note, selecting 'virtualbox-5.2' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-utils-hwe' for glob 'virtualbox*'
Note, selecting 'virtualbox-dbg' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-x11' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-additions' for glob 'virtualbox*'
Package 'virtualbox-ose' is not installed, so not removed
Package 'virtualbox-ose-fuse' is not installed, so not removed
Note, selecting 'virtualbox-dkms' instead of 'virtualbox-modules'
Package 'virtualbox-2.0' is not installed, so not removed
Package 'virtualbox-2.1' is not installed, so not removed
Package 'virtualbox-2.2' is not installed, so not removed
Package 'virtualbox-3.0' is not installed, so not removed
Package 'virtualbox-3.1' is not installed, so not removed
Package 'virtualbox-3.2' is not installed, so not removed
Package 'virtualbox-4.0' is not installed, so not removed
Package 'virtualbox-4.1' is not installed, so not removed
Package 'virtualbox-4.2' is not installed, so not removed
Package 'virtualbox-4.3' is not installed, so not removed
Package 'virtualbox-5.0' is not installed, so not removed
Package 'virtualbox-guest-additions' is not installed, so not removed
Package 'virtualbox-5.1' is not installed, so not removed
Package 'virtualbox-guest-modules-hwe' is not installed, so not removed
Package 'virtualbox' is not installed, so not removed
Package 'virtualbox-dbg' is not installed, so not removed
Package 'virtualbox-dkms' is not installed, so not removed
Package 'virtualbox-ext-pack' is not installed, so not removed
Package 'virtualbox-guest-additions-iso' is not installed, so not removed
Package 'virtualbox-guest-dkms' is not installed, so not removed
Package 'virtualbox-guest-dkms-hwe' is not installed, so not removed
Package 'virtualbox-guest-source' is not installed, so not removed
Package 'virtualbox-guest-source-hwe' is not installed, so not removed
Package 'virtualbox-guest-utils' is not installed, so not removed
Package 'virtualbox-guest-utils-hwe' is not installed, so not removed
Package 'virtualbox-guest-x11' is not installed, so not removed
Package 'virtualbox-guest-x11-hwe' is not installed, so not removed
Package 'virtualbox-qt' is not installed, so not removed
Package 'virtualbox-source' is not installed, so not removed
The following packages will be REMOVED:
  virtualbox-5.2*
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
After this operation, 188 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 239546 files and directories currently installed.)
Removing virtualbox-5.2 (5.2.26-128414~Ubuntu~xenial) ...
dpkg: error processing package virtualbox-5.2 (--purge):
subprocess installed pre-removal script returned error exit status 1
/var/lib/dpkg/info/virtualbox-5.2.postinst: 100: /var/lib/dpkg/info/virtualbox-5.2.postinst: /usr/lib/virtualbox/prerm-common.sh: not found
/var/lib/dpkg/info/virtualbox-5.2.postinst: 101: /var/lib/dpkg/info/virtualbox-5.2.postinst: /usr/lib/virtualbox/postinst-common.sh: not found
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Errors were encountered while processing:
virtualbox-5.2
E: Sub-process /usr/bin/dpkg returned an error code (1)



Και μετά αυτό που ζήτησες:

Κώδικας: Επιλογή όλων
$ dpkg --list 'virtualbox*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
un  virtualbox     <none>       <none>       (no description available)
pi  virtualbox-5.2 5.2.26-12841 amd64        Oracle VM VirtualBox
un  virtualbox-dkm <none>       <none>       (no description available)
un  virtualbox-gue <none>       <none>       (no description available)
un  virtualbox-gue <none>       <none>       (no description available)
un  virtualbox-gue <none>       <none>       (no description available)
un  virtualbox-gue <none>       <none>       (no description available)
un  virtualbox-ose <none>       <none>       (no description available)
un  virtualbox-qt  <none>       <none>       (no description available)


Αυτό γιατί δε φεύγει?
virtualbox-5.2 5.2.26-12841
Γνώσεις Linux: Μαθαίνω ┃ Προγραμματισμού: Πολύ καλό ┃ Αγγλικών: Πολύ καλό


bobptz
seniorTUX
seniorTUX
 
Δημοσιεύσεις: 659
Εγγραφή: 28 Δεκ 2012, 02:39
Εκτύπωση

Re: Virtualbox: RTR3InitEx failed with rc=-1912 (rc=-1912)

Δημοσίευσηαπό Maras » 19 Μαρ 2019, 22:01

Δεν φεύγει γιατί είναι broken το πακέτο, δοκίμασε το εξής :
1.
Κώδικας: Επιλογή όλων
sudo dpkg --remove --force-remove-reinstreq virtualbox-5.2

2.
Κώδικας: Επιλογή όλων
sudo apt update

3. Restart
“Long is the way, and hard, that out of hell leads up to light.”
Άβαταρ μέλους
Maras
saintTUX
saintTUX
 
Δημοσιεύσεις: 1460
Εγγραφή: 25 Ιούλ 2017, 12:49
Εκτύπωση

Re: Virtualbox: RTR3InitEx failed with rc=-1912 (rc=-1912)

Δημοσίευσηαπό bobptz » 20 Μαρ 2019, 01:06

Πάλι δε δούλεψε:

Κώδικας: Επιλογή όλων
$ sudo dpkg --remove --force-remove-reinstreq virtualbox-5.2
[sudo] password for bob:
(Reading database ... 239546 files and directories currently installed.)
Removing virtualbox-5.2 (5.2.26-128414~Ubuntu~xenial) ...
dpkg: error processing package virtualbox-5.2 (--remove):
subprocess installed pre-removal script returned error exit status 1
/var/lib/dpkg/info/virtualbox-5.2.postinst: 100: /var/lib/dpkg/info/virtualbox-5.2.postinst: /usr/lib/virtualbox/prerm-common.sh: not found
/var/lib/dpkg/info/virtualbox-5.2.postinst: 101: /var/lib/dpkg/info/virtualbox-5.2.postinst: /usr/lib/virtualbox/postinst-common.sh: not found
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Errors were encountered while processing:
virtualbox-5.2
Γνώσεις Linux: Μαθαίνω ┃ Προγραμματισμού: Πολύ καλό ┃ Αγγλικών: Πολύ καλό


bobptz
seniorTUX
seniorTUX
 
Δημοσιεύσεις: 659
Εγγραφή: 28 Δεκ 2012, 02:39
Εκτύπωση

Re: Virtualbox: RTR3InitEx failed with rc=-1912 (rc=-1912)  Το θέμα επιλύθηκε

Δημοσίευσηαπό Maras » 20 Μαρ 2019, 02:41

Λοιπόν δημιούργησε 2 κενά αρχεία και κάν' τα εκτελέσιμα.
Η τοποθεσία και τα ονόματα τους θα είναι τα εξής
Κώδικας: Επιλογή όλων
/usr/lib/virtualbox/prerm-common.sh

και
Κώδικας: Επιλογή όλων
/usr/lib/virtualbox/postinst-common.sh

Φρόντισε να μην περιέχουν τίποτα αλλά να είναι εκτελέσιμα με τη χρήση της εντολής
Κώδικας: Επιλογή όλων
sudo chmod +x /μονοπάτιαρχείου/όνομααρχείου

και αφού τα δημιουργήσεις δοκίμασε να αφαιρέσεις ξανά το virtualbox με την εντολή :
Κώδικας: Επιλογή όλων
sudo apt remove --purge virtualbox-5.2
“Long is the way, and hard, that out of hell leads up to light.”
Άβαταρ μέλους
Maras
saintTUX
saintTUX
 
Δημοσιεύσεις: 1460
Εγγραφή: 25 Ιούλ 2017, 12:49
Εκτύπωση

Re: Virtualbox: RTR3InitEx failed with rc=-1912 (rc=-1912)

Δημοσίευσηαπό bobptz » 20 Μαρ 2019, 05:20

Τέλεια, δούλεψε!

Κώδικας: Επιλογή όλων
$ dpkg --list 'virtualbox*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
un  virtualbox-dkm <none>       <none>       (no description available)
un  virtualbox-gue <none>       <none>       (no description available)
un  virtualbox-gue <none>       <none>       (no description available)
un  virtualbox-gue <none>       <none>       (no description available)


Να είσαι καλά!

Τώρα θα προσπαθήσω να βάλω το VB 6.
Γνώσεις Linux: Μαθαίνω ┃ Προγραμματισμού: Πολύ καλό ┃ Αγγλικών: Πολύ καλό


bobptz
seniorTUX
seniorTUX
 
Δημοσιεύσεις: 659
Εγγραφή: 28 Δεκ 2012, 02:39
Εκτύπωση


Επιστροφή στο Εφαρμογές Άλλες-Διάφορες