Is there a way to force an update/upgrade in yum?

Joe Zeff joe at zeff.us
Thu Aug 1 20:51:46 UTC 2013


There's one package that I can't get upgraded, and it's driving me up 
the wall because every time I run an update via yum or yumex, I have to 
remember to exclude it: firefox.  Here's the results of my latest try:

Transaction check error:
   file /usr/lib/firefox/browser/defaults/preferences from install of 
firefox-22.0-1.fc19.i686 conflicts with file from package 
firefox-22.0-1.fc17.i686

I tried using swap:

yum swap firefox\*.fc17.i686 firefox\*fc.19.i686

because the man page said that that was simply a short form of 
remove/install, but yum interpreted it as an update.  Maybe I'll have to 
download the file and use rpm to do it, but there should[1] be a way to 
force it via yum.

[1]Well, I think there should be; if you disagree, I'd be willing to 
discuss it and maybe change my mind if your reason's good enough.  Do 
note, however, that rpm does allow --force.


More information about the users mailing list