how do I fix that and do leapp upgrade
Could you please post here your /etc/dnf/dnf.conf and /etc/yum.conf files.
Hi Yuri - thank you for looking into this.
cat /etc/dnf/dnf.conf
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
best=True
skip_if_unavailable=True
fastestmirror=True
max_parallel_download=10
localpkg_gpgcheck=1
it finds error in line1 header
Could you please send Leapp all logs. You can get them with the following command:
# tar -czf leapp-logs.tar.gz /var/log/leapp /var/lib/leapp/leapp.db
Hi Yuri,
Sorry I’m new to this community and not aware how to upload large files. can you please share how do I upload the tar file…Thanks
Let’s exclude leapp.db file. So please pack logs with:
# tar -czf leapp-logs.tar.gz /var/log/leapp
Get the leapp-logs.tar.gz to your desktop, and Upload here.
Hello Yuri,
still file is too big (376 MB) compared to 420 before to send it. is there any other way?
Thanks
Hemant
The /var/log/leapp is unnormaly big for some reason in your system.
Let’s back your system to a “clean“ state.
- remove
/etc/leapp/files/dnf.conf - make sure system’s
/etc/dnf/dnf.confdoesn’t include any Leapp related and extra options - remove ELevate and Leapp stack:
$ yum remove elevate-release $(rpm -qa | grep leapp) - remove Leapp logs and update the system:
$ rm -rf /var/log/leapp
$ dnf update - install ELevate:
$ yum install -y ``http://repo.almalinux.org/elevate/elevate-release-latest-el$``(rpm --eval %rhel).noarch.rpm
$ yum install leapp-upgrade leapp-data-almalinux - do
leapp preupgradeand if succeeded,leapp upgrade
Hello Yuri,
Greetings. Sorry I don’t work on weekends and my system is still running 8.10 so I was not worried but most of the other systems are running 9.6 so wanted to match this system to 9.6 as well but it fails
I followed your steps and upgrade still fails …is there any way I can upload the leapp logs so you have a better idea?
Following errors occurred and the upgrade cannot continue:
1\. Actor: dnf_package_download
Message: DNF execution failed with non zero exit code.
HIGH and MEDIUM severity reports:
1\. Detected custom leapp actors or files.
2\. Detected modified files of the in-place upgrade tooling.
Reports summary:
Errors: 1
Inhibitors: 0
HIGH severity reports: 2
MEDIUM severity reports: 0
LOW severity reports: 3
INFO severity reports: 3
Before continuing, review the full report below for details about discovered problems and possible remediation instructions:
A report has been generated at /var/log/leapp/leapp-report.txt
A report has been generated at /var/log/leapp/leapp-report.json
The logs should not be big now if you cleaned them before the leapp preupgrade and leapp upgrade
Please pack them as above, and try to attach here.