Child process has installed Pre-removal script returned error number 1 or 2 with child process installed post-installation script returned error number 1 or 2

Source: Internet
Author: User

Today in Ubuntu Kylin installed VirtualBox, and then I want to delete a new point, the result of normal situation can not be deleted, I will find the VirtualBox directory all deleted,

And then through the Apt-get Remove and other commands can not be deleted, the title shows the error

Child process installed Pre-removal script returned error number 1

On the internet to find a lap, a great deal of effort to find the following solutions, record,

Http://www.xuebuyuan.com/2153374.html

sudo gedit/var/lib/dpkg/status Find package: <package Name>, such as package:vsftpd Delete this part of the description, delete before the next package:xxx good. After the archive, the operation will be OK. Second, the child process has been installed Post-Installation script returned error number 1 or 2 workaround: sudo rm/var/lib/dpkg/info/<package name>.* such as sudo rm/var/lib/dpkg/i nfo/vsftpd.*, after the archive, then the operation will be OK.

This solution is really good, I can not delete the old VirtualBox, the result of the new VirtualBox can not be installed,

Child process has installed Pre-removal script returned error number 1 or 2 with child process installed post-installation script returned error number 1 or 2

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.