LINUX apt-get installation software times dpkg error

Source: Internet
Author: User

Dpkg:serious warning:files list file for package ' ******** ' missing, assuming package have no files currently installed.

This error typically occurs when you install the Deb package using Dpkg-i, and you delete all of the program's related directories and files, but the DPKG library still retains information about the program.

Therefore, when the apt command is executed, the dpkg self-test will find the relevant file is lost, and then report the error in the title.

Here's how to fix it:
Dpkg-l | grep * * * * #检查当前dpkg库中残留的文件安装信息
sudo dpkg-r * * * * * * * * #手动删除所有包, this step may still have related error messages reported
sudo dpkg-p * * * * * * * #这一步很重要, completely erase any * * * Package Related information

Re-execute Dpkg-l | grep * * * should not have any error message, and then perform other installation procedures, will not error.

LINUX apt-get installation software times dpkg 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.