• Comments
  • Fail trying to upgrade rhel 8.6 to 9

    Posted on

    when i run leapp preupgrade --target 9.0 gives no errors

    The error occurs when I execute the command leapp upgrade --target 9.0

    error: rpmdbNextIterator: skipping h# 1582
    Header V3 RSA/SHA1 Signature, key ID bdda8475: BAD
    Header SHA256 digest: OK
    Header SHA1 digest: OK
    error: rpmdbNextIterator: skipping h# 1582
    Header V3 RSA/SHA1 Signature, key ID bdda8475: BAD
    Header SHA256 digest: OK
    Header SHA1 digest: OK
    Error: An rpm exception occurred: package not installed

    ============================================================

    END OF ERRORS

    Debug output written to /var/log/leapp/leapp-upgrade.log

    ============================================================

    REPORT

    A report has been generated at /var/log/leapp/leapp-report.json
    A report has been generated at /var/log/leapp/leapp-report.txt

    ============================================================

    END OF REPORT

    Log /var/log/leapp/leapp-upgrade.log

    /lib/leapp/scratch.
    2022-06-20 09:50:50.550 INFO PID: 273187 leapp.workflow.Download: Starting stage After of phase Download
    2022-06-20 09:50:50.551 INFO PID: 273187 leapp.workflow: Workflow interrupted due to the FailPhase error policy
    2022-06-20 09:50:50.581 INFO PID: 273187 leapp: Answerfile will be created at /var/log/leapp/answerfile
    2022-06-20 09:50:50.602 WARNING PID: 273187 leapp.reporting: Stable Key report entry not provided, dynamically generating one - e6b036b324ee15b186946c270a088c8a0ef85134
    2022-06-20 09:50:50.654 WARNING PID: 273187 leapp.reporting: Stable Key report entry not provided, dynamically generating one - e6

    Log /var/log/leapp/leapp-report.txt

    Warning: Package marked by Leapp to upgrade not found in repositories metadata: leapp leapp-upgrade-el8toel9 python3-leapp gpg-pubkey
    warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
    error: rpmdbNextIterator: skipping h# 1582
    Header V3 RSA/SHA1 Signature, key ID bdda8475: BAD
    Header SHA256 digest: OK
    Header SHA1 digest: OK
    error: rpmdbNextIterator: skipping h# 1582
    Header V3 RSA/SHA1 Signature, key ID bdda8475: BAD
    Header SHA256 digest: OK
    Header SHA1 digest: OK
    Error: An rpm exception occurred: package not installed

    Summary:

    Key: e6b036b324ee15b186946c270a088c8a0ef85134

    Risk Factor: low
    Title: The subscription-manager release is going to be set after the upgrade
    Summary: After the upgrade has completed the release of the subscription-manager will be set to 9.0. This will ensure that you will receive and keep the version you choose to upgrade to.
    Remediation: [hint] If you wish to receive updates for the latest released version of the target system, run

    subscription-manager release --unset
    after the upgrade.

    Key: 747a4ca25303eda17d1891bb85eeb226be14f252

    Risk Factor: info
    Title: LEAPP detected SELinux disabled in "/etc/selinux/config"
    Summary: On RHEL 9, disabling SELinux in "/etc/selinux/config" is no longer possible. This way, the system starts with SELinux enabled but with no policy loaded. LEAPP will automatically disable SELinux using "SELINUX=0" kernel command line parameter. However, Red Hat strongly recommends to have SELinux enabled

    Key: a32598d132c02dc20fd3daf631e85770623d3f8e

    Risk Factor: info
    Title: SElinux disabled
    Summary: SElinux disabled, continuing...

    Key: 4f25fea9b15b9d1d07d52cc1de02073f295dac3d

    How do I solve it ? Thank you

    by

    points

    Responses

    Red Hat
    © 2025 Red Hat, Inc.