Hija! I get this error while doing the cleanup, hints?
Cheers, JJ ----------------------------------------------------------- [EMAIL PROTECTED] ~]# package-cleanup --oldkernels --count 2 Setting up yum Loading "priorities" plugin Loading "kernel-module" plugin Loading "protectbase" plugin Loading "kmdl" plugin Loading "skip-broken" plugin Loading "installonlyn" plugin 0 packages excluded due to repository priority protections 0 packages excluded due to repository protections I will remove the following 8 kernel related packages: kernel-2.6.18-53.1.6.el5 kernel-2.6.18-53.1.4.el5 kernel-2.6.18-8.1.15.el5 kernel-2.6.18-8.el5 kernel-devel-2.6.18-8.1.15.el5 kernel-devel-2.6.18-53.1.6.el5 kernel-devel-2.6.18-8.el5 kernel-devel-2.6.18-53.1.4.el5 Is this ok [y/N]: y /usr/bin/package-cleanup:312: DeprecationWarning: returnHeaderByTuple() will go away in a future version of Yum. hdr = my.rpmdb.returnHeaderByTuple(kernel)[0] Traceback (most recent call last): File "/usr/bin/package-cleanup", line 402, in ? main() File "/usr/bin/package-cleanup", line 371, in main removeKernels(my, opts.kernelcount, opts.confirmed, opts.keepdevel) File "/usr/bin/package-cleanup", line 317, in removeKernels my.populateTs() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 171, in populateTs self.ts.addErase(txmbr.po.idx) AttributeError: 'YumInstalledPackage' object has no attribute 'idx' ----------------------------------------------------------------------- FYI [EMAIL PROTECTED] ~]# rpm -q yum yum-3.0.5-1.el5.centos.5 [EMAIL PROTECTED] ~]# which package-cleanup /usr/bin/package-cleanup [EMAIL PROTECTED] ~]# rpm -qf /usr/bin/package-cleanup yum-utils-1.0.4-3.el5.centos.2 [EMAIL PROTECTED] ~]# rpm -q centos-release centos-release-5-1.0.el5.centos.1 TIA Jose. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos