View previous topic :: View next topic |
Author |
Message |
cci[RR]us n00b
Joined: 01 Jan 2005 Posts: 26 Location: Singapore
|
Posted: Wed Jun 22, 2005 1:34 am Post subject: Cannot load SVG after doing updates |
|
|
Hi,
I can't remember the packages that I've updated (with ACCEPT_KEYWORDS="~x86", oops!!!) as well as those I unmerged (one of which is gtk-engines-xfce). Then after that, my X could not load .SVG files. There are tonnes of error dialog boxes when X loads. I've tried re-emerging librsvg and most error messages went away, still, I can't load .SVG.
I'm using X.org 6.8.0 with Gnome 2.10.1.
Please kindly advise. Thank you!!! _________________ (~ cci[RR]us ~)
...Computer Networks Enthusiast...
Toys...:: MOL1500 :: SB3100 :: SCM-140 :: BEFSR41v2 ::
Toys...:: DWL-2100AP :: DI-624 :: DWL-G650 :: |
|
Back to top |
|
|
nxsty Veteran
Joined: 23 Jun 2004 Posts: 1556 Location: .se
|
Posted: Wed Jun 22, 2005 7:42 am Post subject: |
|
|
What's your emerge info? |
|
Back to top |
|
|
cci[RR]us n00b
Joined: 01 Jan 2005 Posts: 26 Location: Singapore
|
Posted: Wed Jun 22, 2005 8:27 am Post subject: |
|
|
nxsty wrote: | What's your emerge info? |
Sorry I don't understand you. How do I get the required information? _________________ (~ cci[RR]us ~)
...Computer Networks Enthusiast...
Toys...:: MOL1500 :: SB3100 :: SCM-140 :: BEFSR41v2 ::
Toys...:: DWL-2100AP :: DI-624 :: DWL-G650 :: |
|
Back to top |
|
|
curtis119 Bodhisattva
Joined: 10 Mar 2003 Posts: 2160 Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.
|
Posted: Wed Jun 22, 2005 11:01 pm Post subject: |
|
|
The next time don't use ACCEPT_KEYWORDS on the command line. Use the method outlined in the FAQ.
https://forums.gentoo.org/viewtopic.php?t=33534
sorry this isn't an answer to your question but it will help you in the future. _________________ Gentoo: it's like wiping your ass with silk. |
|
Back to top |
|
|
cci[RR]us n00b
Joined: 01 Jan 2005 Posts: 26 Location: Singapore
|
Posted: Thu Jun 23, 2005 1:28 am Post subject: |
|
|
Yes, I know the risks of "ACCEPT_KEYWORDS" but it didn't occur to me that it could be so dangerous. Now, I've learnt it the hard way
I guess I could only remove "everything" and then emerge "everything" back. That should fix the unknown broken pieces.
So, what are the "everything" that I need to remove and then emerge back? The just the entire GNOME 2.10? How bout the various libraries depended by GNOME? What is the proper command to do all that?
Many thanks to you guys for guiding a n00b like me _________________ (~ cci[RR]us ~)
...Computer Networks Enthusiast...
Toys...:: MOL1500 :: SB3100 :: SCM-140 :: BEFSR41v2 ::
Toys...:: DWL-2100AP :: DI-624 :: DWL-G650 :: |
|
Back to top |
|
|
curtis119 Bodhisattva
Joined: 10 Mar 2003 Posts: 2160 Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.
|
Posted: Thu Jun 23, 2005 3:37 am Post subject: |
|
|
All you really need to do is:
No need to unmerge anything. _________________ Gentoo: it's like wiping your ass with silk. |
|
Back to top |
|
|
cci[RR]us n00b
Joined: 01 Jan 2005 Posts: 26 Location: Singapore
|
Posted: Thu Jun 23, 2005 3:53 am Post subject: |
|
|
Code: | [b]--emptytree (-e)[/b]
Reinstalls all world packages and their dependencies to the current USE specifications while differing from the installed set of packages as little as possible. You should run with --pretend first to make sure the result is what you expect. |
Hmm.... thanks. I'll try that with --pretend later. _________________ (~ cci[RR]us ~)
...Computer Networks Enthusiast...
Toys...:: MOL1500 :: SB3100 :: SCM-140 :: BEFSR41v2 ::
Toys...:: DWL-2100AP :: DI-624 :: DWL-G650 :: |
|
Back to top |
|
|
cci[RR]us n00b
Joined: 01 Jan 2005 Posts: 26 Location: Singapore
|
Posted: Fri Jun 24, 2005 2:57 am Post subject: |
|
|
I hope I do not need to "emerge -e" as it would take a *long* time to complete on my old laptop. So I went on to investigate on the problem, and found this when I used Gimp to open a SVG file (inside /usr/share/icons/Nuvola/scalable/apps):
Code: | $ gimp-2.2
/usr/lib/gimp/2.0/plug-ins/svg: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory
(gimp-2.2:11696): Gimp-Plug-In-WARNING **: gimp-2.2: plug_in_flush(): error: Broken pipe
(gimp-2.2:11696): Gimp-Plug-In-WARNING **: gimp-2.2: plug_in_flush(): error: Broken pipe |
Any ideas how to fix this libbz2 problem? What packages should I emerge? _________________ (~ cci[RR]us ~)
...Computer Networks Enthusiast...
Toys...:: MOL1500 :: SB3100 :: SCM-140 :: BEFSR41v2 ::
Toys...:: DWL-2100AP :: DI-624 :: DWL-G650 :: |
|
Back to top |
|
|
curtis119 Bodhisattva
Joined: 10 Mar 2003 Posts: 2160 Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.
|
Posted: Fri Jun 24, 2005 3:25 am Post subject: |
|
|
bzip2 _________________ Gentoo: it's like wiping your ass with silk. |
|
Back to top |
|
|
cci[RR]us n00b
Joined: 01 Jan 2005 Posts: 26 Location: Singapore
|
Posted: Fri Jun 24, 2005 3:48 am Post subject: |
|
|
Hey man! Thanks! Now my Gnome loads with less errors after I re-emerged bzip2. I begin to see icons appearing on my desktop! Wow... I really missed them. Gimp is able to open all svg files but I get these error messages in xterm:
Code: | (svg:8440): Gtk-WARNING **: Error loading icon: Couldn't recognize the image file format
for file '/usr/share/icons/Nuvola/scalable/stock/stock_help.svg' |
Strange isn't it? If Gimp can open them successfully, why are there still errors?
Any clues to what packages are still broken? _________________ (~ cci[RR]us ~)
...Computer Networks Enthusiast...
Toys...:: MOL1500 :: SB3100 :: SCM-140 :: BEFSR41v2 ::
Toys...:: DWL-2100AP :: DI-624 :: DWL-G650 :: |
|
Back to top |
|
|
curtis119 Bodhisattva
Joined: 10 Mar 2003 Posts: 2160 Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.
|
Posted: Fri Jun 24, 2005 4:22 am Post subject: |
|
|
_________________ Gentoo: it's like wiping your ass with silk. |
|
Back to top |
|
|
cci[RR]us n00b
Joined: 01 Jan 2005 Posts: 26 Location: Singapore
|
Posted: Sat Jun 25, 2005 3:37 am Post subject: |
|
|
Thanks! I've tried it and got this:
Code: | # revdep-rebuild -p
Checking reverse dependencies...
Packages containing binaries and libraries broken by any package update,
will be recompiled.
Collecting system binaries and libraries... done.
(/root/.revdep-rebuild.1_files)
Collecting complete LD_LIBRARY_PATH... done.
(/root/.revdep-rebuild.2_ldpath)
Checking dynamic linking consistency...
done.
(/root/.revdep-rebuild.3_rebuild)
Assigning files to ebuilds... Nothing to rebuild
Evaluating package order... done.
(/root/.revdep-rebuild.5_order)
Dynamic linking on your system is consistent... All done. |
Seems ok? I don't understand why GTK gives errors only on some SVG files which it cannot open. My Nuvola and Lush themes could not load certain SVGs (e.g. /usr/share/icons/Nuvola/scalable/stock/stock_help.svg) while some other SVGs could be loaded (e.g. /usr/share/icons/Nuvola/scalable/apps/gnome-home.svg) Fyi, I have re-emerged gnome-themes and gnome-themes-extras to ensure that they are not corrupted.
Is there a way to check the differences between the 2 SVGs to find out why one loads, why the other doesn't?
I really appreciate your help
PS: Is this the correct forum? Please kindly move this thread if required. _________________ (~ cci[RR]us ~)
...Computer Networks Enthusiast...
Toys...:: MOL1500 :: SB3100 :: SCM-140 :: BEFSR41v2 ::
Toys...:: DWL-2100AP :: DI-624 :: DWL-G650 :: |
|
Back to top |
|
|
cci[RR]us n00b
Joined: 01 Jan 2005 Posts: 26 Location: Singapore
|
Posted: Sun Jun 26, 2005 5:17 am Post subject: |
|
|
I did some reading and added "svg" to my USE flags in make.conf, re-emerged librsvg, emerged cairo... and everything seem to be back to normal
Whoopee! Thanks everyone for your help! Especially curtis119!!! _________________ (~ cci[RR]us ~)
...Computer Networks Enthusiast...
Toys...:: MOL1500 :: SB3100 :: SCM-140 :: BEFSR41v2 ::
Toys...:: DWL-2100AP :: DI-624 :: DWL-G650 :: |
|
Back to top |
|
|
|