Sunday, May 12, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 17143  / 2 Years ago, thu, september 15, 2022, 2:37:24

I have just installed ubuntu on VirtualBox 6.1.16. I started trying to configure, and after running the following command: $ sudo apt install virtualbox-guest-dkms I receive the following error:


Reading package lists... Done
Building dependency tree
Reading state information... Done
virtualbox-guest-dkms is already the newest version (6.1.10-dfsg-1~ubuntu1.20.04.1).
The following packages were automatically installed and are no longer required:
libfprint-2-tod1 libllvm10
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up virtualbox-guest-dkms (6.1.10-dfsg-1~ubuntu1.20.04.1) ...
Removing old virtualbox-guest-6.1.10 DKMS files...

------------------------------
Deleting module version: 6.1.10
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-guest-6.1.10 DKMS files...
Building for 5.8.0-34-generic
Building initial module for 5.8.0-34-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/virtualbox-guest-dkms.0.crash'rogress: [ 33%] [#######################.................................................]
Error! Bad return status for module build on kernel: 5.8.0-34-generic (x86_64)
Consult /var/lib/dkms/virtualbox-guest/6.1.10/build/make.log for more information.
dpkg: error processing package virtualbox-guest-dkms (--configure):
installed virtualbox-guest-dkms package post-installation script subprocess returned error ex
it status 10
Errors were encountered while processing:
virtualbox-guest-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

Also, when trying to setup sublime text following the steps from the website, typing sudo apt-get install apt-transport-https gives the following:


Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-transport-https is already the newest version (2.0.2ubuntu0.2).
The following packages were automatically installed and are no longer required:
libfprint-2-tod1 libllvm10
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up virtualbox-guest-dkms (6.1.10-dfsg-1~ubuntu1.20.04.1) ...
Removing old virtualbox-guest-6.1.10 DKMS files...

------------------------------
Deleting module version: 6.1.10
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-guest-6.1.10 DKMS files...
Building for 5.8.0-34-generic
Building initial module for 5.8.0-34-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/virtualbox-guest-dkms.0.crash'
Error! Bad return status for module build on kernel: 5.8.0-34-generic (x86_64)
Consult /var/lib/dkms/virtualbox-guest/6.1.10/build/make.log for more information.
dpkg: error processing package virtualbox-guest-dkms (--configure):
installed virtualbox-guest-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
virtualbox-guest-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

What could this be, and what should I do about it (if anything)?


More From » 20.04

 Answers
6

If you installed VirtualBox 6.1.16, you shouldn't install virtualbox-guest-dkms from Ubuntu repos.


You need to mount Guest Additions form the machine menu (Devices) and install the correspondent 6.1.16 Guest Additions.


[#2118] Thursday, September 15, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ampust

Total Points: 133
Total Questions: 109
Total Answers: 111

Location: Reunion
Member since Fri, Jul 22, 2022
2 Years ago
ampust questions
;