I installed (not successfully) chrome 32-bit and didn't know that my OS type was 64-bit. I tried to fix it with this command sudo apt-get -f install
but there was an error.
Every time I install a package, for example, flashplugin-installer
or gdebi
, it shows an error:
$ sudo apt-get install flashplugin-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libc6 : Breaks: locales (< 2.19)
libc6:i386 : Recommends: libc6-i686:i386
Breaks: locales (< 2.19)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
-------------------------------------------------------------------------------
$ sudo apt-get install gdebi
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gdebi : Depends: gdebi-core (= 0.9.5.5+nmu1) but it is not going to be installed
Recommends: libgtk2-perl but it is not going to be installed
libc6 : Breaks: locales (< 2.19)
libc6:i386 : Recommends: libc6-i686:i386
Breaks: locales (< 2.19)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
How do I fix this? I'm new at Linux.
Edit:
Next, run:
sudo apt-get clean
sudo apt-get update
Well I am stuck at that before purging and downgrading libc6 on mchid's answer. I am having this error, and mchid suggested this link but the solutions didn't solved my problem.
sudo apt-get update
, still having thathash sum mismatch
.... And can you explain this?apt-get download libc6-udeb=2.19-0ubuntu6 libc6-dev=2.19-0ubuntu6.6 libc6=2.19-0ubuntu6.6:i386
does this download 32 bit I guess? Still having an error about that. – newbieguy Dec 01 '15 at 21:36