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