Unable to upgrade packages in rawhide

Hi All,

I have performed the following steps:

  1. Pulled the fedora:rawhide image.
  2. Executed yum update -y to update the packages.
  3. Installed the nano-1.3.12 package from artifactory.
  4. Checked the latest version of the nano package (nano-2.0.9) in Artifactory.
  5. Attempted to upgrade the package using yum update -y.
  6. Noticed that the package was not upgraded.
  7. Verified the presence of both versions of the nano package using yum info.
  8. 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 /]# %```

From Docker?

Is this some third-party repo? Nano 2.0.9 is from about 2008, so quite outdated.

nano in Fedora’s rawhide repo is version 7.2, see https://packages.fedoraproject.org/pkgs/nano/nano/

Please provide the output of dnf5 repolist

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.

Hi @augenauf ,

I have configured my local artifactory repo and uploaded both the packages to it.

[root@94cbc4c8c9ad packages]# dnf5 repolist
repo id                                                                                                                   repo name
Artifactory-Local                                                                                                         Artifactory-Local

Thanks,
Krishna

Hi @jn64 ,

I have run the above given commands and received below output. Please let me know if you need more information.

[root@94cbc4c8c9ad tmp]# ls
debugdata
[root@94cbc4c8c9ad tmp]# cd debugdata/
[root@94cbc4c8c9ad debugdata]# ls
packages
[root@94cbc4c8c9ad debugdata]# cd packages/
[root@94cbc4c8c9ad packages]# pwd
/tmp/debugdata/packages
[root@94cbc4c8c9ad packages]# ls
@System.repo.gz  Artifactory-Local.repo.gz  solver.result  testcase.t
[root@94cbc4c8c9ad packages]# cat testcase.t
repo @System -99.-1000 testtags @System.repo.gz
repo Artifactory-Local -99.-1000 testtags Artifactory-Local.repo.gz
system x86_64 rpm @System
poolflags implicitobsoleteusescolors whatprovideswithdisabled
solverflags allowdowngrade keepexplicitobsoletes bestobeypolicy !dupallowvendorchange keeporphans yumobsoletes
job update oneof nano-1.3.12-1.1.x86_64@@System nano-2.0.9-1.x86_64@Artifactory-Local nano-1.3.12-1.1.x86_64@Artifactory-Local [targeted,setevr,setarch]
job multiversion provides kernel
job multiversion provides kernel-PAE
job multiversion provides installonlypkg(kernel)
job multiversion provides installonlypkg(kernel-module)
job multiversion provides installonlypkg(vm)
job multiversion provides multiversion(kernel)
result transaction,problems solver.result
[root@94cbc4c8c9ad packages]# cat solver.result
[root@94cbc4c8c9ad packages]# dnf5 repolist
repo id                                                                                                                   repo name
Artifactory-Local                                                                                                         Artifactory-Local

Thanks,
Krishna

Hi @jn64 ,

I have run above commands and got below output. Please let me know if you need more info.

[root@94cbc4c8c9ad tmp]# ls
debugdata
[root@94cbc4c8c9ad tmp]# cd debugdata/
[root@94cbc4c8c9ad debugdata]# ls
packages
[root@94cbc4c8c9ad debugdata]# cd packages/
[root@94cbc4c8c9ad packages]# pwd
/tmp/debugdata/packages
[root@94cbc4c8c9ad packages]# ls
@System.repo.gz  Artifactory-Local.repo.gz  solver.result  testcase.t
[root@94cbc4c8c9ad packages]# cat testcase.t
repo @System -99.-1000 testtags @System.repo.gz
repo Artifactory-Local -99.-1000 testtags Artifactory-Local.repo.gz
system x86_64 rpm @System
poolflags implicitobsoleteusescolors whatprovideswithdisabled
solverflags allowdowngrade keepexplicitobsoletes bestobeypolicy !dupallowvendorchange keeporphans yumobsoletes
job update oneof nano-1.3.12-1.1.x86_64@@System nano-2.0.9-1.x86_64@Artifactory-Local nano-1.3.12-1.1.x86_64@Artifactory-Local [targeted,setevr,setarch]
job multiversion provides kernel
job multiversion provides kernel-PAE
job multiversion provides installonlypkg(kernel)
job multiversion provides installonlypkg(kernel-module)
job multiversion provides installonlypkg(vm)
job multiversion provides multiversion(kernel)
result transaction,problems solver.result
[root@94cbc4c8c9ad packages]# cat solver.result
[root@94cbc4c8c9ad packages]# dnf5 repolist
repo id                                                                                                                   repo name
Artifactory-Local                                                                                                         Artifactory-Local

Thanks,
Krishna

Hi @jn64 ,

After executing the provided commands, I have obtained the following output. If you require further information, please inform me

debugdata
[root@94cbc4c8c9ad tmp]# cd debugdata/
[root@94cbc4c8c9ad debugdata]# ls
packages
[root@94cbc4c8c9ad debugdata]# cd packages/
[root@94cbc4c8c9ad packages]# pwd
/tmp/debugdata/packages
[root@94cbc4c8c9ad packages]# ls
@System.repo.gz  Artifactory-Local.repo.gz  solver.result  testcase.t
[root@94cbc4c8c9ad packages]# cat testcase.t
repo @System -99.-1000 testtags @System.repo.gz
repo Artifactory-Local -99.-1000 testtags Artifactory-Local.repo.gz
system x86_64 rpm @System
poolflags implicitobsoleteusescolors whatprovideswithdisabled
solverflags allowdowngrade keepexplicitobsoletes bestobeypolicy !dupallowvendorchange keeporphans yumobsoletes
job update oneof nano-1.3.12-1.1.x86_64@@System nano-2.0.9-1.x86_64@Artifactory-Local nano-1.3.12-1.1.x86_64@Artifactory-Local [targeted,setevr,setarch]
job multiversion provides kernel
job multiversion provides kernel-PAE
job multiversion provides installonlypkg(kernel)
job multiversion provides installonlypkg(kernel-module)
job multiversion provides installonlypkg(vm)
job multiversion provides multiversion(kernel)
result transaction,problems solver.result
[root@94cbc4c8c9ad packages]# cat solver.result
[root@94cbc4c8c9ad packages]# dnf5 repolist
repo id                                                                                                                   repo name
Artifactory-Local                                                                                                         Artifactory-Local

Thanks,
Krishna

Hm, I don’t understand this result (no result). It can see the higher version but doesn’t choose it.

If you confirm it doesn’t happen with dnf4 on fedora:latest (38), then I suggest you report this to dnf5.