Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I tried to install a Hebrew spell checker for LibreOffice. I downloaded a package named myspell-he_1.1-1_all.deb and tried to install it through the software center. Installation failed and I can neither complete installation nor remove it. Since then, whenever I run Update Manager I get an error message:

The package system is broken. 

In details:

The following packages have unmet dependencies:
dictionaries-common:

When I try to run the Software center I get a pop-up window:

Items cannot be installed or removed until the package catalog is repaired.

A Repair option is suggested. If I click it the following nessage appears:

installArchives() failed: dpkg: dependency problems prevent configuration of myspell-he:
 dictionaries-common (1.12.1ubuntu2) breaks myspell-he (<= 1.1-1) and is installed.
  Version of myspell-he to be configured is 1.1-1.
dpkg: error processing myspell-he (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
 myspell-he
Error in function: 
dpkg: dependency problems prevent configuration of myspell-he:
 dictionaries-common (1.12.1ubuntu2) breaks myspell-he (<= 1.1-1) and is installed.
  Version of myspell-he to be configured is 1.1-1.
dpkg: error processing myspell-he (--configure):
 dependency problems - leaving unconfigured

How can I clear this mess?

share|improve this question
    
There is no need to download packages one by one, use the repositories next time. To remove myspell-he try the following: sudo dpkg --force-remove-reinstreq -P myspell-he. Hope that works. –  mikewhatever Jun 13 '12 at 1:45
    
Works perfectly. Thank you. –  Yuval Rabinovich Jun 13 '12 at 4:23
    
Glad it did, I'll post it as an answer then. –  mikewhatever Jun 13 '12 at 4:34
add comment

1 Answer 1

In a terminal window, please run the following:

sudo dpkg --force-remove-reinstreq -P myspell-he

That should force the removal of the myspell-he package.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.