[Fedora] Re: Rogue package

Ashley M. Kirchner ashley at pcraft.com
Mon Mar 9 01:33:37 UTC 2009


Richard England wrote:
> If rpm was used to install, I wonder if rebuilding the rpm database 
> might help?
>
> rm -f /var/lib/rpm/__db*
> #db_verify /var/lib/rpm/Packages
> #rpm --rebuilddb
    That didn't do it.  It still only lists:

        <root at lilpusher:/var/lib/rpm> rpm -qa | grep kernel
         kernel-2.6.27.19-170.2.35.fc10.i686
         kernel-devel-2.6.27.19-170.2.35.fc10.i686
         kernel-headers-2.6.27.19-170.2.35.fc10.i386
         kerneloops-0.12-1.fc10.i386
         kernel-firmware-2.6.27.19-170.2.35.fc10.noarch
        <root at lilpusher:/var/lib/rpm>

    But, grub.conf still lists 2.6.27.9-159.fc10.i586 as an available 
kernel.  It's also still in /boot/ :

        <root at lilpusher:/var/lib/rpm> ls -l /boot/   (columns trimmed a bit)
            4096 2009-01-06 11:27 efi/
            4096 2009-03-08 18:00 grub/
           90966 2009-02-23 11:30 config-2.6.27.19-170.2.35.fc10.i686
           90902 2008-12-16 12:55 config-2.6.27.9-159.fc10.i586
         2827422 2009-03-08 17:47 initrd-2.6.27.19-170.2.35.fc10.i686.img
         2809729 2009-01-06 13:32 initrd-2.6.27.9-159.fc10.i586.img
         1092666 2009-02-23 11:30 System.map-2.6.27.19-170.2.35.fc10.i686
         1089995 2008-12-16 12:55 System.map-2.6.27.9-159.fc10.i586
         2580176 2009-02-23 11:30 vmlinuz-2.6.27.19-170.2.35.fc10.i686*
         2571120 2008-12-16 12:55 vmlinuz-2.6.27.9-159.fc10.i586*

    And looking in /usr/src/kernels/ I see:

        <root at lilpusher:/usr/src/kernels> ls -al
            4096 2009-03-08 17:44 2.6.27.19-170.2.35.fc10.i686/
            4096 2009-01-06 13:30 2.6.27.9-159.fc10.i586/

    /lib/modules/ also lists:

        <root at lilpusher:/lib/modules> ls -al
            4096 2009-03-08 17:47 2.6.27.19-170.2.35.fc10.i686/
            4096 2009-01-06 13:31 2.6.27.9-159.fc10.i586/


    Yet, I can't remove it.  As I mentioned before, this kernel either 
got installed when the system was first build, or through a subsequent 
yum update run afterwards.

    Waiting for more suggestions.




More information about the fedora-list mailing list