--=-H1t8C0wo5LFlTaAvKMcA Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =20 > So is yum list available the same as yum list new? yes. it just makes a slight bit more sense grammatically. > On a different topic. I was testing yum update last night and was > confused about what yum was doing. We have 2 areas, main with the > standard distributions and updates with the errata. I wanted to upgrade > the openssl* rpms and the openssh* rpms from updates. So a "yum list > updates" shows all of these open* rpms and no others. So I did a "yum > update open*". Well yum decided to do everything from both main and > updates so it started to install openmotif-devel, and all the other open* > rpms. I just expected it to the open* from what a yum list updates shows= . > If I wanted all of them I would have done a "yum install open*". right - but it emulates how rpm functions ie: rpm -Uvh open* in a dir will install in mode "update" all packages matching that wildcard. so if I attempt a: yum update pkg_i_dont_have_installed it will install the package even though I don't have it installed - the behavior then remains consistent with rpm. Just like if I attempt to yum install pkg_i_have_installed_but_have_an_older_version yum realizes I've already got it installed but that there is a newer version and switches to an update for that package. Having said that I can see how that might be confusing - I'm open to other opinions on this, at the moment. My general rule is - if you want updates just run yum update - if you want to install stuff you can use update or install. > So why was I doing this wildcard test. It is because I had some rpms > that would not update that showed in "yum list updates". So I decided to > select all of what I needed except the bad rpm. So this leads to the ide= a > of a "ignore/exclude" list and maybe a "force" option. I really do not > want yum to upgrade the kernel on most of my systems. This is because > they are not my systems and kernel upgrading can cause problems. So I > want the end uses to decide. So with the current yum I am forced to leav= e > the kernel out of the updates area because if I do not the yum cron job > will upgrade it. so excludes are already supported - just check out the man page - search for exclude. I'm not sure if command-line excludes are a wise decision or not - it could make life hard. just add: excludes=3Dkernel kernel-smp kernel-source to the [main] section of your yum.conf. -sv --=-H1t8C0wo5LFlTaAvKMcA Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA9ZlCR1Aj3x2mIbMcRAo1kAJ0alTxsggNphm+/IeYt1nzwIlKYwQCffyfx xLRpLocV9bFSF0VvKQKhDjM= =gNbd -----END PGP SIGNATURE----- --=-H1t8C0wo5LFlTaAvKMcA--