How to fix the error of "... scriptreturnederrorexitstatus1" on Ubuntu

Source: Internet
Author: User
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.

  1. sudo apt-get clean
  2. sudo apt-get update && sudo apt-get upgrade

This almost fixes the problem.

If you still have problems, try the following command:

  1. sudo dpkg --configure -a
  2. sudo apt-get-f install

Alternatively, you can download and install the latest version from the official Oracle VirtualBox website as follows.

  1. sudo apt-get update
  2. sudo dpkg -i virtualbox-4.3_4.3.24-98716~Ubuntu~raring_amd64.deb
  3. sudo apt-get-f install
  4. 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.