removing old Kernels

Kostas Sfakiotakis kostassf at cha.forthnet.gr
Wed Aug 23 22:38:06 UTC 2006


Greetings Rahul,

Rahul wrote:


> FC5 has a yum plugin installed by default to do this. In previous versions,
> 
> # yum install yum-utils
> # package-cleanup --oldkernels
> 
[root at Magellan boot]# package-cleanup --oldkernels
Setting up yum
Excluding Packages in global exclude list
Finished
Traceback (most recent call last):
   File "/usr/bin/package-cleanup", line 302, in ?
     main()
   File "/usr/bin/package-cleanup", line 283, in main
     removeKernels(my, opts.kernelcount, opts.confirmed, opts.keepdevel)
   File "/usr/bin/package-cleanup", line 193, in removeKernels
     (kver,krel) = runningkernel.split('-')
ValueError: need more than 1 value to unpack

What can you make out of this ?


Kind Regards,
   Kostas





More information about the fedora-list mailing list