- I want to run GTK application into my Raspberry Pi Model B(V1.2) board.I'm using Raspbian Debian Whezzy for development.
- For that i need to install GTK2/3 packages to install.When I'm giving command sudo apt-get install libgtk2.0-dev ,it gives following error,
pi@raspberrypi ~ $ 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: libglib2.0-dev (>= 2.27.3) but it is not going to be installed
Depends: libgdk-pixbuf2.0-dev (>= 2.21.0) but it is not going to be installed
Depends: libpango1.0-dev (>= 1.20) but it is not going to be installed
Depends: libatk1.0-dev (>= 1.29.2) but it is not going to be installed
Depends: libcairo2-dev (>= 1.6.4-6.1) but it is not going to be installed
- I've tried to solve that error using command sudo apt-get update and sudo apt-get install -f to fix issues.but not able to solve that issue.
Need help.Thanks
asked Jul 7, 2015 at 7:11
1 Answer 1
- Problem solved. Actually I've made some local change in sources.list file according to local server.Now I've changed it and make it as original.
- Use sudo apt-get update and sudo apt-get install libgtk-3-dev(for gtk-3) or sudo apt-get install libgtk2.0-dev(for gtk-2) Now its working.
answered Jul 7, 2015 at 16:12
sudo apt-get update
beforeinstall
? Also, let us know output ofuname -a
.uname -a
?4.0.6