Cannot install sqlite3

Solution 1:

This appears to be a problem with some of the 64-bit packages being out of sync with the 32-bit packages (3.7.9-2ubuntu1 vs. 3.7.9-2ubuntu1.1).

The following answer is shamelessly cut'n'pasted from the thread at http://www.kubuntuforums.net/showthread.php?60125-Can-t-install-anything-bad-libsqlite3-0-amd64 which I recommend for a more thorough description (as well as steps to verify that this is indeed your problem.)

  1. Download the 64-bit version:

    apt-get download libsqlite3-0:amd64
    
  2. Download the 32-bit version:

    apt-get download libsqlite3-0:i386
    
  3. Forcibly remove the existing 64-bit version:

    sudo dpkg --force-depends --purge libsqlite3-0:amd64
    
  4. Forcibly remove the existing 32-bit version:

    sudo dpkg --force-depends --purge libsqlite3-0:i386
    
  5. Manually install the 64-bit version:

    sudo dpkg --install libsqlite3-0*amd64.deb
    
  6. Manually install the 32-bit version:

    sudo dpkg --install libsqlite3-0*i386.deb
    

Then see if your install of the -dev works, since one of those should match what it's looking for.