Remove OOoLatex from Ubuntu

Source: Internet
Author: User
Add the source debhttp: // www. fyma. ucl. ac. be/effectugutsycontrib OOoLatex installation error, so use sudodpkg -- purge -- force-remove-reinstreqooolatex to force Delete, also error: dpkg-warning, overridingproblembecause -- forceenable

First in Ubuntu add source deb http://www.fyma.ucl.ac.be/ubuntu gutsy contrib install OOoLatex error, so use sudo dpkg -- purge -- force-remove-reinstreq ooolatex force Delete, also error:

Dpkg-warning, overriding problem because -- force enabled:
Package is in a very bad inconsistent state-you shoshould
Reinstall it before attempting a removal.
(Reading database... 242056 files and directories currently installed .)
Removing ooolatex...
Sed: can't read/usr/lib/openoffice/share/config/soffice. cfg/modules/simpress/accelerator/default. xml/default. xml: Not a directory
Dpkg: error processing ooolatex (-- purge ):
Subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
Ooolatex

Solution:
1. delete the file/usr/lib/openoffice/share/config/soffice. cfg/modules/simpress/accelerator/default. xml (default. xml can be moved to another place first, and then moved back after deletion );

2. Run sudo dpkg -- purge -- force-remove-reinstreq ooolatex.

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.