Bug 238735 - default /etc/yum.conf uses options not documented in yum.conf(5)
default /etc/yum.conf uses options not documented in yum.conf(5)
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
5
All Linux
medium Severity low
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-02 13:38 EDT by Don Buchholz
Modified: 2014-01-21 17:58 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-05-02 14:05:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Don Buchholz 2007-05-02 13:38:38 EDT
Description of problem:
'yum.conf' file includes options which are not documented in man page [e.g.
"pkgpolicy=newest"]

Version-Release number of selected component (if applicable):
2.6.1-0.fc5

How reproducible:
always

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
The aggravation that I am running into is this version of Yum is now trying to
cleanup old 'kernel' packages that I would like to keep around.

# yum update

  ...
 
=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 kernel-smp              i686       2.6.20-1.2316.fc5  updates            16 M
Removing:
 kernel-smp              i686       2.6.19-1.2288.fc5  installed          46 M

Transaction Summary
=============================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       1 Package(s)      <---- NO!  I want to keep the old version!
Total download size: 16 M
Is this ok [y/N]: n
Exiting on user Command
Complete!
Comment 1 Seth Vidal 2007-05-02 14:05:07 EDT
the above is happening b/c the installonlyn plugin that's running. If you don't
want it to occur go to /etc/yum/pluginconf.d/installonlyn.conf and set enabled=0


that's it.

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