Ultramarine-Linux / triage

If you're unsure where an issue should go, but are sure it belongs to Ultramarine, you can report it here.
49 stars 1 forks source link

[BUG] DNF version reverts to DNF4 after upgrade to UM41 #66

Open clintre opened 2 weeks ago

clintre commented 2 weeks ago

Summary

I did the in-place upgrade from UM40 (KDE) to UM41. After the upgrade, I noticed the DNF5 commands I would use would fail. So I did a DNF --version, and it came back as 4.21.1. I was able to reproduce this issue by doing an upgrade of 40-41 on another test system. DNF5 is installed and I can run dnf5 commands.

I did a reinstallation of dnf5 and it resolved the issue. This issue is not present on a system where I did a clean installation of UM41. UM41-upgrade-dnf4

Steps to Reproduce

  1. Upgrade from UM40 to UM41
  2. dnf --version will show 4.21.1

Possible Solutions

Reinstall dnf5 and then the dnf --version once again shows as 5.2.6.2

Release Version

41

Edition / Desktop Environment / Hardware

KDE Plasma

Checklist

linear[bot] commented 2 weeks ago

FYRA-115 [BUG] DNF version reverts to DNF4 after upgrade to UM41

madonuko commented 2 weeks ago

Very interesting, so before reinstallation of dnf5, dnf points to dnf-3, but after reinstallation it points to dnf5… Sounds like an issue from dnf5-default-package-manager applying the post uninstall scriptlets after installation of dnf5 during upgrade…