LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 01-25-2011, 01:47 AM   #1
dewdrop_world
LQ Newbie
 
Registered: Jan 2011
Distribution: Ubuntu 10.04, 2.6.33-29-realtime
Posts: 26

Rep: Reputation: 1
xnee ubuntu package crashes, can't build (libgtk2.0-dev dependency hell)


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
Help....???

xnee = http://www.sandklef.com/xnee/

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.

Any ideas? Thanks!
James
 
Old 01-25-2011, 03:33 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
First thing to do by a package install : sudo apt-get update

Then, for xnee-3.07 : sudo apt-get install \
libgtk2.0-dev libxtst-dev x11proto-record-dev libpanel-applet2-dev


'xnee-3.07' : No segmentation fault / crash : Behaves better than 3.02.

This command seems to work :
Code:
cnee --record --events-to-record 1000 --mouse --keyboard -o /tmp/xnee.xns -e /tmp/xnee.log -v
Ubuntu 10.04 Lucid, 64bits was used for the above.
..

Last edited by knudfl; 01-25-2011 at 03:44 AM.
 
Old 01-25-2011, 07:22 PM   #3
dewdrop_world
LQ Newbie
 
Registered: Jan 2011
Distribution: Ubuntu 10.04, 2.6.33-29-realtime
Posts: 26

Original Poster
Rep: Reputation: 1
Nope.

Code:
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.
 
Old 01-26-2011, 06:26 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
The problem seems to be that libgtk2.0-0 depends on old, out-of-date packages
Yes, looks suspicious.


Getting that kind of errors :
Probably start with 'sudo apt-get clean'



/etc/apt/sources.list : Should mostly point to lucid.

A copy of the one I used yesterday is attached.
..
Attached Files
File Type: txt sources.list.txt (3.6 KB, 20 views)

Last edited by knudfl; 01-26-2011 at 06:42 AM.
 
Old 01-26-2011, 08:25 AM   #5
dewdrop_world
LQ Newbie
 
Registered: Jan 2011
Distribution: Ubuntu 10.04, 2.6.33-29-realtime
Posts: 26

Original Poster
Rep: Reputation: 1
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.

Thanks,
James
Attached Files
File Type: txt sources.list.txt (2.5 KB, 19 views)
File Type: txt sources.diff.txt (3.4 KB, 13 views)
 
Old 01-26-2011, 10:07 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
sudo apt-get clean produced no feedback at the commandline.
Not supposed to reply anything. Next : sudo apt-get update

Etc. etc. package install ..

Your sources.list looks OK.
If you are still having problems : Change mirror.
( A local one is often slower, and may sometimes not even work.)
This one is good :
http://www.nic.funet.fi/pub/mirrors/archive.ubuntu.com/

EDIT :
P.S.: Just checked http://mirror.lupaworld.com/ubuntu/
It has all the required newest packages : Example atk

( I guess another "local" fast mirror would be Australia ! )
..

Last edited by knudfl; 01-26-2011 at 10:30 AM.
 
Old 01-26-2011, 09:22 PM   #7
dewdrop_world
LQ Newbie
 
Registered: Jan 2011
Distribution: Ubuntu 10.04, 2.6.33-29-realtime
Posts: 26

Original Poster
Rep: Reputation: 1
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.
 
Old 01-26-2011, 09:58 PM   #8
dewdrop_world
LQ Newbie
 
Registered: Jan 2011
Distribution: Ubuntu 10.04, 2.6.33-29-realtime
Posts: 26

Original Poster
Rep: Reputation: 1
All good now.

New mantra: "clean, update, install."
 
Old 01-26-2011, 11:15 PM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Except that "option clean" doesn't have to be used,
unless you experience similar problems.

I have never used it before. As far as I remember.
Had to check how it behaved, before I answered you.

..
 
Old 01-26-2011, 11:37 PM   #10
dewdrop_world
LQ Newbie
 
Registered: Jan 2011
Distribution: Ubuntu 10.04, 2.6.33-29-realtime
Posts: 26

Original Poster
Rep: Reputation: 1
Anyway, mange tak!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't reinstall LiVES (video editor): dependency not satisfied: libgtk2.0-0 seaelf Ubuntu 1 06-21-2009 08:24 AM
install xnee/cnee package (with Synaptic?) mike rodent Linux - Newbie 23 04-19-2008 08:30 AM
libgtk2.0-dev allelopath SUSE / openSUSE 1 03-31-2006 04:36 AM
Ubuntu dependency hell DaBlade Linux - Software 17 01-09-2006 03:58 AM
possible to downgrade a package? (rpm dependency hell) Goog Linux - Software 3 05-26-2003 09:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration