Centos 7 to AlmaLinux 8 - libzip package issue

Hello

I’m trying to upgrade a Centos 7 OVH VPS to Alma Linux 8 but I’m getting this error:

STDERR:
Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system
Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system
No matches found for the following disable plugin patterns: subscription-manager
Repository extras is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
Warning: Package marked by Leapp to upgrade not found in repositories metadata: gpg-pubkey leapp-upgrade-el7toel8 leapp python2-leapp
RPM: warning: Generating 6 missing index(es), please wait...
Error: Transaction test error:
  file /usr/lib64/libzip.so.5 from install of libzip-1.5.1-2.module_el8.3.0+2010+7c76a223.x86_64 conflicts with file from package libzip5-1.10.1-1.el7.remi.x86_64

Any idea how to resolve this issue?

CentOS 7 did not have /usr/lib64/libzip.so.5but it could have had /usr/lib64/libzip.so.2
You have added /usr/lib64/libzip.so.5 to your CentOS 7 with libzip5-1.10.1-1.el7.remi.x86_64 package.
AlmaLinux 8 could have /usr/lib64/libzip.so.5 (from package libzip-1.5.1-2.module_el8.3.0+2010+7c76a223.x86_64)

The conversion script does not know whether it can replace libzip5 with libzip.


The logical solution is to remove the libzip5 and note which applications are removed with it.
After the upgrade you can then (re)install those applications (if still relevant).

1 Like