Errors were encountered while processing:virtualbox-6.1E: Sub-process /usr/bin/dpkg returned an error code (1 code example
Example: E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo dpkg --configure -a
sudo dpkg --configure -a