Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Old Kernal Version in Grub not shown in Synaptic

  1. #11
    Soul-Sing is offline Chocolate-Covered Ubuntu Beans
    Join Date
    Aug 2006
    Beans
    1,374
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Old Kernal Version in Grub not shown in Synaptic

    Code:
    sudo apt-get remove linux-image-2.6.31-17-generic
    Code:
    sudo update-grub
    first line had a small syntax error.

  2. #12
    Join Date
    Nov 2009
    Location
    Tucson, USA
    Beans
    39
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Old Kernal Version in Grub not shown in Synaptic

    stmpoodle@stmpoodle-laptop:~$ sudo update-grub
    [sudo] password for stmpoodle:
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-2.6.32-22-generic
    Found initrd image: /boot/initrd.img-2.6.32-22-generic
    Found linux image: /boot/vmlinuz-2.6.31-17-generic
    Found initrd image: /boot/initrd.img-2.6.31-17-generic
    Found memtest86+ image: /boot/memtest86+.bin
    Found Windows Vista (loader) on /dev/sda1
    done
    stmpoodle@stmpoodle-laptop:~$ sudo apt-get remove linux-image-2.6.31-17-generic
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package linux-image-2.6.31-17-generic
    stmpoodle@stmpoodle-laptop:~$


    LOL - it's just not my night on this one. I got the error message again "couldn't find package"

  3. #13
    Join Date
    Dec 2009
    Location
    germany
    Beans
    1,020
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Old Kernal Version in Grub not shown in Synaptic

    hi
    ok - try this:
    sudo apt-get remove --purge 2.6.31-17-generic
    sudo update-grub

    have fun
    ciao
    "What is the robbing of a bank compared to the FOUNDING of a bank?" Berthold Brecht

  4. #14
    Join Date
    Nov 2009
    Location
    Tucson, USA
    Beans
    39
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Old Kernal Version in Grub not shown in Synaptic

    stmpoodle@stmpoodle-laptop:~$ sudo apt-get remove --purge 2.6.31-17-generic
    [sudo] password for stmpoodle:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package 2.6.31-17-generic
    stmpoodle@stmpoodle-laptop:~$ sudo apt-get remove purge 2.6.31-17-generic
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package purge
    stmpoodle@stmpoodle-laptop:~$ sudo apt-get remove -purge linux-image-2.6.31-17-generic
    E: Command line option 'p' [from -purge] is not known.
    stmpoodle@stmpoodle-laptop:~$ sudo apt-get remove --purge linux-image-2.6.31-17-generic
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package linux-image-2.6.31-17-generic
    stmpoodle@stmpoodle-laptop:~$ sudo update-grub
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-2.6.32-22-generic
    Found initrd image: /boot/initrd.img-2.6.32-22-generic
    Found linux image: /boot/vmlinuz-2.6.31-17-generic
    Found initrd image: /boot/initrd.img-2.6.31-17-generic
    Found memtest86+ image: /boot/memtest86+.bin
    Found Windows Vista (loader) on /dev/sda1
    done
    stmpoodle@stmpoodle-laptop:~$


    It looks like the PURGE command is treated the same as REMOVE and the system can't find the package or line to remove it, even though "2.6.31-17-generic" is there in grub.

  5. #15
    Join Date
    Aug 2006
    Beans
    13,354
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: Old Kernal Version in Grub not shown in Synaptic

    Alright, lets see what kernel versions are installed:

    dpkg -l | grep linux-image

  6. #16
    Join Date
    Nov 2009
    Location
    Tucson, USA
    Beans
    39
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Old Kernal Version in Grub not shown in Synaptic

    stmpoodle@stmpoodle-laptop:~$ dpkg -l | grep linux-image
    rc linux-image-2.6.32-21-generic 2.6.32-21.32 Linux kernel image for version 2.6.32 on x86
    ii linux-image-2.6.32-22-generic 2.6.32-22.33 Linux kernel image for version 2.6.32 on x86
    ii linux-image-generic 2.6.32.22.23 Generic Linux kernel image
    stmpoodle@stmpoodle-laptop:~$

    I typed the terminal command in and this is what I received in response.

  7. #17
    Join Date
    Aug 2006
    Beans
    13,354
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: Old Kernal Version in Grub not shown in Synaptic

    As expected, there is not linux-image-2.6.31-17-generic. I suspect that you must have upgraded, and what grub finds is a bunch of old config files, probably in /boot. What's the output of ls /boot?
    Also try:
    sudo apt-get --purge autoremove

  8. #18
    Join Date
    Nov 2009
    Location
    Tucson, USA
    Beans
    39
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Old Kernal Version in Grub not shown in Synaptic

    to mikewhatever: I agree. But I'll have to put this little project temporarily on hold while the PC is being serviced. It's nothing to do with Linux or Ubuntu. In fact it was giving me serious problems of flickering screen in Windows Vista. So to test if whether it was software or hardware, I worked in Ubuntu (its dual booted) for a few days. Ironically, the same problems only happened about 10% of the time in Ubuntu compared to 100% in Windows. But that was still evident that it was the system bios misbehaving and needed professional help under warranty.

    As soon as I get it back in healthy shape again, I will contact you here. Please keep the subscription to this thread for a while. Thanks.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •