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 updated my system using the Update Manager and now I am getting a Broken Package error. I went into Synaptic Package Manager and clicked on Fix Broken Packages but then I got this error.

E: /var/cache/apt/archives/dockmanager_0.1.0~bzr80-0ubuntu1~10.10~dockers1_i386.deb: trying to overwrite '/usr/share/dockmanager/data/skype_away.svg', which is also in package faenza-icon-theme 0.8

I cannot install or remove anything until the broken package is fixed. What should I do now?

UPDATE --

As suggested in the aswers, I ran the commands sudo apt-get purge faenza-icon-theme

and

sudo apt-get -f install

But still get the same error, here is what I get. http://paste.ubuntu.com/565877/

------------------ FIXED ----------------------

--> http://www.webupd8.org/2011/02/fix-dpkg-error-trying-to-overwrite-x.html

share|improve this question
    
If you get the solution then please mark the question as answered –  aneeshep Feb 16 '11 at 13:00

4 Answers 4

First, remove the faenza-icon-theme package:

sudo apt-get purge faenza-icon-theme

Now, try to reinstall the dockmanager.

You can also try to run:

sudo apt-get install -f
share|improve this answer
    
Still getting the same error paste.ubuntu.com/565877 –  Gaurav Butola Feb 11 '11 at 14:20

Exact duplicate of my error Unable to install Dockmanager

Follow the same steps and you should have no issue.

I sent an email to the package manager of Faenza icons about this but received no answer...

share|improve this answer
    
Didn't fix mine. –  Gaurav Butola Feb 11 '11 at 15:08
    
Faenza writes icons in some folders outside its icons folder ... and it shouldn't. For this reason, many things like this happen - the same with RadioTray and other apps. Use --force-all as suggested above when that happens and it'll work. –  Alin Andrei Feb 11 '11 at 18:10

Faenza replaces some of the icons in order to integrate certain programs into the theme. To install this you'll have to overwrite.

sudo dpkg -i --force-overwrite var/apt/cache/archives/dockmanager_0.1.0~bzr80-0ubuntu1~10.10~dockers1_i386.deb

You can also use --force-all instead of --force-overwrite

One thing I'm not sure about is the fact that you need to purge faenza-extra not faenza-icon-theme

share|improve this answer

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.