Asked By
rabiss
0 points
N/A
Posted on - 10/03/2011
I’m using Linux Mint Meerkat 2.6.35-27-generic. I am trying to remove the chromium browser as it seems to be broken. I am simply trying to re-install the application with apt 0.8.3ubuntu7. I have mentioned in the image, what I am getting. How will I fix this issue?
Answered By
Jamaoui
0 points
N/A
#85701
Trying to reinstall chromium browser
What you are getting is an error due to a corrupt configuration within the dpkg database, so what you need to do is edit this file. But first lets try to let the system solve the problem.Â
You can do so using a GUI or via command line :Â
Â
1 . GUI: Use the Synaptic Package Manager, which you will find under System -> Administration, then click Edit -> Fix Broken Packages.
Â
2 . The second way need some typing, so let go for it :
Â
First open the terminal, which you can find under Applications -> Accessories, then use the following command.
To make things clear, the -f flag stands for –fix-broken, which will attempt to fix all broken packages in your system, by providing the needed dependencies. Then see if the problem's been resolved, otherwise we need to edit the configuration for the dpgk program. We need, of course to start by opening the file, with root privilege so you can edit it.
Â
But, before editing the file we need to take all the needed precautions, so make a back up for the file ($cp status status.bkup). now start editing the file ($sudo gedit status).
Â
First, start by finding the package that caused the problem, in your case, it is chromium-browser, then find it with in the status file, to make things easy for you, use the shortcut CTRL + F then put the following text, "package: chromium-browser", NB : there is a space between after the column (:), then delete the lines related to the targeted package.Â
Â
PS: DO NOT DELETE LINES WITHIN OTHER PACKAGES EVEN IF THE BROKEN PACKAGE IS INCLUDED.
Â
Now save the file and make, dpkg check the configuration again by using the following command, dpkg the –configure flagÂ
Â
-
$sudo dpkg –configure -a
Â
This command will attempt to reconfigure all packages that are not being configured, and after deleting the above lines from the status file, the package chromium-browser is considered to be "not configured" so it will reconfigure it.
Â
Now after the changes we've made some of the dependencies are broken, so you need to force the reinstallation of these missing packages , to do so use the command line.
Now everything is O. K, your dpkg is back to work!!
Â
Hope this help you !!
Trying to reinstall chromium browser
The reason why you are unable to uninstall the chromium browser from your computer is because you have not yet installed the LXDE tool, and therefore I will suggest that you try the following:
-
You will need to get an alternative browser and install it, and I will recommend that you install Firefox 7, which you can download from mozilla.org.
-
And then you will need to install the claws-mail.
-
Once you have done that, you can then try removing the chromium browser again.
As an alternative, you can try setting the Firefox set as the 'x-www-browser', it might just make that problem go away and you will be able to remove your chromium.
-Clair Charles