Installed the nano-1.3.12 package from artifactory.
Checked the latest version of the nano package (nano-2.0.9) in Artifactory.
Attempted to upgrade the package using yum update -y.
Noticed that the package was not upgraded.
Verified the presence of both versions of the nano package using yum info.
Observed that the package upgrade works as expected in the current fedora:latest image.
Please note that despite having the latest version of the nano package in Artifactory, the upgrade using yum update -y did not occur in the fedora:rawhide image.
can someone please help me with this?
[root@c65605ae839c /]# ls
afs bin boot dev etc home lib lib64 lost+found media mnt opt proc root run sbin srv sys tmp usr var
[root@c65605ae839c /]# yum list --available
Updating and loading repositories:
Artifactory-Local 100% | 139.1 KiB/s | 1.9 KiB | 00m00s
Repositories loaded.
Available packages
nano.x86_64 2.0.9-1 Artifactory-Local
[root@c65605ae839c /]# yum info nano
Updating and loading repositories:
Repositories loaded.
Installed packages
Name : nano
Epoch : 0
Version : 1.3.12
Release : 1.1
Architecture : x86_64
Installed size : 674.1 KiB
Source : nano-1.3.12-1.1.src.rpm
From repository : Artifactory-Local
Summary : A small text editor
URL : http://www.nano-editor.org
License : GPL
Description : GNU nano is a small and friendly text editor.
Available packages
Name : nano
Epoch : 0
Version : 2.0.9
Release : 1
Architecture : x86_64
Download size : 581.6 KiB
Installed size : 1.5 MiB
Source : nano-2.0.9-1.src.rpm
Repository : Artifactory-Local
Summary : Pico editor clone with enhancements
URL : http://www.nano-editor.org/
License : GPL
Description : GNU nano is a small and friendly text editor. It aims to emulate the
: Pico text editor while also offering a few enhancements.
[root@c65605ae839c /]# yum update -y
Updating and loading repositories:
Repositories loaded.
Nothing to do.
[root@c65605ae839c /]# yum --version
dnf5 version 5.0.15
dnf5 plugin API version 1.0
libdnf5 version 5.0.15
libdnf5 plugin API version 1.0
[root@c65605ae839c /]# dnf --version
dnf5 version 5.0.15
dnf5 plugin API version 1.0
libdnf5 version 5.0.15
libdnf5 plugin API version 1.0
[root@c65605ae839c /]# yum update nano
Updating and loading repositories:
Repositories loaded.
Nothing to do.
[root@c65605ae839c /]# dnf update nano
Updating and loading repositories:
Repositories loaded.
Nothing to do.
[root@c65605ae839c /]# %```
It shouldn’t matter what the repo or software is. The problem is dnf5 not upgrading when there is seemingly an available upgrade with higher EVR. Both epoch 0, 2.0.9-1 is higher than 1.3.12-1.1
Can you get the solving data:
cd /tmp
dnf --assumeno --refresh up nano --debugsolver
cat debugdata/packages/{testcase.t,solver.result}
Note it might create some large files in ./debugdata with the repo metadata, depending on the repos you have enabled.