leapp RHEL 8 to RHEL 9 fails when dovecot is installed

Solution Verified - Updated -

Issue

Booting into the leapp upgrade kernel, the system enters emergency mode and fails to continue.

[ 4223.460993] localhost upgrade[686]: ============================================================
[ 4223.460993] localhost upgrade[686]:                            ERRORS
[ 4223.460993] localhost upgrade[686]: ============================================================
[ 4223.460993] localhost upgrade[686]: 2023-01-30 14:54:30.480535 [ERROR] Actor: dnf_upgrade_transaction
[ 4223.460993] localhost upgrade[686]: Message: DNF execution failed with non zero exit code.
[ 4223.460993] localhost upgrade[686]: STDOUT:
<snip>
[  264.561448] localhost upgrade[1570]:  dovecot                                      x86_64  1:2.3.16-3.el9             
[ 2201.894350] localhost upgrade[1570]:   Running scriptlet: dovecot-1:2.3.16-3.el9.x86_64                    1194/2672
[ 2202.146309] localhost upgrade[1570]: error: %prein(dovecot-1:2.3.16-3.el9.x86_64) scriptlet failed, exit status 1
[ 2203.731119] localhost upgrade[1570]: error: dovecot-1:2.3.16-3.el9.x86_64: install failed
[ 2595.464357] localhost upgrade[1570]: error: dovecot-1:2.3.16-3.el8.x86_64: erase skipped
[ 3757.515417] localhost upgrade[1570]:   Verifying        : dovecot-1:2.3.16-3.el9.x86_64                    1856/2672
[ 3758.499058] localhost upgrade[1570]:   Verifying        : dovecot-1:2.3.16-3.el8.x86_64                    1857/2672
[ 4192.494644] localhost upgrade[1570]:   dovecot-1:2.3.16-3.el8.x86_64          dovecot-1:2.3.16-3.el9.x86_64
[ 4224.235862] localhost upgrade[686]:  dovecot                                      x86_64  1:2.3.16-3.el9              
[ 4227.573046] localhost upgrade[686]:   Running scriptlet: dovecot-1:2.3.16-3.el9.x86_64                    1194/2672
[ 4227.573046] localhost upgrade[686]: error: %prein(dovecot-1:2.3.16-3.el9.x86_64) scriptlet failed, exit status 1
[ 4227.573046] localhost upgrade[686]: error: dovecot-1:2.3.16-3.el9.x86_64: install failed
[ 4227.730017] localhost upgrade[686]: error: dovecot-1:2.3.16-3.el8.x86_64: erase skipped
[ 4230.453382] localhost upgrade[686]:   Verifying        : dovecot-1:2.3.16-3.el9.x86_64                    1856/2672
[ 4230.453382] localhost upgrade[686]:   Verifying        : dovecot-1:2.3.16-3.el8.x86_64                    1857/2672
<snip>
[ 4231.617762] localhost upgrade[686]: Failed:
[ 4231.617762] localhost upgrade[686]:   dovecot-1:2.3.16-3.el8.x86_64          dovecot-1:2.3.16-3.el9.x86_64
[ 4231.617762] localhost upgrade[686]: Error in PREIN scriptlet in rpm package dovecot 

Environment

Red Hat Enterprise Linux 8 -> Red Hat Enterprise Linux 9
leapp

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content