Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
OK... all I wanted to do is to get xnee to work in Ubuntu 10.04. The "xnee" meta-package doesn't work at all -- "cnee --record....." crashes immediately. So I uninstalled the package and then tried to build the latest unstable source available from ftp://ftp.gnu.org/gnu/xnee/xnee-3.07.tar.gz, which puts me firmly in package dependency hell. I need libgtk2.0-dev, but it won't install on my machine.
Code:
dlm@dlm-laptop:~$ 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: libgtk2.0-0 (= 2.20.0-0ubuntu4) but 2.20.1-0ubuntu2 is to be installed
Depends: libglib2.0-dev (>= 2.21.3) 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.13.0) but it is not going to be installed
E: Broken packages
I'm not so concerned about which version of xnee I can use, so long as it works. If there is something I can do to make the Ubuntu package not crash, that's great. Or, fix the library dependency.
dlm@dlm-laptop:~$ sudo apt-get install libgtk2.0-dev libxtst-dev x11proto-record-dev libpanel-applet2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxtst-dev is already the newest version.
x11proto-record-dev is already the newest version.
x11proto-record-dev set to manually installed.
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: libgtk2.0-0 (= 2.20.0-0ubuntu4) but 2.20.1-0ubuntu2 is to be installed
Depends: libglib2.0-dev (>= 2.21.3) 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.13.0) but it is not going to be installed
libpanel-applet2-dev: Depends: libpanel-applet2-0 (= 1:2.30.0-0ubuntu1) but 1:2.30.2-0ubuntu0.2 is to be installed
Depends: libgconf2-dev (>= 2.6.1) but it is not going to be installed
Depends: libbonoboui2-dev (>= 2.1.1) but it is not going to be installed
E: Broken packages
The problem seems to be that libgtk2.0-0 depends on old, out-of-date packages and the package system will not go back to the required older versions. I did run sudo apt-get update before the above, but it did not fix that problem.
sudo apt-get clean produced no feedback at the commandline.
I'm attaching my sources.list, and a diff comparing your file on the left against mine on the right (that is, '<' lines are in your file but not mine and '>' are in mine). I'm not familiar enough yet with the package system to know if any of these differences should be significant.
Is there a way to force apt-get to install libgtk2.0-dev + the later dependent packages?
Edit: Oh, wait a minute, after "clean" then "update," "install libgtk2.0-dev" is downloading stuff now, not just complaining about the dependency. Will report back later whether it's successful or not.
Last edited by dewdrop_world; 01-26-2011 at 09:24 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.