Fedora Linux Support Community & Resources Center
  #1  
Old 18th February 2012, 06:02 PM
ubersoft Offline
Registered User
 
Join Date: Mar 2010
Posts: 35
linuxfirefox
How do I innoculate a file from updates?

I recently had to manually install the xdelta-1.3.3 rpm in order for a specific script to work. Now yum keeps flagging it as an upgradable file (because 3.0.0-2fc15 is in the repository). Unfortunatley, the utility I'm using specifically says that the 3.0 version of xdelta is NOT compatible. So I need to find a way to innoculate xdelta-1.3.3 from yum's updating tools.

Is there a list I can add that package to that will take it outside the upgrade process? Barring that, is there a way to install the higher-level package while keeping the current one as well, so I have both?

Thanks for your help.
Reply With Quote
  #2  
Old 18th February 2012, 06:07 PM
flash3780 Offline
Registered User
 
Join Date: May 2011
Location: Cincinnati, Ohio
Posts: 68
linuxfirefox
Re: How do I innoculate a file from updates?

I'm no expert, but I think that the -x option in yum allows you to exclude specific packages. Maybe it would be something like:
Code:
yum -x xdelta* update all

Last edited by flash3780; 18th February 2012 at 06:09 PM.
Reply With Quote
  #3  
Old 18th February 2012, 06:15 PM
ubersoft Offline
Registered User
 
Join Date: Mar 2010
Posts: 35
linuxfirefox
Re: How do I innoculate a file from updates?

That will help for the moment, thanks. Is there any way I can permanently store that exception?
Reply With Quote
  #4  
Old 18th February 2012, 06:36 PM
marko Online
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,898
linuxfirefox
Re: How do I innoculate a file from updates?

You can edit /etc/yum.conf and add the line:
Quote:

exclude=xdelta
Since it's just the one package the optional asterisk isn't needed but this would work too (assuming the likely situation
that there's nothing unrelated also starting with 'xdelta' that you want to update)
Quote:
exclude=xdelta*
Reply With Quote
  #5  
Old 18th February 2012, 06:45 PM
ubersoft Offline
Registered User
 
Join Date: Mar 2010
Posts: 35
linuxfirefox
Re: How do I innoculate a file from updates?

Perfect! Thank you both for your help.
Reply With Quote
Reply

Tags
file, innoculate, updates

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
Yum Updates and Update manager updates differ. Trapper Alpha, Beta & Snapshots Discussions (Fedora 11 Only) 7 21st May 2009 11:13 PM
File ....updates/8/i386/repodata/comps-f8.xml corrupted imeirson Installation, Upgrades and Live Media 2 17th January 2008 03:29 AM
Errors in ¨Resolving Dependencies for Updates¨ while trying to ¨Apply Updates¨ MACSimaKRECie Using Fedora 44 25th December 2007 12:36 PM
YUM woes - Need help setting the update file, over 680 updates! matrim Using Fedora 13 15th September 2007 07:12 PM


Current GMT-time: 08:03 (Friday, 18-04-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