Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > 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 17th March 2005, 04:26 PM
sunckell Offline
Registered User
 
Join Date: Jan 2005
Location: Baltimore, MD
Posts: 10
Controlling YUM

Hey guys,
Got a good one for the people who use YUM out there. Is there a way to tell yum to ignore a package for update?

For example.. I downloaded postfix-2.1.5-4.1.i386.src.rpm and rebuild the rpm with mysql support. How can I tell YUM to ignore that package when I issue a yum update? Not sure if that is even possible?


Thanks for the fyi...

Chad
Reply With Quote
  #2  
Old 17th March 2005, 04:31 PM
BandC's Avatar
BandC Offline
Registered User
 
Join Date: Nov 2004
Posts: 1,105
If I remember correctly top of my head:

yum --exclude=<package name> update

You should also be able to put the exclude statement in your yum.conf so you don't have to type it everytime. I don't remember the syntax but should be a line like:

exclude=<package name>
__________________
IMHO GNOME FTW! BTW KDE WAD? FWIW. HTH. AFAIK YMMV. OMG WTF BBQ! :rolleyes:

Do you like surfing forums but wish people would stop using obscure abbreviations and acronyms?
Then my Firefox/Chrome extension ABBREX is for you!
It automatically adds hover tooltips to abbreviations displaying their meanings on any web page you visit!

Check it out at: http://abbrex.com
Reply With Quote
  #3  
Old 17th March 2005, 04:32 PM
BandC's Avatar
BandC Offline
Registered User
 
Join Date: Nov 2004
Posts: 1,105
By the way, try:

man yum

and look at the different options.
__________________
IMHO GNOME FTW! BTW KDE WAD? FWIW. HTH. AFAIK YMMV. OMG WTF BBQ! :rolleyes:

Do you like surfing forums but wish people would stop using obscure abbreviations and acronyms?
Then my Firefox/Chrome extension ABBREX is for you!
It automatically adds hover tooltips to abbreviations displaying their meanings on any web page you visit!

Check it out at: http://abbrex.com
Reply With Quote
  #4  
Old 17th March 2005, 04:48 PM
ucfagls Offline
Registered User
 
Join Date: Feb 2005
Posts: 97
I posted a reply in another thread on how to do this by editting your yum.conf to set this globally so you don't have to keep typing the --exclude flag. Adding
Code:
exclude=postfix
to the [main] section of your /etc/yum.conf will do this, e.g.:
Code:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
exclude=postfix

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
Reply With Quote
  #5  
Old 17th March 2005, 05:38 PM
sunckell Offline
Registered User
 
Join Date: Jan 2005
Location: Baltimore, MD
Posts: 10
ucfagls,
That's what I was looking for.

didn't know:
man yum.conf
was even an option....

Thanks for the help.
Reply With Quote
  #6  
Old 17th March 2005, 06:31 PM
ucfagls Offline
Registered User
 
Join Date: Feb 2005
Posts: 97
You can't man yum.conf, you can man yum however
Reply With Quote
Reply

Tags
controlling, 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
Kpowersave not controlling CPU CentaurHauler Hardware & Laptops 4 16th February 2008 09:49 PM


Current GMT-time: 08:43 (Sunday, 19-05-2013)

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