Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 159402 - Too many kernels
Too many kernels
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Depends On:
  Show dependency treegraph
Reported: 2005-06-02 09:53 EDT by Need Real Name
Modified: 2014-01-21 17:52 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-06-19 02:44:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2005-06-02 09:53:57 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Epiphany/1.6.3

Description of problem:
Running Transaction
  Installing: kernel-smp                   ######################### [1/2]
error: unpacking of archive failed on file /boot/System.map-2.6.11-1.1366_FC4smp;429f0ea6: cpio: write

My boot partition is 100 megabytes, and it's full. I have 22 kernels installed.

Please can there be an option in /etc/sysconfig/kernel to specify the number of old kernels to keep?
Also, since the boot partition is normally quite small, can the preinstall script check disk space?

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Additional info:
Comment 1 Dave Jones 2005-06-02 17:44:05 EDT
Anything involving package removal pretty much has to be done in the updating
tools (ie, yum/up2date). Theres just too many things that can go wrong if the
%post of the kernel started removing other RPMs.
Comment 2 Seth Vidal 2005-06-03 03:07:22 EDT
So here's a neat trick:

This is one of a set of scripts that will be coming out as 'yum-utils'
They should let you easily clean up old kernels w/o risk to your system, well,
in theory. :)
Comment 3 Need Real Name 2005-06-03 06:46:30 EDT
Cool :)

One thing I noticed (I only skimmed the code)..
If a user manually chooses a non-smp kernel from the grub boot menu, but the
default kernel line in /etc/sysconfig/kernel is kernel-smp, then the "running
kernel check" won't handle accidentally removing the default kernel.
Comment 4 Seth Vidal 2005-06-03 17:05:41 EDT
Yah - okay - so refile the bug or post to yum-devel about that subject, please.

it's not really easy to track for the package-cleanup developers, here.
Comment 5 Rahul Sundaram 2005-06-18 22:47:11 EDT

Should be closed now as package-cleanup is part of yum-utils which is Fedora
Extras repository enabled by default in FC4 and above
Comment 6 Seth Vidal 2005-06-19 02:44:31 EDT
Agreed, closing.

Comment 7 Need Real Name 2005-06-20 10:13:40 EDT
(In reply to comment #4)
> Yah - okay - so refile the bug or post to yum-devel about that subject, please.
> it's not really easy to track for the package-cleanup developers, here.

Where should I refile the bug? There is no yum-utils package in bugzilla for
either Fedora Extras or Fedora.
Comment 8 Seth Vidal 2005-06-21 02:20:29 EDT
I've requested the components be created.
they will be made soon.

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