من این دستور رو اجرا کرده بودم اون زمان که دانته بهم گفت. ولی باز هم همون ارور قبلی رو داشتم.
بعدش دقیقا نمی دونم چه کارهایی کردم که دیگه حتی اون پنجره رو باز هم نمی کنه.
چند بار به طریق مختلف ویرچول باکس و اون بسته رو پاک کردم و دوباره نصب کردم.
الان دوباره که این بار این کد رو زدم ارور داد:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
dkms libgsoap-2.8.60 libvncserver1 virtualbox-dkms virtualbox-qt
Suggested packages:
menu vde2
The following packages will be REMOVED:
virtualbox-5.2
The following NEW packages will be installed:
dkms libgsoap-2.8.60 libvncserver1 virtualbox virtualbox-dkms
virtualbox-guest-additions-iso virtualbox-qt
0 upgraded, 7 newly installed, 1 to remove and 34 not upgraded.
Need to get 0 B/65.7 MB of archives.
After this operation, 6,282 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 239846 files and directories currently installed.)
Removing virtualbox-5.2 (5.2.18-124319~Ubuntu~bionic) ...
dpkg: error processing package virtualbox-5.2 (--remove):
installed virtualbox-5.2 package pre-removal script subprocess returned error exit status 1
A copy of VirtualBox is currently running. Please close it and try again.
Please note that it can take up to ten seconds for VirtualBox to finish running.
vboxdrv.sh: failed: Cannot unload module vboxdrv.
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.
Errors were encountered while processing:
virtualbox-5.2
E: Sub-process /usr/bin/dpkg returned an error code (1)