Ubuntu update error with Firefox

Problem:

Recently when Ubuntu Update Manager ran on my Ubuntu 11.04 for the latest update it generated following error:

E: /var/cache/apt/archives/ubufox_0.9.1-0ubuntu0.10.04.1~mfn3_all.deb: trying to overwrite ‘/etc/xul-ext/ubufox.js’, which is also in package xul-ext-ubufox 0

Reason:

Probing a little further I found out that it is a problem in upgrading to Firefox 5.0 and this ubufox is a modified version of Firefox for Ubuntu.

Solution:

Follow these steps:

  • Open Synaptic Packet Manager
  • Search and mark xul-ext-ubufox for removal
  • Search and mark ubufox for upgrade
  • Apply the changes
  • Now open terminal (Ctrl+Alt+T) and use the following command: sudo apt-get install firefox

Hope it solves your problem. Question, suggestions and feedback are most welcomed. Enjoy :)