problems with parrot-upgrade

First i have to say a lot thanks to the devs for the hard
work on this OS and thanks to all the people there contribute
i have been using Parrot OS for around 2 years where
i have been installing VMware Workstation on Parrot OS and then
used Windows in a VMware :slight_smile: … and it has been working Perfect :heart_eyes:

but now i ran into a problem and need you guys help since im not a “very skilled” linux user
and please tell me if anything in the description are needed so i can edit the topic

Briefly describe your issue below:
first i did sudo apt update and then parrot-upgrade and then it gave me
E: Sub-process /usr/bin/dpkg returned an error code (1)

**What version of Parrot are you running?**Linux parrot 5.1.0-parrot1-3t-amd64 #1 SMP Parrot 5.1.3-1parrot1.3t (2019-05-20) x86_64 GNU/Linux
(MATE)

What method did you use to install Parrot? usb install

Configured to multiboot with other systems? No

If there are any similar issues or solutions, link to them below:

If there are any error messages or relevant logs, post them below:

Get:1 https://deb.parrotsec.org/parrot parrot InRelease [14.6 kB]
Fetched 14.6 kB in 1s (12.3 kB/s)    
Reading package lists... Done
Building dependency tree       
Reading state information... Done
10 packages can be upgraded. Run 'apt list --upgradable' to see them.
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
dpkg: dependency problems prevent configuration of virtualbox-guest-utils:
 virtualbox-guest-utils depends on virtualbox-guest-dkms (= 6.0.8-dfsg-4) | virtualbox-guest-source (= 6.0.8-dfsg-4) | virtualbox-guest-modules; however:
  Package virtualbox-guest-dkms is not configured yet.
  Package virtualbox-guest-source is not installed.
  Package virtualbox-guest-modules is not installed.
  Package virtualbox-guest-dkms which provides virtualbox-guest-modules is not configured yet.

dpkg: error processing package virtualbox-guest-utils (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 virtualbox-guest-dkms
 virtualbox-guest-utils
failed to fix interrupted upgrades
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  acccheck dissy http-tunnel iotop keepnote libaccinj64-9.2
  libclass-dbi-abstractsearch-perl libclass-dbi-mysql-perl libclass-dbi-perl
  libclass-trigger-perl libclone-choose-perl libcrypt-mcrypt-perl
  libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl
  libcrypt-openssl-rsa-perl libcublas9.2 libcudart9.2 libcufft9.2 libcufftw9.2
  libcurand9.2 libcusolver9.2 libcusparse9.2 libdbix-contextualfetch-perl
  libgles1:i386 libgles2:i386 libhash-merge-perl libima-dbi-perl
  liblingua-en-inflect-perl libnppc9.2 libnppial9.2 libnppicc9.2 libnppicom9.2
  libnppidei9.2 libnppif9.2 libnppig9.2 libnppim9.2 libnppist9.2 libnppisu9.2
  libnppitc9.2 libnpps9.2 libnvblas9.2 libnvgraph9.2 libnvidia-cbl
  libnvidia-cfg1 libnvidia-compiler libnvidia-eglcore libnvidia-eglcore:i386
  libnvidia-fatbinaryloader libnvidia-fatbinaryloader:i386 libnvidia-glcore
  libnvidia-glcore:i386 libnvidia-glvkspirv libnvidia-glvkspirv:i386
  libnvidia-ml1 libnvidia-ptxjitcompiler1 libnvidia-ptxjitcompiler1:i386
  libnvidia-rtcore libnvrtc9.2 libnvtoolsext1 libnvvm3
  libsql-abstract-limit-perl libsql-abstract-perl libstatgrab10 libthrust-dev
  libtime-piece-mysql-perl libuniversal-moniker-perl libvdpau-dev lolcat mg
  nvidia-cuda-doc nvidia-cuda-gdb nvidia-driver-bin
  nvidia-nonglvnd-vulkan-common nvidia-opencl-common nvidia-opencl-dev
  nvidia-openjdk-8-jre nvidia-persistenced nvidia-settings nvidia-smi
  nvidia-support ocl-icd-opencl-dev opencl-c-headers php-ldap php-mcrypt
  php7.0-ldap php7.0-mcrypt php7.2-ldap php7.3-ldap python-rsvg readpst
  ruby-paint ruby-trollop saidar zile
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
2 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
dpkg: dependency problems prevent configuration of virtualbox-guest-utils:
 virtualbox-guest-utils depends on virtualbox-guest-dkms (= 6.0.8-dfsg-4) | virtualbox-guest-source (= 6.0.8-dfsg-4) | virtualbox-guest-modules; however:
  Package virtualbox-guest-dkms is not configured yet.
  Package virtualbox-guest-source is not installed.
  Package virtualbox-guest-modules is not installed.
  Package virtualbox-guest-dkms which provides virtualbox-guest-modules is not configured yet.

dpkg: error processing package virtualbox-guest-utils (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 virtualbox-guest-dkms
 virtualbox-guest-utils
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
The following packages were automatically installed and are no longer required:
  acccheck dissy http-tunnel iotop keepnote libaccinj64-9.2
  libclass-dbi-abstractsearch-perl libclass-dbi-mysql-perl libclass-dbi-perl
  libclass-trigger-perl libclone-choose-perl libcrypt-mcrypt-perl
  libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl
  libcrypt-openssl-rsa-perl libcublas9.2 libcudart9.2 libcufft9.2 libcufftw9.2
  libcurand9.2 libcusolver9.2 libcusparse9.2 libdbix-contextualfetch-perl
  libgles1:i386 libgles2:i386 libhash-merge-perl libima-dbi-perl
  liblingua-en-inflect-perl libnppc9.2 libnppial9.2 libnppicc9.2 libnppicom9.2
  libnppidei9.2 libnppif9.2 libnppig9.2 libnppim9.2 libnppist9.2 libnppisu9.2
  libnppitc9.2 libnpps9.2 libnvblas9.2 libnvgraph9.2 libnvidia-cbl
  libnvidia-cfg1 libnvidia-compiler libnvidia-eglcore libnvidia-eglcore:i386
  libnvidia-fatbinaryloader libnvidia-fatbinaryloader:i386 libnvidia-glcore
  libnvidia-glcore:i386 libnvidia-glvkspirv libnvidia-glvkspirv:i386
  libnvidia-ml1 libnvidia-ptxjitcompiler1 libnvidia-ptxjitcompiler1:i386
  libnvidia-rtcore libnvrtc9.2 libnvtoolsext1 libnvvm3
  libsql-abstract-limit-perl libsql-abstract-perl libstatgrab10 libthrust-dev
  libtime-piece-mysql-perl libuniversal-moniker-perl libvdpau-dev lolcat mg
  nvidia-cuda-doc nvidia-cuda-gdb nvidia-driver-bin
  nvidia-nonglvnd-vulkan-common nvidia-opencl-common nvidia-opencl-dev
  nvidia-openjdk-8-jre nvidia-persistenced nvidia-settings nvidia-smi
  nvidia-support ocl-icd-opencl-dev opencl-c-headers php-ldap php-mcrypt
  php7.0-ldap php7.0-mcrypt php7.2-ldap php7.3-ldap python-rsvg readpst
  ruby-paint ruby-trollop saidar zile
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
  libnvidia-eglcore libnvidia-eglcore:i386 libnvidia-fatbinaryloader
  libnvidia-fatbinaryloader:i386 libnvidia-glcore libnvidia-glcore:i386
  libnvidia-glvkspirv libnvidia-glvkspirv:i386 libnvidia-ptxjitcompiler1
  libnvidia-ptxjitcompiler1:i386
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
2 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
dpkg: dependency problems prevent configuration of virtualbox-guest-utils:
 virtualbox-guest-utils depends on virtualbox-guest-dkms (= 6.0.8-dfsg-4) | virtualbox-guest-source (= 6.0.8-dfsg-4) | virtualbox-guest-modules; however:
  Package virtualbox-guest-dkms is not configured yet.
  Package virtualbox-guest-source is not installed.
  Package virtualbox-guest-modules is not installed.
  Package virtualbox-guest-dkms which provides virtualbox-guest-modules is not configured yet.

dpkg: error processing package virtualbox-guest-utils (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 virtualbox-guest-dkms
 virtualbox-guest-utils
Configuring sandbox profiles....
Sandbox profiles updated!
Scanning application launchers
Updating active launchers
Done
E: Sub-process /usr/bin/dpkg returned an error code (1)

Virtualbox doesn’t build on this kernel version

can you tell me where to read a guide on how to fix it
:sweat_smile:

You can’t. The debian repository doesn’t have working versions of all the needed packages for debain 10. If you want virtualbox you’ll have to download it from virtualbox.org

i never used virtualbox on my parrot OS i always used VMWARE Workstation,and i know that virtualbox is recommended …but i use vmware., but after i did this update vmware haven’t worked on my parrot OS

sry if my english is a little broken…

As I understand, VMWare doesn’t work with kernel 5.1 by now

thanks for telling me :slight_smile:

if i somehow fine a solution i will post it ,
i am no way good to linux , but i might be
able to learn something here, but if you
or anybody can guide me in direction it will
help me out a lot since my english is not the
best in the world

as Palinuro says, it will better using KVM on Parrot.

yea i have considered trying it , and thanks for telling me anyways dude :slight_smile: