Results 1 to 3 of 3

Thread: Remove unneeded kernels

  1. #1

    Default Remove unneeded kernels

    After trying multiple kernels (because my tv card don't work with 2.6.27) I ended up with a lot of unneeded kernels:

    Code:
    rpm -qa | grep ker | sort
    kernel-debug-devel-2.6.30.2-2.1
    kernel-default-2.6.27.25-0.1.1
    kernel-default-2.6.27.29-5.1
    kernel-default-2.6.27.31-2.1
    kernel-default-2.6.30.2-2.1
    kernel-default-2.6.31-3.1
    kernel-default-base-2.6.30.2-2.1
    kernel-default-devel-2.6.30.2-2.1
    kernel-default-extra-2.6.30.2-2.1
    kernel-source-2.6.27.25-0.1.1
    kernel-source-2.6.27.29-5.1
    kernel-source-2.6.27.31-2.1
    kernel-source-2.6.29.6-jen82
    kernel-source-2.6.30.2-10.1
    kernel-source-2.6.30.2-2
    kernel-source-2.6.30.2-2.1
    kernel-source-2.6.31-3.1
    kernel-syms-2.6.30.2-2.1
    kernel-xen-devel-2.6.30.2-2.1
    linux-kernel-headers-2.6.30-3.1
    I use now:
    Code:
    uname -r
    2.6.30.2-2-default
    I don't need the other kernels. How can I remove those? When I look in Yast, I see only one kernel-default, but multiple versions wich I can't remove.

    Thanks, I hope someone can help me.

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: Remove unneeded kernels

    IIRC rpm --erase will accept full package names, e.g.

    rpm --erase kernel-default-2.6.27.25-0.1.1 kernel-source-2.6.27.25-0.1.1

  3. #3

    Default Re: Remove unneeded kernels

    Thank you, it works!

    I did it today and destroyed nothing

Posting Permissions

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