Oracle Linux: Leapp Upgrade Fails with Error "CalledProcessError: Command ['/bin/sed', '-i', 's/^DEFAULTKERNEL=kernel$/DEFAULTKERNEL=kernel-core/g', '/etc/sysconfig/kernel'] failed with exit code 2"
(Doc ID 3068194.1)
Last updated on JANUARY 23, 2025
Applies to:
Linux OS - Version Oracle Linux 7.9 and laterLinux x86-64
Symptoms
When attempting to use Leapp to upgrade a system, it passed the Leapp pre-upgrade and leapp upgrade. During reboot upgrade is failing with below error and the server went into emergency mode.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |