Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I try to do an apt-get install, I keep getting an error: Depends: libgtk-3-common (= 3.4.1-0ubuntu1) but 3.4.2-0ubuntu0.4 is to be installed

when I run sudo apt-get -f install, I get several dpkg: warning: files list file for package 'XXX' missing, assuming package has no files currently installed.


Preparing to replace libgtk-3-bin 3.4.1-0ubuntu1 (using .../libgtk-3-bin_3.4.2-0ubuntu0.4_i386.deb) ...
Adding 'diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin'
dpkg-divert: error: rename involves overwriting `/usr/sbin/update-icon-caches.gtk2' with
  different file `/usr/sbin/update-icon-caches', not allowed
dpkg: error processing /var/cache/apt/archives/libgtk-3-bin_3.4.2-0ubuntu0.4_i386.deb (--unpack):
 subprocess new pre-installation script returned error exit status 2
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm not sure why it's complaining about a newer version of a package, but any help would be appreciated

share|improve this question

migrated from Sep 10 '12 at 1:53

This question came from our site for professional and enthusiast programmers.

To install an older version: sudo apt-get install libgtk-3-common=3.4.1-0ubuntu1 – Xiè Jìléi Sep 10 '12 at 1:51
Hi Trevor, this would be a better question for Super User, Unix and Linux, or Ask Ubuntu. See the list of Stack Exchange Sites for guidance. – jmort253 Sep 10 '12 at 1:52
This is not a programming question (it's an operating system question) and is off-topic here. Voting to close as such. – Ken White Sep 10 '12 at 1:52
Thanks for putting it in the right forum... When I try to downgrade to 3.4.1, I get the error Depends: libgtk-3-common (= 3.4.2-0ubuntu0.4) but 3.4.1-0ubuntu1 is to be installed – Trevor Newhook Sep 10 '12 at 1:55

You must log in to answer this question.

Browse other questions tagged .