Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem installing RPM

Status
Not open for further replies.

TonyGroves

Programmer
Aug 13, 2003
2,389
IE
I'm new to Linux and it's my first time installing a package from outside of YAST. I'm running Suse 8.2 Pro.

It's Gimp 2.0 that I'm trying to install, from a magazine CD. Now, when I try to install the RPM, I'm told that it depends on fontconfig 2.2.0, so I go to and get fontconfig-2.2.92-1.i686.rpm, but when I try to install that, I'm told that "/etc/fonts/fonts.dtd conflicts with file from XFree86-4.3.0-15".

Can anybody tell me what I need to do now? Thanks.
 
You firstly would test if rpm is telling the truth :)
Code:
locate fontconfig
and look for a file like fontconfig*.so.*
If it matches *2.2.*, there might be a missing link:
supposed there is a /usr/lib/libfontconfig.so.2.2.1 but no /usr/lib/libfontconfig.so
you would simply need to make a link:
Code:
ln -s /usr/lib/libfontconfig.so.2.2.1 /usr/lib/libfontconfig.so

Another trick would be, to make a backup of the .dtd - file,
move it away, and see whether it was the only error.
If yes, you could keep in mind the modifikation, and wait, whether something with fonts is broken in future.

seeking a job as java-programmer in Berlin:
 
Stefan - thanks for that.

I tried both of those suggestions.

There is a link /usr/X11R6/lib/libfontconfig.so which points to /usr/X11R6/lib/libfontconfig.so.1.0. That is the highest fontconfig version I could find.

So, I tried installing again, and I got the same messages: "/etc/fonts/fonts.dtd conflicts with file from XFree86-4.3.0-15" and "/etc/fonts/fonts.conf conflicts with file from xf86tools-0.1-537".

So, I moved fonts.dtd and fonts.conf from /etc/fonts/ to my home directory, and tried again, but I got the same messsages about fonts.dtd and fonts.conf conflicting.


Any more ideas anybody?
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top