Hide Forgot
dnf update --allowerasing just removes package Here are commands I run: [root@rhel8-7737 bin]# rpm -q python3-ldb-devel python3-ldb-devel-1.4.2-2.el8.x86_64 [root@rhel8-7737 bin]# dnf list --showduplicates python3-ldb-devel Last metadata expiration check: 0:14:21 ago on Tue 07 May 2019 10:21:28 AM EDT. Installed Packages python3-ldb-devel.x86_64 1.4.2-2.el8 @rhel-8-buildroot Available Packages python3-ldb-devel.x86_64 1.4.2-2.el8 @rhel-8-buildroot python3-ldb-devel.x86_64 1.4.2-2.el8 rhel-8-buildroot python3-ldb-devel.x86_64 1.5.4-1.el8 brew-21544647 [root@rhel8-7737 bin]# dnf update --allowerasing python3-ldb-devel Last metadata expiration check: 0:14:43 ago on Tue 07 May 2019 10:21:28 AM EDT. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Removing: python3-ldb-devel x86_64 1.4.2-2.el8 @rhel-8-buildroot 354 Transaction Summary ================================================================================ Remove 1 Package Freed space: 354 Is this ok [y/N]: y Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Erasing : python3-ldb-devel-1.4.2-2.el8.x86_64 1/1 Running scriptlet: python3-ldb-devel-1.4.2-2.el8.x86_64 1/1 Verifying : python3-ldb-devel-1.4.2-2.el8.x86_64 1/1 Removed: python3-ldb-devel-1.4.2-2.el8.x86_64 Complete! [root@rhel8-7737 bin]# rpm -q python3-ldb-devel package python3-ldb-devel is not installed I asked DNF to update the package. DNF just removed the current, without updating to the newest. [root@rhel8-7737 bin]# dnf install python3-ldb-devel-1.5.4-1.el8.x86_64 Last metadata expiration check: 0:17:59 ago on Tue 07 May 2019 10:21:28 AM EDT. Error: Problem: problem with installed package python-ldb-devel-common-1.4.2-2.el8.x86_64 - package python3-ldb-devel-1.5.4-1.el8.x86_64 conflicts with python-ldb-devel-common(x86-64) < 1.5.4-1.el8 provided by python-ldb-devel-common-1.4.2-2.el8.x86_64 - conflicting requests (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) Anyway, DNF should not just remove package for `dnf update` command.
[root@rhel8-7737 bin]# rpm -qa | grep -E 'dnf|rpm' python3-libdnf-0.22.5-5.el8_0.x86_64 rpm-build-libs-4.14.2-17.el8.x86_64 dnf-plugin-spacewalk-2.8.5-9.module+el8+2754+6a08e8f4.noarch dnf-data-4.0.9.2-5.el8.noarch drpm-0.3.0-14.el8.x86_64 libdnf-0.22.5-5.el8_0.x86_64 rpm-plugin-selinux-4.14.2-17.el8.x86_64 python3-rpm-4.14.2-17.el8.x86_64 python3-dnf-4.0.9.2-5.el8.noarch python3-dnf-plugins-core-4.0.2.2-3.el8.noarch python3-dnf-plugin-spacewalk-2.8.5-9.module+el8+2754+6a08e8f4.noarch dnf-plugin-subscription-manager-1.23.8-35.el8.x86_64 dnf-utils-4.0.2.2-3.el8.noarch rpm-libs-4.14.2-17.el8.x86_64 rpm-plugin-systemd-inhibit-4.14.2-17.el8.x86_64 dnf-4.0.9.2-5.el8.noarch dnf-plugins-core-4.0.2.2-3.el8.noarch rpm-4.14.2-17.el8.x86_64
The issue is fixed in libsolv-0.7.2. The original report - https://bugzilla.redhat.com/show_bug.cgi?id=1446068.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:3583