Resolve the "Multiple debug kernels installed" error

Updated at:

Problem description

The "Multiple debug kernels installed" error occurs during an operating system migration.

Cause

The kernel-debug package contains kernel symbol tables, debug symbols, and debug information for diagnosing kernel panics. Multiple installed kernel-debug packages can cause migration failures because their debug options may affect system performance.

Solution

  1. Connect to the ECS instance to migrate. Connect to a Linux instance by using a password or key.

  2. Remove extra kernel-debug packages, keeping only one installed.

    1. Query installed kernel-debug packages:

      rpm -qa | grep kernel-debug

      Sample output:

      kernel-debuginfo-5.11.0-36.1.1.x86_64
      kernel-debuginfo-5.11.0-40.1.1.x86_64
    2. Remove the extra packages. For example:

      yum remove kernel-debuginfo-5.11.0-36.1.1.x86_64
    3. Enter y and press Enter to confirm.

  3. After you resolve the issue, run the SMC client to retry the migration. For more information, see Run the SMC client.