Bug 4545 - DNF execution failed with non zero exit code.
Summary: DNF execution failed with non zero exit code.
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: Others (show other bugs) Others
Version: ---
Hardware: All Linux
: P2-High S3-normal
Target Milestone: ---
Assignee: Jacob
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-16 16:37 UTC by H18815006810
Modified: 2023-03-16 16:38 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H18815006810 2023-03-16 16:37:17 UTC
Description of problem:
Risk Factor: high
Title: DNF execution failed with non zero exit code.
STDOUT:
Last metadata expiration check: 0:01:36 ago on Thu Mar 16 10:59:17 2023.

STDERR:
Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: No such file or directory
Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: No such file or directory
No matches found for the following disable plugin patterns: subscription-manager
Warning: Packages marked by Leapp for install not found in repositories metadata: python3-nss python3-custodia ldns-utils ivy-local python3-javapackages
Transaction check: 

 Problem: package gnome-photos-40.0-4.an8.x86_64 requires libgegl-0.4.so.0()(64bit), but none of the providers can be installed
  - package gnome-photos-40.0-4.an8.x86_64 requires gegl04(x86-64) >= 0.4.0, but none of the providers can be installed
  - conflicting requests
  - nothing provides libraw.so.19()(64bit) needed by gegl04-0.4.4-7.0.1.an8.x86_64

Summary: 
Key: 462f20d7417708a5429c25a2b58d946e9b775ca5
ExternalLink: [Anolis OS Migration System(AOMS) Knowledge Base, visit it and query the content by the given Key] https://www.yuque.com/anolis-docs/kbase/gk90ag


Version-Release number of selected component (if applicable):
Switch from CentOS Linux release 7.3.1611 (Core) to Anolis OS 8.8
VMware Virtual Machine


Steps to Reproduce:
1.wget https://mirrors.openanolis.cn/anolis/migration/anolis-migration.repo -O /etc/yum.repos.d/anolis-migration.repo
2.yum -y install epel-release
3.yum -y install python-pip
4.yum remove -y python-requests python-urllib3; /usr/bin/pip2 uninstall requests urllib3 -y 2>/dev/null || echo "not installed"
5.yum -y install leapp
6.leapp answer --section remove_pam_pkcs11_module_check.confirm=True
7.leapp answer --section update_grub2-tools.confirm=True
8.yum -y update grub2
9.sed -i 's/#PermitRootLogin yes/PermitRootLogin yes/' /etc/ssh/sshd_config
10.leapp preupgrade --no-rhsm



Actual results:
Error:
leapp.workflow.TargetTransactionCheck.dnf_transaction_check: DNF execution failed
Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: No such file or directory



Expected results:
leapp preupgrade is right