[CentOS] installonlypkgs vs. exclude in yum.conf

2009-09-23 Thread Michael Nausch
HI,

with exclude in yum.conf I can exclude kernel-updates via:
exclude=kernel*

If I use installonlypkgs, what happend exactly?

Like:
installonlypkgs=kernel kernel-smp kernel-devel kernel-smp-devel  
kernel-largesmp kernel-largesmp-devel kernel-hugemem  
kernel-hugemem-devel

What's the difference betwenn update and installonly?

Thanx!


ttyl,
  Django
-- 
Bonnie  Clyde der Postmaster-Szene! approved by Postfix-God

http://wetterstation-pliening.info
http://dokuwiki.nausch.org


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] installonlypkgs vs. exclude in yum.conf

2009-09-23 Thread Filipe Brandenburger
Hi,

On Wed, Sep 23, 2009 at 05:56, Michael Nausch mich...@nausch.org wrote:
 If I use installonlypkgs, what happend exactly?

installonlypkgs means new versions of those packages will be installed
instead of upgraded, meaning the old version will be kept during
upgrades. This is what you usually want with kernel packages since you
may want to boot with the old kernel in case there is a problem with
the new one, so you want to keep it around for a while after
installing the new one.

 What's the difference betwenn update and installonly?

I think you mean the difference between exclude and
installonlypkgs. They are completely unrelated and for two distinct
features. exclude you use for packages you don't want yum to install
or upgrade, installonlypkgs you use when you want to keep old
versions of packages around whenever yum installs newer versions of
them.

HTH,
Filipe
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos