I recently installed Debian wheezy on my desktop PC. Here is the
uname -a command:
Linux devnet 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1+deb7u1 x86_64 GNU/Linux
Once the installation finished, I started installing some packages (chromium and JAVA7), but I've come across a problem and I don't know how to solve it.
When trying to install chromium, I get the following error:
caled@devnet:~$ sudo apt-get install chromium
Then asks for password and lists packages to be installed, everything fine. But then I get:
/bin/sh: 1: /usr/sbin/dpkg-preconfigure: not found dpkg: error processing /var/cache/apt/archives/libc-bin_2.13-38_amd64.deb (--unpack): package architecture (amd64) does not match system (i386) Errors were encountered while processing: /var/cache/apt/archives/libc-bin_2.13-38_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Ok, from that I get that it is having a problem installing the libc-bin package for the amd64 architecture, but that is the correct architecture for my PC, uname -a says so.
I've tried multiple approaches: allowing i386 packages
sudo dpkg --add-architecture i386
Also installing dependencies:
sudo apt-get -f install
I also thought that it might be a trouble with my locales, but I generated my locales as root:
Finally, I gave it a shot by installing just the
libc-bin package using synaptic, but still nothing has worked.
Any ideas what I could be missing? Any help will be greatly appreciated, stating to feel frustrated...