LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-19-2007, 03:29 AM   #1
alk77
LQ Newbie
 
Registered: Nov 2007
Posts: 12

Rep: Reputation: 0
how to block one package from upgrading


Hi,
I installed OpenOffice.org from the OOo website (I'm not using the Fedora package because I need the one provided by Sun) and now I would like to block yum from upgrading OOo. Is there any way to block the upgrading of a specific package?
Thanks,
a.
 
Old 11-19-2007, 04:07 AM   #2
Joebie
LQ Newbie
 
Registered: Oct 2004
Location: Netherlands
Distribution: Fedora core
Posts: 17

Rep: Reputation: 0
man yum.conf

Look at the manual page of yum.conf (/usr/bin/man yum.conf) there's a line exclude there which u can use to exclude packages from install or update.
Example in the file /etc/yum/yum.conf or for a specific repository /etc/yum/repos.d/fedora(-updates).repo

exclude=openoffice-*

for multiple exclusion seperate by space

exclude=openoffice-* kernel*
 
Old 11-19-2007, 02:14 PM   #3
alk77
LQ Newbie
 
Registered: Nov 2007
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Joebie View Post
Look at the manual page of yum.conf (/usr/bin/man yum.conf) there's a line exclude there which u can use to exclude packages from install or update.
Example in the file /etc/yum/yum.conf or for a specific repository /etc/yum/repos.d/fedora(-updates).repo

exclude=openoffice-*

for multiple exclusion seperate by space

exclude=openoffice-* kernel*
Thanks! That helped!
 
  


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
Package Management and Upgrading FragInHell Ubuntu 9 10-14-2007 09:42 PM
Upgrading package with same name Steve50 Slackware 6 10-10-2006 03:15 PM
Checkinstall Package Upgrading? Kenji Miyamoto Slackware 2 05-23-2005 10:53 PM
Upgrading a package from source? thebudbottle Linux - Newbie 1 03-24-2005 03:58 PM
Upgrading RPM package Ztyx Linux - Software 2 12-31-2001 07:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:01 AM.

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