View Issue Details

IDProjectCategoryView StatusLast Update
0000171AlmaLinux-8dnfpublic2022-01-14 09:48
Reportermvrk Assigned To 
Status newResolutionopen 
Platformx86_64OSAlmaLinuxOS Version8.4
Summary0000171: Unable to lock release version
DescriptionI'm unable to lock release version.

I tried with different ways:

1 - echo "8.4" > /etc/dnf/vars/releasever
2 - Modify the /etc/dnf.conf and add distroverpkg=8.4 to main section

Every time i run dnf upgrade i still get all packages updates to 8.5

If i run: python3 -c 'import dnf, json; db = dnf.dnf.Base(); print(json.dumps(db.conf.substitutions, indent=2))'
Always shows 8 instead of 8.4:

  "arch": "x86_64",
  "basearch": "x86_64",
  "releasever": "8"

I also tried with: dnf --releasever=8.4 upgrade
but i still get the 8.5 packages.
TagsNo tags attached.



2022-01-14 09:48

developer   ~0000477

Hello. Thank you, for your question.
It is expected behavior, version 8.4 is no longer supported because 8.5 is released.
If you want to use 8.4, you can uncomment and change 'baseurl' in config files from '/etc/yum.repos.d/' to '{BaseOS\AppStream\etc}/{x86_64\aarch64}/os', and comment 'mirrorlist' line.

Issue History

Date Modified Username Field Change
2022-01-05 13:47 mvrk New Issue
2022-01-14 09:48 eabdullin Note Added: 0000477