Can't install libgtk2.0-dev

Linux specific forum
garretthylltun
Enthusiast
Enthusiast
Posts: 346
Joined: Wed Oct 26, 2005 2:46 am
Contact:

Can't install libgtk2.0-dev

Post 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
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
· Necroprogramming FTW! - "Wait.. Is necroprogramming legal?"
· http://www.freewarehome.com/ <-- Freeware listings since 1996
BorisTheOld
Enthusiast
Enthusiast
Posts: 542
Joined: Tue Apr 24, 2012 5:08 pm
Location: Ontario, Canada

Re: Can't install libgtk2.0-dev

Post 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.
For ten years Caesar ruled with an iron hand, then with a wooden foot, and finally with a piece of string.
~ Spike Milligan
garretthylltun
Enthusiast
Enthusiast
Posts: 346
Joined: Wed Oct 26, 2005 2:46 am
Contact:

Re: Can't install libgtk2.0-dev

Post by garretthylltun »

Thanks a bunch, I'll give it a try. :-)
~Garrett
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
· Necroprogramming FTW! - "Wait.. Is necroprogramming legal?"
· http://www.freewarehome.com/ <-- Freeware listings since 1996
Post Reply