Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th April 2012, 03:15 PM
ubersoft Offline
Registered User
 
Join Date: Mar 2010
Posts: 35
windows_xp_2003firefox
Can you install an earlier version of a program with yum?

This is something that occurred on my machine running F17, but I don't think this is specifically an F17 question, which is why I put it here.

Last night F17 updated a number of packages, including wine. It updated wine from the stable 1.4 to the development 1.5.2, which introduced a mouse-jumping issue in one of the windows games I play. So I'd like to revert back to 1.4, and I was wondering if there was a way for yum to do that, or if I needed to just download the rpm, uninstall wine, and install the rpm "manually."

Also, what would I need to do to prevent yum from flagging it as an update every time I run it? Add exclude=wine* to /etc/yum.conf ?
Reply With Quote
  #2  
Old 25th April 2012, 03:42 PM
nonamedotc Offline
Community Manager
 
Join Date: Mar 2011
Location: USA
Posts: 3,717
linuxfirefox
Re: Can you install an earlier version of a program with yum?

You can downgrade a package using yum. Simply use yum downgrade package_name. Of course, it is also possible to download the rpm and then install using yum.
Reply With Quote
  #3  
Old 25th April 2012, 03:50 PM
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,626
windows_xp_2003chrome
Re: Can you install an earlier version of a program with yum?

Quote:
Originally Posted by ubersoft View Post
Also, what would I need to do to prevent yum from flagging it as an update every time I run it? Add exclude=wine* to /etc/yum.conf ?
That should work flawlessly.
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #4  
Old 25th April 2012, 04:03 PM
Chilly Willy Offline
Registered User
 
Join Date: Jul 2008
Posts: 1,258
linuxfirefox
Re: Can you install an earlier version of a program with yum?

A few times I've tried that "downgrade" & it said that the package was NOT downgrade-able. So I take it that it is a "crapshot" if they are or not, or is there something else at play here?
__________________
Chilly Willy, Tux's little cousin...

By its very nature, Windows is a PANE!
Reply With Quote
  #5  
Old 25th April 2012, 04:24 PM
nonamedotc Offline
Community Manager
 
Join Date: Mar 2011
Location: USA
Posts: 3,717
linuxfirefox
Re: Can you install an earlier version of a program with yum?

Quote:
Originally Posted by Chilly Willy View Post
A few times I've tried that "downgrade" & it said that the package was NOT downgrade-able. So I take it that it is a "crapshot" if they are or not, or is there something else at play here?
I am not too sure about this. I have not used it very often - but everytime I tried, it worked. From the man page,

Quote:
downgrade
Will try and downgrade a package from the version currently installed to the previously highest version (or the specified version). The depsolver will not necessarily work, but if you specify all the packages it should work (thus, all the simple cases will work). Also this does not work for "installonly" packages, like Kernels. downgrade operates on groups, files, provides, filelists and rpm files just like the "install" command.
So, I guess, it is finicky on a package-by-package basis.
Reply With Quote
  #6  
Old 25th April 2012, 04:18 PM
aleph Offline
Banned (for/from) behaving just like everybody else!
 
Join Date: Jul 2007
Location: Nanjing, China
Posts: 1,332
linuxfirefox
Re: Can you install an earlier version of a program with yum?

If all methods fail, you can still grab an older version from the Koji build system http://koji.fedoraproject.org/koji/
__________________
Code:
from rlyeh import cthulhu
cthulhu.fhtagn()
Reply With Quote
  #7  
Old 25th April 2012, 04:32 PM
AndrewSerk Offline
Registered User
 
Join Date: Oct 2010
Posts: 889
linuxfirefox
Re: Can you install an earlier version of a program with yum?

Most times you can get "downgrade" to work if you list the deps for downgrade also. For instance in order to downgrade firefox you would need something like:

Code:
yum downgrade firefox yelp xulrunner
But YMMV
Hope this helps,
Reply With Quote
Reply

Tags
earlier, install, program, version, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install a new program version that is not in rawhide? janvlug F16 Development 1 18th August 2010 03:26 PM
Proper Way To Replace Existing Kernel With Earlier Version HMSS013 Using Fedora 3 27th July 2009 12:07 AM
Yum Installing Old Version of Program jazzer386 Using Fedora 3 31st August 2008 01:29 AM
how to roll back to earlier version of an app drobbins Using Fedora 3 17th May 2008 05:45 PM
rpmdb: Program version 4.3 doesn't match environment version marco75 Using Fedora 0 26th March 2006 12:13 PM


Current GMT-time: 12:46 (Tuesday, 29-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat