Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-26-2003, 08:42 AM   #1
LQ Newbie
Registered: Dec 2002
Posts: 14

Rep: Reputation: 0
possible to downgrade a package? (rpm dependency hell)

I installed freetype-2.1.4-1, and now I need to install freetype-devel. The problem is that freetype-devel requires freetype-2.1.3-6 (an older version).

So, is there any way that I can downgrade my version of freetype from 2.1.4-1 to 2.1.3-6 ?

I can't just rpm -e freetype and then install it again because a TON of other projects rely on it.

Maybe I can somehow modify the 2.1.3-6 rpm so redhat thinks its newer than 2.1.4-1 and it will install it? Or like swap them or something?

This really sucks because freetype-devel is the one thing I need that's preventing me from being able to compile ANYTHING with a gui.

Last edited by Goog; 05-26-2003 at 08:59 AM.
Old 05-26-2003, 09:08 AM   #2
Registered: May 2003
Location: Hong Kong
Distribution: Android on HTC Hero
Posts: 256

Rep: Reputation: 30
yes u can

rpm -e freetype-2.1.4-1.i386.rpm --nodeps

that will get rid of the dependencies, then

rpm -i freetype-2.1.3-6.i386.rpm -replacepkgs

to install it. it should now work fine.
Old 05-26-2003, 09:09 AM   #3
LQ Newbie
Registered: Dec 2002
Posts: 14

Original Poster
Rep: Reputation: 0
That is sooo great. Thanks a lot!
Old 05-26-2003, 09:13 AM   #4
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590
If 2.1.4 offers new features, bugfixes and/or any other critical changes, then installing the headers for 2.1.3 is no good. You could install the headers from the 2.1.4 tarball, or find an rpm that contains the 2.1.4 headers. At and I found the only distribution that has an the 2.1.4 devel rpm is PLD. Even tho PLD does some things different from RH/Mandy some rpms are mixable if you really need to do so, just diff the contents with those from the tarball if you're unsure...


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
how to downgrade a package for a dependency gnulinusr Linux - Newbie 7 06-30-2005 10:31 AM
please help me I'm in dependency hell baronsam Linux - Software 5 11-05-2004 09:33 PM
dependency hell riseringseeker Linux - Newbie 3 09-22-2004 01:57 PM
Is this what they mean by dependency hell? john_walsh54 Linux - Software 1 10-10-2003 07:52 AM
Dependency Hell Time Lord Mandriva 2 09-09-2003 03:48 PM > Forums > Linux Forums > Linux - Software

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

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