On Oct 20, 2024, at 19:25, ToddAndMargo via users 
<users@lists.fedoraproject.org> wrote:
> 
> On 10/20/24 13:55, Samuel Sieb wrote:
>>> On 10/20/24 7:27 AM, ToddAndMargo via users wrote:
>>> I just upgraded to 41.  But dnf still loads 39's repos.
>>> And "rpm -qa" shows 39 on everything.
>> How did you upgrade?
> 
> # rpm --rebuilddb
> # rpm -Va --nofiles --nodigest
>  if anything is too new, do a
>        # dnf downgrade offender(s)

Not sure why you’re doing this. It’s unnecessary and doesn’t actually catch the 
kind of issues that prevent upgrades. 

> # dnf update --refresh
> # reboot   and repeat the above update until no updates registered

Good to do. 

> # remove-retired-packages    <-- optional

Probably ok

> # dnf autoremove

Might end up leaving you with some missing packages, but ok. 

> # dnf install dnf-plugin-system-upgrade
> # dnf system-upgrade download --refresh --releasever=41

Ok, this is good, you’ve downloaded all the packages for the update all you 
have to do is reboot but…

> Note: to clean out upgrade packages and start over:
>     # dnf system-upgrade clean
>     # dnf clean packages

You just deleted all the files you just downloaded. A complete waste of time 
and bandwidth. No wonder it didn’t work. 

> # dnf install dnf-plugin-system-upgrade

What?  You just ran the plug-in, why are you running this?

> # rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-41-primary

Unnecessary the dnf system-upgrade does this. 

> # dnf clean packages         <-- optional

Not doing anything, you ran it just before!

> # dnf system-upgrade -v reboot --debugsolver

Will do nothing, since you deleted the packages it downloaded. 

You must have run some other commands since you’ve manage to replace your OS 
release data. 

-- 
Jonathan Billings
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to