On 11/11/24 08:46, Stephen Morris
wrote:
* /usr/share/licenses/fedora-release-commonOn 11/11/24 04:30, ToddAndMargo via users wrote:
Hi All,On my F41 system upgraded from F40, it is using /etc/redhat-release to store its release version which for me contains Fedora release 41 (Forty One)
This happened to me again when I went to upgrade my
shop computer from FC40 to fc41. So I though I'd repeat
my fix here:
Note: dnf dose not use /etc/redhat-release as it release
version. It uses
/usr/share/licenses/fedora/fedora-release-common*
and /usr/share/fedora/fedora-release-common contains nothing but a legal txt file and a license file, there is no fedora sub-folder of licenses.
Command "rpm -qa /*fedora-release-common/*" produces nothing.
regards,
Steve
-T
When dnf thinks you are on the wrong release:
if after the upgrade, dnf still thinks you are on the older version,
remove the stray "fedora-release-common"
For example:
# rpm -qa \*fedora-release-common\*
fedora-release-common-39-36.noarch
fedora-release-common-40-39.noarch
# dnf remove fedora-release-common-39-36.noarch
or globally
# dnf upgrade --allowerase --releasever=[your release, 41 for example]
Attachment:
OpenPGP_0x1EBE7C07B0F7242C.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue