Can't install libglib2.0-dev

Posted by Joachim Pileborg on Ask Ubuntu See other posts from Ask Ubuntu or by Joachim Pileborg
Published on 2011-11-14T17:08:46Z Indexed on 2011/11/14 18:12 UTC
Read the original article Hit count: 279

Filed under:
|
|

Since Handbrake can't be installed in Oneiric, I decided to try and build it from source instead. The build is interrupted because it complains glib is not installed, so I thought I better install the glib development package. But I cant:

$ sudo aptitude install -V libglib2.0-dev
The following NEW packages will be installed:
  libglib2.0-dev{b} [2.30.0-0ubuntu4]  
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1 775 kB of archives. After unpacking 8 831 kB will be used.
The following packages have unmet dependencies:
  libglib2.0-dev: Depends: libglib2.0-0 (= 2.30.0-0ubuntu4) but 2.31.0-0ubuntu1~oneiric1 is installed.
                  Depends: libglib2.0-bin (= 2.30.0-0ubuntu4) but 2.31.0-0ubuntu1~oneiric1 is installed.
Internal error: the solver Install(libglib2.0-bin 2.30.0-0ubuntu4 <libglib2.0-dev 2.30.0-0ubuntu4 -> {libglib2.0-bin 2.30.0-0ubuntu4 libglib2.0-bin 2.30.0-0ubuntu4}>) of a supposedly unresolved dependency is already installed in step 237

Aptitude the suggest a solution that involves removing basically all libraries, including libc.

How do I install the glib development package?

© Ask Ubuntu or respective owner

Related posts about 11.10

Related posts about aptitude