Ubuntu12.04 error: the apport report is not written because the MaxReports limit has been reached.

Source: Internet
Author: User
Ubuntu12.04 error: MaxReports restrictions have been reached, and no apport is written. the report last night started to upgrade ubuntu10.04 to 12.04. with the online upgrade, the software was finally downloaded, installed, and the database was cleaned up, an error [... ubuntu 12.04 error: as MaxReports restrictions have been reached, the apport report was not written. upgrade ubuntu10.04 to 12.04 last night. The online upgrade is used. Today, the software is finally downloaded, the software is installed, and the database is cleaned up, during software installation, an error [python] is being uninstalled libxml-perl... /var/lib/dpkg/info/libxml-libxml-perl.prerm: 11:/var/lib/dpkg/info/libxml-libxml-perl.prerm: update-perl-sax-parsers: no T found dpkg: error in processing libxml-perl (-- remove): the sub-process has installed the pre-removal script and returned the error code 127 because it has reached the MaxReports limit, no apport report is written. An error occurred while processing: libxml-perl E: Sub-process/usr/bin/dpkg returned an error code (1). after the upgrade is complete, open Software Center> installed software. if it cannot be opened, automatic repair fails. an error is Prompted. we recommend that you execute apt-get install-f and the command fails to be executed on the terminal, the error message is the same as the one in the message: "Because the MaxReports limit has been reached, no apport report is written." So there are still a lot of people who have found this problem after Google! Solution: Perform the following steps: [python] root @ jack-desktop: dpkg # cd/var/lib/dpkg root @ jack-desktop: dpkg # mv info/info-bak root @ jack-desktop: dpkg # mkdir info root @ jack-desktop: dpkg # apt-get update root @ jack-desktop: dpkg # apt-get install-f succeeded! When you execute the last sentence, you will receive many warnings. just ignore them! Finally, you can get info-bak back to [python] root @ jack-desktop: dpkg # mv info/* info-bak/root @ jack-desktop: dpkg # ls info root @ jack-desktop: dpkg # rm-rf info root @ jack-desktop: dpkg # mv info-bak/info OK! Ubuntu12.04 is good, and the interface is quite nice!
Related Article

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.