Bug 507014 - yum.conf default handling of installonlypkgs doesn't match kernel-PAE
Summary: yum.conf default handling of installonlypkgs doesn't match kernel-PAE
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 11
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-19 20:22 UTC by Jason Roysdon
Modified: 2014-01-21 23:10 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-06-19 20:25:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jason Roysdon 2009-06-19 20:22:48 UTC
Description of problem:
"yum update" with F11 appears to try to preserve the "installonlypkgs" using the "installonly_limit=3" option.  Looking at man yum.conf lists the default "installonlypkgs" as "kernel, kernel-smp, kernel-bigmem, kernel-enterprise, kernel-debug, kernel-unsupported".

However, kernel-PAE is now installed by default on some systems.  As kernel-PAE isn't in this default "isntallonlypkgs" list, new versions are updated instead of installed.

I believe the fix would be to add this line to yum.conf:
installonlypkgs=kernel, kernel-smp, kernel-bigmem, kernel-enterprise, kernel-debug, kernel-unsupported, kernel-PAE

This will preserve the default yum.conf behavior, plus add kernel-PAE.

How reproducible:
Install F11 on system that has kernel-PAE by deault, or install kernel-PAE from CD/DVD after install.  Use yum update kernel*.

Steps to Reproduce:
1. rpm -i /path/to/F11-media/kernel-PAE*.rpm
2. yum update
3. rpm -q kernel-PAE
  
Actual results:
Only the newest kernel-PAE remains as it is updated, not installed.

Expected results:
Up to the 3 latest kernel-PAEs should be installed.

Comment 1 Jason Roysdon 2009-06-19 20:25:06 UTC
Ack, my apologies, as there has not been an F11 kernel update, and I misread my yum.log file thinking there should have been.  I don't yet know if this will be a bug or not.


Note You need to log in before you can comment on or make changes to this bug.