-1

When trying to install anything:

You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 colord : Depends: libsane (>= 1.0.11-3) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

I tried running apt-get -f install and apt-get install libsane with no luck.

  • Please post output of apt-get -f install and apt-cache showpkg libsane | head -n3 – kubahaha Feb 26 '14 at 18:45
  • apt-cache showpkg libsane | head -n3
    Package: libsane
    Versions:
    1.0.22-7ubuntu1 (/var/lib/apt/lists/ubuntu.mirrors.ovh.net_ftp.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages) (/var/lib/dpkg/status)
    – user3079979 Feb 26 '14 at 18:52
  • http://pastie.org/8791255 – user3079979 Feb 26 '14 at 18:53
  • I went into /var/lib/dpkg/status and searched for libsane and removed it's entires. After that ran apt-get -f install and it reinstall it and now it's fixed. – user3079979 Feb 26 '14 at 19:06
  • Maybe, libsane is not published for your Ubuntu release. In terminal, run command "lsb_release -a" and provide the results. – Piesek64 Feb 26 '14 at 18:45

1 Answers1

0

Run sudo rm /etc/sane.d/abaton.conf /var/cache/apt/archives/libsane_1.0.22-7ubuntu1_amd64.deb (it will force redownloading of libsane), then try again apt-get -f install

kubahaha
  • 1,167