FIX: dpkg: Handle XXX (--configure) or e:sub-process/usr/bin/dpkg returned an error code (1)

Source: Internet
Author: User

Problem Recurrence:

Problem Solving methods:

#先备份原来的, and then re-create

sudo mv/var/lib/dpkg/info/var// now rename info folder sudo mkdir/var// re-create a new info folder sudo apt-get update
#不用解释了吧, repairing the installation

apt-Get -/var/lib/dpkg/info/* /var/lib/dpkg/info.bak
#执行完上一步操作后会在新的info文件夹下生成一些文件, these files are now moved to the Info.bak folder

sudo rm-rf/var// Delete your new info folder sudo mv/var/lib/dpkg/info.bak/var // re-change the previous Info folder back to its name

To solve this problem successfully.

FIX: dpkg: Handle XXX (--configure) or e:sub-process/usr/bin/dpkg returned an error code (1)

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.