Re: tip: when dnf thinks you are on the wrong release

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/10/24 1:46 PM, Stephen Morris wrote:
On 11/11/24 04:30, ToddAndMargo via users wrote:
Hi All,

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*
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)  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]

I don't think it's any file.  It's the version of the package that matters.

--
_______________________________________________
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux