Today, I encountered a problem when updating the new version of VirtualBox. E:/var/cache/apt/archives/subprocessnewpre-removalscriptreturnederrorexitstatus1 solution: I Googled and found a way. The following is my solution. Sudoapt-getcleansudo
Today, I encountered a problem when updating the new version of VirtualBox.
E:/var/cache/apt/archives/subprocess new pre-removal script returned error exit status 1
Solution:
I Googled and found the method. The following is my solution.
sudo apt-get clean
sudo apt-get update && sudo apt-get upgrade
This almost fixes the problem.
If you still have problems, try the following command:
sudo dpkg --configure -a
sudo apt-get-f install
Alternatively, you can download and install the latest version from the official Oracle VirtualBox website as follows.
sudo apt-get update
sudo dpkg -i virtualbox-4.3_4.3.24-98716~Ubuntu~raring_amd64.deb
sudo apt-get-f install
sudo apt-get autoclean && sudo apt-get autoremove
Cheers!
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-05/117300.htm