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

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

 



When upgrading following the instructions at https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-offline/, make sure you perform the optional post upgrade tasks like Clean up retired packages, clean up old packages, clean up old keys, clean up old sym-links.  Doing that can reduce your chances of future problems.  I've been following those instructions for longer than I can remember and it's always worked for me.

On Sun, Nov 10, 2024 at 12:31 PM ToddAndMargo via users <users@xxxxxxxxxxxxxxxxxxxxxxx> 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*

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

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


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