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

One, the child process has installed the Pre-removal script returned an error number 1 or 2 workaround:

sudo gedit/var/lib/dpkg/status

Find package: <package Name>, such as package:vsftpd

Remove the description of this section and delete it before the next package:xxx. After the archive, the operation will be OK.

Second, the child process has installed the Post-Installation script returned an error number 1 or 2 workaround:

sudo rm/var/lib/dpkg/info/<package name>.*

such as Sudo rm/var/lib/dpkg/info/vsftpd.*, after the archive, then the operation is OK

Troubleshoot problems with installing a new version of the kernel system during kernel upgrade, installation is already present, uninstall is not removed

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.