LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-26-2003, 09:42 AM   #1
Goog
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 09:59 AM.
 
Old 05-26-2003, 10:08 AM   #2
kazuni
Member
 
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, 10:09 AM   #3
Goog
LQ Newbie
 
Registered: Dec 2002
Posts: 14

Original Poster
Rep: Reputation: 0
That is sooo great. Thanks a lot!
 
Old 05-26-2003, 10:13 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,543
Blog Entries: 54

Rep: Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924
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 rpm.pbone.net and rpmseek.com 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...
 
  


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


All times are GMT -5. The time now is 05:49 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration