Page 1 of 1

Can't install libgtk2.0-dev

Posted: Sat Aug 16, 2014 4:14 am
by garretthylltun
Using Linux Mint 17 based on Ubuntu 14.04

libgtk2.0-dev is the only thing that won't install, here's the notice:

Code: Select all

sudo apt-get install libgtk2.0-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgtk2.0-dev : Depends: libpango1.0-dev (>= 1.20) but it is not going to be installed
                 Depends: libcairo2-dev (>= 1.6.4-6.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Tried apt-get'ing the two named components but they also have unmet dependancies :-( I'm not sure whatelse to do and my knowlege of Linux is still newbie status.

This is a fresh install of Linux Mint, just installed this morn and then updated it immediately.

Any info appreciated. Thanks,
~Garrett

Re: Can't install libgtk2.0-dev

Posted: Sat Aug 16, 2014 9:19 pm
by BorisTheOld
I had a similar situation after I did a clean install of Mint 17, followed immediately by a clean install of PB 5.30b3.

PB complained that two libraries were missing: g++ and libgtk2.0-dev

According to my log book I used Software Manager to install both libraries, and the problem went away.

After using Linux for 7 years, I've found that Software Manager is a more reliable way of installing packages than using sudo. There seem to be fewer problems with dependencies.

Re: Can't install libgtk2.0-dev

Posted: Sun Aug 17, 2014 8:23 am
by garretthylltun
Thanks a bunch, I'll give it a try. :-)
~Garrett