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 8th May 2006, 03:12 PM
bravo_25 Offline
Registered User
 
Join Date: Apr 2005
Posts: 10
avoid yum to update something

Hello:

Each time I run

Code:
yum update
I have to be carefull because yum also updates my kernel, which is modified and compiled to be able to run ndiswrapper (w/ 16kstack patch), otherwise it will get hang on next boot.

After running yum update, I always check if /etc/grub.conf has been modified, to leave as default kernel the one I made.


My question is:

Is there a way to avoid yum from updating certain packages? Such as kernel, or kernel-sources ?

Thanks in advance.
Reply With Quote
  #2  
Old 8th May 2006, 03:21 PM
paul matthijsse Offline
Registered User
 
Join Date: Sep 2005
Location: Dieulefit, France
Posts: 721
type:
$ yum --help
your answer is there (hint: exclude)
Reply With Quote
  #3  
Old 8th May 2006, 03:21 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Quote:
Originally Posted by bravo_25
Hello:

Each time I run

Code:
yum update
I have to be carefull because yum also updates my kernel, which is modified and compiled to be able to run ndiswrapper (w/ 16kstack patch), otherwise it will get hang on next boot.

After running yum update, I always check if /etc/grub.conf has been modified, to leave as default kernel the one I made.


My question is:

Is there a way to avoid yum from updating certain packages? Such as kernel, or kernel-sources ?

Thanks in advance.
Hello:
You can do # yum --exclude kernel update
or you can Install yumex and then select by Item what you want updated and exclude what you don't (Probably easier IMO)
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #4  
Old 8th May 2006, 05:32 PM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
Yes, or in /etc/yum.conf you can do "exclude=packages" if I remember correctly...
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #5  
Old 8th May 2006, 07:21 PM
u-noneinc-s's Avatar
u-noneinc-s Offline
Registered User
 
Join Date: Jul 2005
Location: Wine Country, California
Posts: 2,862
Actually, the "global" exclude is in the yumex config. You can edit it GUI with edit/preferences with each exclude on a new line
or CLI with a space seperated list of excludes, but yum (CLI) will ignore this list.

EDIT. Replace word (do with edit))
Reply With Quote
  #6  
Old 8th May 2006, 11:26 PM
u-noneinc-s's Avatar
u-noneinc-s Offline
Registered User
 
Join Date: Jul 2005
Location: Wine Country, California
Posts: 2,862
I just tried, and though exclude is not included in the /etc/yum.conf, it can be added and will work.
Code:
exclude = evolution*
         gnome-pilot*
         pilot-link*
         *beagle*
         openoffice.org-langpack*
         libmal
yum check-update
Loading "installonlyn" plugin
Setting up repositories
updates [1/4]
updates 100% |=========================| 951 B 00:00
core [2/4]
core 100% |=========================| 1.1 kB 00:00
macromedia [3/4]
macromedia 100% |=========================| 951 B 00:00
extras [4/4]
http://mirror.clarkson.edu/pub/distr...ta/repomd.xml: [Errno 14] HTTP Error 404: Date: Mon, 08 May 2006 22:19:52 GMT
Server: Apache/2.0.52 (Red Hat)
Content-Length: 348
Connection: close
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 313 kB 00:02
updates : ################################################## 1000/1000
Added 0 new packages, deleted 12 old in 1.62 seconds
primary.xml.gz 100% |=========================| 958 kB 00:06
extras : ################################################## 2670/2670
Added 155 new packages, deleted 580 old in 5.80 seconds
Excluding Packages in global exclude list
Finished
Reply With Quote
  #7  
Old 9th May 2006, 12:08 AM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
Hah, just a little sidetrack - You're like me, eh? I hate beagle, evolution, pilot-link and gnome-pilot. They always require eachother and so you can't remove them easily and I never use them, so they just take up space... It's not that their disfunctional or anything, I just don't use them and they use lots of disk space.
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #8  
Old 9th May 2006, 12:21 AM
u-noneinc-s's Avatar
u-noneinc-s Offline
Registered User
 
Join Date: Jul 2005
Location: Wine Country, California
Posts: 2,862
Quote:
Hah, just a little sidetrack - You're like me, eh? I hate beagle, evolution, pilot-link and gnome-pilot. They always require eachother and so you can't remove them easily and I never use them, so they just take up space... It's not that their disfunctional or anything, I just don't use them and they use lots of disk space.
Firewing1
Not so much that I hate them, but I'm a KDE user, and I had problems (if you recall) with Beagle, and there was that
libsomething.so.8 dependency thing, and when that got "fixed", there was a libesomething.so.9 thing (I think it wanted
to remove the so.9 which was needed by kdepim or it wanted to remove kdepim). I'll never own a palm pilot, so I figure
excludiing those packages will be no loss (to me). Otherwis since gnome is the default DT for Fedora, I try to update
everything gnome even though I don't use it.
Reply With Quote
Reply

Tags
avoid, update, 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
LVM got me! How do I avoid it in the future? troyw3412 Installation and Live Media 4 22nd April 2008 03:43 AM
help me avoid having to use Vista JoeyJoJoe Hardware & Laptops 1 11th July 2007 12:30 AM
FC5 - how to avoid installing gnome? cosmic_nomad EOL (End Of Life) Versions 5 18th September 2006 10:01 PM
how to avoid updates redownloading? stormvice Installation and Live Media 2 28th July 2005 03:45 PM


Current GMT-time: 04:12 (Friday, 24-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