Unable to install Guest Additions

Hey all,

I haven’t logged into Parrot for a couple weeks and decided to boot up my VM today. When booting up I noticed my resolution had changed so I immediately assumed it was an issue with my Guest Additions. Upon updating I’m recieving the following error below:

Summary

sudo update
Get:1 https://deb.parrotsec.org/parrot parrot InRelease [14.6 kB]
Fetched 14.6 kB in 1s (11.9 kB/s)
Reading package lists… Done
Building dependency tree
Reading state information… Done
All packages are up to date.
Setting up virtualbox-guest-dkms (6.0.8-dfsg-4) …
Removing old virtualbox-guest-6.0.8 DKMS files…


Deleting module version: 6.0.8
completely from the DKMS tree.

Done.
Loading new virtualbox-guest-6.0.8 DKMS files…
Building for 5.1.0-parrot1-3t-amd64
Building initial module for 5.1.0-parrot1-3t-amd64
Error! Bad return status for module build on kernel: 5.1.0-parrot1-3t-amd64 (x86_64)
Consult /var/lib/dkms/virtualbox-guest/6.0.8/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
failed to fix interrupted upgrades
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up virtualbox-guest-dkms (6.0.8-dfsg-4) …
Removing old virtualbox-guest-6.0.8 DKMS files…


Deleting module version: 6.0.8
completely from the DKMS tree.

Done.
Loading new virtualbox-guest-6.0.8 DKMS files…
Building for 5.1.0-parrot1-3t-amd64
Building initial module for 5.1.0-parrot1-3t-amd64
Error! Bad return status for module build on kernel: 5.1.0-parrot1-3t-amd64 (x86_64)
Consult /var/lib/dkms/virtualbox-guest/6.0.8/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
Configuring sandbox profiles…
Sandbox profiles updated!
Scanning application launchers
Updating active launchers
Done
E: Sub-process /usr/bin/dpkg returned an error code (1)
failed to fix conflicts
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up virtualbox-guest-dkms (6.0.8-dfsg-4) …
Removing old virtualbox-guest-6.0.8 DKMS files…


Deleting module version: 6.0.8
completely from the DKMS tree.

Done.
Loading new virtualbox-guest-6.0.8 DKMS files…
Building for 5.1.0-parrot1-3t-amd64
Building initial module for 5.1.0-parrot1-3t-amd64
Error! Bad return status for module build on kernel: 5.1.0-parrot1-3t-amd64 (x86_64)
Consult /var/lib/dkms/virtualbox-guest/6.0.8/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
Configuring sandbox profiles…
Sandbox profiles updated!
Scanning application launchers
Updating active launchers
Done
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any advice on how I can get guest additions working again? I tried to remove the virtualbox guest additions and re-installing but it’s still throwing the same error. I also tried updating my Virtual Box Software to the latest version. Please let me know any other additional information you need from me.

Devices>Insert Guest Additions CD Image
Open Terminal
In Terminal, Create a directory on the Desktop titled vbox: mkdir ~/Desktop/vbox
Copy everything from the CD media to vbox folder (copy/paste)
In Terminal, input the following commands:

cd Desktop/vbox
chmod +x *.sh
./autorun.sh
(type password when prompted)

Allow the image to be installed, and reboot upon completion.
Start the Terminal in the new VM and type sudo adduser osint vboxsf
Provide the password as needed (osint)
Reboot

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.