LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-27-2005, 02:16 AM   #1
grayFalcon
Member
 
Registered: Jan 2003
Distribution: Debian
Posts: 69

Rep: Reputation: 15
dependancies gone to hell - now what?


Hello everybody!

First of all, I'm using debian with packages that are mostly from unstable (will _anything_ work with debian on an earlier stage?)

I just did another apt-get upgrade, and the result is that half of my gtk2-related packages (including libgtk2.0-bin) won't install. They all say stuff like:
Quote:
/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so: /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so: undefined symbol: g_assert_warning
g_module_open() failed for /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-jpeg.so: /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-jpeg.so: undefined symbol: g_return_if_fail_warning
Many programs don't start up anymore, but they do it silently (I try to start them up in the shell, and they just sit there, not doing anything, no window appearing, but no errors either).

I'm completely lost here. I've tried to go back to testing with apt-pinning, almost everything worked fine, except the errors with libgtk2.0-bin and the related packages didn't go away.

Is there perhaps any way to tell apt-get to revert to the latest versions of all these packages? I mean, automatically, without researching the version history of every package and pinning every single one manually? Or does anybody know these errors and have a suggestion?

Thanks a lot in advance,
-Wojtek
 
Old 04-27-2005, 03:07 AM   #2
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
Perhaps you could try 'apt-get dist-upgrade' or 'dselect-upgrade',
rather than plain old 'upgrade'?
 
Old 04-27-2005, 03:58 AM   #3
grayFalcon
Member
 
Registered: Jan 2003
Distribution: Debian
Posts: 69

Original Poster
Rep: Reputation: 15
Thanks, that got rid of a few errors

Now there's only a few packages left bitching around. They all say:
Quote:
gconftool-2: relocation error: gconftool-2: undefined symbol: g_assert_warning
and some also say:
Quote:
Failed to load source "xml::/etc/gconf/gconf.xml.defaults": Failed: Error opening module `xml': /usr/lib/GConf/2/libgconfbackend-xml.so: undefined symbol: g_assert_warning
I tried reinstalling gconftool-2, didn't help. This seems to be a general problem concerning gconftool-2 though, because I can remove neither anything that depends gconftool-2 nor gconftool-2 itself, as I'm getting the same error while trying to do apt-get remove of to remove those things via dselect.

Any ideas? I'm really quite lost here...
 
Old 04-27-2005, 06:33 AM   #4
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
If you are removing packages and then reinstalling them later in the hope that they will then work,
keep in mind that you don't just remove, your must '--purge' also (to get rid of old config files).

In deselect you do this with '_' instead of '-'.
With apt-get remove add '--purge' to options.
 
Old 04-27-2005, 06:38 AM   #5
grayFalcon
Member
 
Registered: Jan 2003
Distribution: Debian
Posts: 69

Original Poster
Rep: Reputation: 15
Thanks for the info, I've got the habit of generally purging instead of removing though, so this can't be the problem...
Have you maybe got an idea which package might cause the g_assert_warning error in gconftool-2 and the xml errors?
 
Old 04-27-2005, 05:27 PM   #6
grayFalcon
Member
 
Registered: Jan 2003
Distribution: Debian
Posts: 69

Original Poster
Rep: Reputation: 15
Well, I kinda got the thing resolved... mostly.

The solution was to pin unstable at highest priority (again), do apt-get dist-upgrade, ignore the errors, recompile the 2.4-versions of glib and gtk+ and (I think this is the important part) recompile the newset available version of gconf from source, and then do apt-get install again. This got rid of most errors, except in one library that nothing needed anyway, so I just removed this library. After 10 hours of banging my head on the keyboard, everything works again

Thanks for the support everybody!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Are dependancies that bad? juvestar15 Slackware 2 10-04-2005 05:42 PM
stupid dependancies pazza Debian 11 07-19-2004 04:02 PM
Dependancies dibblethewrecke Linux - Newbie 3 11-24-2003 03:15 PM
Bittorrent Dependancies true_atlantis Mandriva 12 10-29-2003 12:32 AM
RPM dependancies james3mg Linux - Newbie 27 07-24-2003 03:57 AM


All times are GMT -5. The time now is 02:31 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration