LinuxQuestions.org
Visit Jeremy's Blog.
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 03-02-2004, 11:33 PM   #1
xfracture
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
gtk errors about not recognizing png after yum groupupdate to dev version of gnome


i use fedora and recently had yum do a group update for GNOME to the latest development release (2.5.90-1)
i had been using the dev before and it was fine until this last update.


i rebooted the machine later the next day and found gdm to no longer work. that was easily fixed by simply switching over to kdm.

however, when gnome started i got a bunch of errors about not being able to recognize png files. while gnome will still load minus all graphics and icons, the majority of its applications will not load.

these are 2 examples of errors i get when launching an app via the terminal:
(gnome-about :11724): Gtk-WARNING **: Error loading icon: Couldn't recognize the image file format for file '/usr/share/icons/Bluecurve/20x20/stock/gtk-close.png

(synaptic:11703): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported



i have the latest of fedoras' dev rpms for gnome installed, as well as the latest control-panel, gtk, gtk2, gconf2, gdkpixbuf, etc.
i also updated my libpng & libpng10 packages to see if that would do anything.

i was wondering if anyone else had a similar issue or knows how i can resolve this (if its a prob with the current dev of gnome itself, i will gladly wait for the next release if need be)

thanks in advance for everyones help
 
Old 03-03-2004, 10:18 AM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Mineral, Virginia
Distribution: Debian 8
Posts: 7,877

Rep: Reputation: 318Reputation: 318Reputation: 318Reputation: 318
"when gnome started i got a bunch of errors about not being able to recognize png files."

The most likely cause of this problem is something being wrong with libpng. Maybe it is not there. Maybe it is the wrong version. Maybe it is corrupt. Take a look at:
rpm -qi libpng
and see if libpng is installed and what version it is. If it is installed try:
rpm --test -e libpng
to get a dependency list.
You might try reinstalling libpng with:
rpm --force -i /path/png.rpm

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 03-03-2004, 10:48 AM   #3
xfracture
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Original Poster
Rep: Reputation: 0
its using the latest dev version of libpng & libpng10 which i upgraded to when i saw the error the first time.

a forced reinstall had no effect.


Name : libpng Relocations: (not relocateable)
Version : 1.2.2 Vendor: Red Hat, Inc.
Release : 19 Build Date: Fri 27 Feb 2004 04:44:13 AM EST
Install Date: Mon 01 Mar 2004 12:15:29 AM EST Build Host: tweety.devel.redhat.com
Group : System Environment/Libraries Source RPM: libpng-1.2.2-19.src.rpm
Size : 371312 License: OSI certified
Signature : (none)
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.libpng.org/pub/png/
Summary : A library of functions for manipulating PNG image format files.
Description :
The libpng package contains a library of functions for creating and
manipulating PNG (Portable Network Graphics) image format files. PNG
is a bit-mapped graphics format similar to the GIF format. PNG was
created to replace the GIF format, since GIF uses a patented data
compression algorithm.


[root@localhost xfracture]# rpm --test -e libpng

error: Failed dependencies:
libpng12.so.0 is needed by (installed) gd-2.0.15-1
libpng12.so.0 is needed by (installed) pilot-link-0.11.8-1
libpng12.so.0 is needed by (installed) ImageMagick-5.5.6-5
libpng12.so.0 is needed by (installed) emacs-21.3-7
libpng12.so.0 is needed by (installed) xawtv-3.88-6
libpng12.so.0 is needed by (installed) xsane-0.91-1
libpng12.so.0 is needed by (installed) imlib-1.9.13-14
libpng12.so.0 is needed by (installed) abiword-2.0.1-1
libpng12.so.0 is needed by (installed) gqview-1.2.1-6
libpng12.so.0 is needed by (installed) SDL_image-1.2.3-3
libpng12.so.0 is needed by (installed) netpbm-progs-9.24-12.1.1
libpng12.so.0 is needed by (installed) xine-lib-1.0.0-0.5.rc3.fr
libpng12.so.0 is needed by (installed) xine-0.9.23-1.fr
libpng12.so.0 is needed by (installed) mplayer-1.0-0.5.pre2.20031107.fr
libpng12.so.0 is needed by (installed) k3b-0.11.3-1.xcyb
libpng12.so.0 is needed by (installed) kbear-2.1-1
libpng12.so.0 is needed by (installed) wxGTK-2.4.2-3.fr
libpng12.so.0 is needed by (installed) imlib2-1.1.0-1.fr
libpng12.so.0 is needed by (installed) vlc-0.7.0-1
libpng12.so.0 is needed by (installed) kdelibs-3.2.0-0.1
libpng12.so.0 is needed by (installed) kdegames-3.2.0-0.1
libpng12.so.0 is needed by (installed) koffice-1.3-0.1
libpng12.so.0 is needed by (installed) kdeaccessibility-3.2.0-0.1
libpng12.so.0 is needed by (installed) kdeadmin-3.2.0-0.1
libpng12.so.0 is needed by (installed) kdebindings-3.2.0-0.1
libpng12.so.0 is needed by (installed) kdeedu-3.2.0-0.1
libpng12.so.0 is needed by (installed) armagetron-0.2.5.2-2.fr
libpng12.so.0 is needed by (installed) glob2-0.8.2-1
libpng12.so.0 is needed by (installed) lbreakout2-2.5-0.beta3.1.fr
libpng12.so.0 is needed by (installed) zsnes-1.36-3
libpng12.so.0 is needed by (installed) cinepaint-0.18-1
libpng12.so.0 is needed by (installed) gtk2-2.3.2-3
libpng12.so.0 is needed by (installed) gimp-2.0-1.pre3.4
libpng12.so.0 is needed by (installed) xsane-gimp-0.92-5
libpng12.so.0 is needed by (installed) gdk-pixbuf-0.22.0-5.0
libpng12.so.0 is needed by (installed) freedroidrpg-0.9.9-0.fdr.1.1
libpng12.so.0 is needed by (installed) quanta-3.2.0-1.1
libpng12.so.0 is needed by (installed) cups-libs-1.1.20-4
libpng12.so.0 is needed by (installed) qt-3.3.0-0.3
libpng12.so.0 is needed by (installed) arts-1.2.0-1.5
libpng12.so.0 is needed by (installed) ghostscript-7.07-23
libpng12.so.0 is needed by (installed) qt-devel-3.3.0-0.3
libpng12.so.0 is needed by (installed) kdeaddons-atlantikdesigner-3.2.0-1.6
libpng12.so.0 is needed by (installed) kdebase-3.2.0-1.8
libpng12.so.0 is needed by (installed) kdemultimedia-3.2.0-1.3
libpng12.so.0 is needed by (installed) kdepim-3.2.0-1.4
libpng12.so.0 is needed by (installed) kdeaddons-3.2.0-1.6
libpng12.so.0 is needed by (installed) kdegraphics-3.2.0-1.3
libpng12.so.0 is needed by (installed) kdeutils-3.2.0-1.2
libpng12.so.0 is needed by (installed) kdenetwork-3.2.0-1.5
libpng12.so.0 is needed by (installed) kdeartwork-3.2.0-1.3
libpng12.so.0 is needed by (installed) gtk2-2.3.4-1
libpng12.so.0 is needed by (installed) gnome-panel-2.5.90-1
libpng12.so.0 is needed by (installed) XFree86-4.3.0-61
libpng12.so.0 is needed by (installed) gthumb-2.3.1-1
libpng12.so.0 is needed by (installed) gstreamer-plugins-0.7.5-2
libpng is needed by (installed) ImageMagick-5.5.6-5
libpng = 2:1.2.2 is needed by (installed) libpng-devel-1.2.2-17
libpng is needed by (installed) xine-lib-1.0.0-0.5.rc3.fr
libpng is needed by (installed) mplayer-1.0-0.5.pre2.20031107.fr
libpng is needed by (installed) imlib2-1.1.0-1.fr
libpng is needed by (installed) lbreakout2-2.5-0.beta3.1.fr
libpng is needed by (installed) librsvg2-2.5.0-2
libpng is needed by (installed) ghostscript-7.07-23

it looks like everything should be working to me.
 
Old 03-03-2004, 04:17 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Mineral, Virginia
Distribution: Debian 8
Posts: 7,877

Rep: Reputation: 318Reputation: 318Reputation: 318Reputation: 318
"it looks like everything should be working to me. "

I think that you have proven that libpng is not the problem.

My guess now is that when you did the yum update that something was not updated properly. Some package has the old version or old files or is corrupt. But figuring out which package, if any, is screwed up could be a lot of work. You could start out by working out the dependency tree of what you installed. Start with one of the packages at the top of the tree (gnome-desktop, gtk+, or whatever) and use the command:
rpm -qR gnome-desktop
to find out what depends on what. Then you check the dependencies' dependencies, etc. You can compare the dependency tree against a list of everything that you have installed.
This command will give you that list in /root/all.rpms.txt:
rpm -qa > /root/all.rpms.txt
Check version numbers as well as package names.

"if its a prob with the current dev of gnome itself, i will gladly wait for the next release if need be"

You have installed a development release of gnome. It may be a bug in gnome. You can check the gnome bug data base to see if it is a reported bug and if there is a fix for it:

http://bugzilla.gnome.org/

If not, then you may want to report this problem as a bug.

If the dependency problem and/or the bug problem are more work than you want to mess with then I suggest that you drop back to the latest stable version of gnome, which should have no dependency problems and a lot fewer bugs.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 03-31-2004, 12:38 PM   #5
pikus
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 7.3, Redhat 9, Fedora FC1
Posts: 2

Rep: Reputation: 0
I had exact same problem after updating from RH7.3 to FC1. The following fixed it for me:
/usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
/usr/bin/gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders
 
Old 09-26-2004, 01:31 AM   #6
onnyloh
Member
 
Registered: Nov 2002
Posts: 57

Rep: Reputation: 15
Quote:
Originally posted by pikus
I had exact same problem after updating from RH7.3 to FC1. The following fixed it for me:
/usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
/usr/bin/gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders

i love u guy...
my system was nearly gone....
thank for your help.. ^_^"
 
Old 12-14-2010, 10:14 AM   #7
arond
LQ Newbie
 
Registered: Dec 2009
Distribution: OpenSuse 11.3
Posts: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by pikus View Post
I had exact same problem after updating from RH7.3 to FC1. The following fixed it for me:
/usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
/usr/bin/gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders

Just for the record, this fixed xfce and lxde in OpenSuse 11.3 after upgrade from 11.1, 6 years later!

Last edited by arond; 12-14-2010 at 10:16 AM.
 
  


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
GTK Pod on Fedora Core III isn't recognizing iPod Mini Parapsychosis Fedora 4 10-13-2005 07:38 PM
Installing GTK problems w/ PNG loader -- please help clcarroll Linux - Newbie 1 08-12-2005 04:14 PM
yum version yum-2.0.5-0.9.2.legacy.noarch.rpm master Red Hat 6 05-13-2005 03:03 PM
Yum Errors in parsing, whats wrong here (yum.conf pasted) thejokker Linux - Newbie 1 06-15-2004 02:28 AM
Original gnome-splash.png miknight Linux - Software 5 04-11-2003 01:17 AM

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

All times are GMT -5. The time now is 03:53 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