Why does the system fails to leapp upgrade and drops to emegency mode with binary `/usr/bin/opt` ?

Solution Verified - Updated -

Issue

  • The system boot to emergency mode on leapp upgrade.
Warning: Package marked by Leapp to upgrade not found in repositories metadata: gpg-pubkey leapp-upgrade-el7toel8 leapp python2-leapp
Error unpacking rpm package llvm-15.0.7-1.module+el8.8.0+17939+b58878af.x86_64
Error: Transaction failed
Stdout: Last metadata expiration check: 0:24:59 ago on Tue Dec 12 14:05:07 2023.
Dependencies resolved.

error: unpacking of archive failed on file /usr/bin/opt: cpio: File from package already exists as a directory in system
error: llvm-15.0.7-1.module+el8.8.0+17939+b58878af.x86_64: install failed

Environment

  • Red Hat Enterprise Linux 7.
  • Red Hat Enterprise Linux 8.
  • 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