Ubuntu16.04 Update and download something error

Source: Internet
Author: User

Querying system Current Kernel

Querying the system for existing kernel files

Purging Redundant kernel files

As above, Error!

A total of three error:

    1. Child process Old Pre-removal script returns error status 1
    2. Child process New Pre-removal script returns error status 1
    3. Child process installed Post-Installation script returns error status 1

Workaround:

"Child process old Pre-removal script returned error status 1" issue:

Opened the status document, looking for the Linux kernel corresponding package, only found a linux-base package, deleted the corresponding description.

In fact, there are tens of thousands of lines of open files, it is not very good to find a string, and then you are not particularly familiar with the Linux command line.

I looked for it in the following way:

Input sudo vi/var/lib/dpkg/status

But the line number is not displayed,

Enter a colon set number and then enter to display line numbers:

Enter a slash, enter the string you want to find, and then return to the location of the string you want to find.

You can then find the line in the corresponding file.

Delete this section.

(Back to here:

Package:linux-base
Status:install OK installed
Priority:optional
Section:kernel
Installed-size:22
Maintainer:ubuntu Developers <ubuntu-devel-di[email protected]>
Architecture:all
Multi-arch:foreign
Version:4.0ubuntu1
Description:linux Image Base Package
This package contains files and the support scripts for all Linux
Images.
Original-maintainer:debian Kernel Team <[email protected]>

Ubuntu16.04 Update and download something error

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.