Why dnf5 doesn't see updates which dnf-3 see? [root@mikhail-laptop ~]# dnf-3 upgrade --refresh local repo 3.0 MB/s | 3.0 kB 00:00 Fedora rawhide - x86_64 - Debug 14 kB/s | 12 kB 00:00 Fedora rawhide openh264 (From Cisco) - x86_64 1.5 kB/s | 989 B 00:00 Fedora - Rawhide - Developmental packages for t 25 kB/s | 15 kB 00:00 google-chrome-unstable 9.1 kB/s | 1.3 kB 00:00 RPM Fusion for Fedora Rawhide - Free 13 kB/s | 6.4 kB 00:00 RPM Fusion for Fedora Rawhide - Nonfree 28 kB/s | 6.4 kB 00:00 Sublime Text - x86_64 - Dev 4.9 kB/s | 2.9 kB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Upgrading: gnome-shell x86_64 44.2-3.fc39 local-repo 1.7 M gnome-shell-debuginfo x86_64 44.2-3.fc39 local-repo 1.3 M gnome-shell-debugsource x86_64 44.2-3.fc39 local-repo 1.1 M librsvg2 x86_64 2.56.90-7.fc39 rawhide 1.6 M mutter x86_64 44.2-5.fc39 local-repo 2.4 M mutter-debuginfo x86_64 44.2-5.fc39 local-repo 5.6 M mutter-debugsource x86_64 44.2-5.fc39 local-repo 2.0 M Transaction Summary ================================================================================ Upgrade 7 Packages Total size: 16 M Total download size: 1.6 M Is this ok [y/N]: n Operation aborted. [root@mikhail-laptop ~]# dnf5 upgrade --refresh Updating and loading repositories: Sublime Text - x86_64 - Dev 100% | 3.0 KiB/s | 2.9 KiB | 00m01s Fedora rawhide openh264 (From Cisco) - 100% | 1.0 KiB/s | 989.0 B | 00m01s Fedora - Rawhide - Developmental packa 100% | 16.4 KiB/s | 15.3 KiB | 00m01s google-chrome-unstable 100% | 6.0 KiB/s | 1.3 KiB | 00m00s RPM Fusion for Fedora Rawhide - Nonfre 100% | 20.9 KiB/s | 6.4 KiB | 00m00s RPM Fusion for Fedora Rawhide - Free 100% | 18.4 KiB/s | 6.4 KiB | 00m00s local repo 100% | 0.0 B/s | 3.0 KiB | 00m00s Fedora rawhide - x86_64 - Debug 100% | 13.5 KiB/s | 12.3 KiB | 00m01s Repositories loaded. Package Arch Version Repository Size Upgrading: librsvg2 x86_64 2.56.90-7.fc39 rawhide 4.6 MiB replacing librsvg2 x86_64 2.56.90-1.fc39 local-repo 4.4 MiB Transaction Summary: Upgrading: 1 packages Replacing: 1 packages Total size of inbound packages is 2 MiB. Need to download 2 MiB. After this operation 227 KiB will be used (install 5 MiB, remove 4 MiB). Is this ok [y/N]: n Operation aborted by the user. [root@mikhail-laptop ~]# Reproducible: Always
Created attachment 1977438 [details] dnf.log
Created attachment 1977439 [details] dnf5.log
I think this is because of the switch of `allow_vendor_change` default configuration to false. The packages from local-repo likely have a different vendor than installed fedora packages. This has since been reverted: https://github.com/rpm-software-management/dnf5/pull/745 It should start working again once released. In the meantime you can do `--setopt=allow_vendor_change=true` to workaround it. *** This bug has been marked as a duplicate of bug 2219624 ***