Debian amd64 and i386 apt woes
If you ever see something similar to:
[email protected]:/# apt-get install rbenv
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: libc6:i386 (!= 2.13-38+deb7u8) but 2.13-38 is to be installed
libc6:i386 : Depends: libc-bin:i386 (= 2.13-38)
Recommends: libc6-i686:i386 but it is not going to be installed
Breaks: libc6 (!= 2.13-38) but 2.13-38+deb7u8 is to be installed
rbenv : Depends: ruby or
ruby-interpreter
Recommends: ruby1.8 but it is not going to be installed
Recommends: ruby1.9.1 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
and if apt-get -f install
doesn’t fix it, try:
dpkg --add-architecture i386
then apt-get update; apt-get -f install
should fix it up.