Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Fedora DNF Update not working #1010

Open
orbitalmartian8 opened this issue Sep 20, 2022 · 2 comments
Open

Fedora DNF Update not working #1010

orbitalmartian8 opened this issue Sep 20, 2022 · 2 comments

Comments

@orbitalmartian8
Copy link

What did you expect to happen?

Update with DNF.

What actually happened?

Additional Details

  • Which operating system or Linux distribution are you using? Linux/Fedora 36 KDE Spin
  • How did you install Topgrade? DNF
  • Which version are you running? 9.0.1

@StiTof123
Copy link

I had the same problem on a Fedora 37 beta instance. It seems like topgrade defaults to upgrade using rpm-ostree. Anyways, to remediate I did the following:

access the config:

topgrade --edit-config

In config under [linux] I changed the rpm_ostree line to false(You need to do this even though the line is # out by default)

[linux]
# Arch Package Manager to use. Allowed values: autodetect, trizen, paru, yay, p>
#arch_package_manager = "pacman"
# Arguments to pass yay (or paru) when updating packages
#yay_arguments = "--nodevel"
#show_arch_news = true
#trizen_arguments = "--devel"
#pikaur_arguments = ""
#enable_tlmgr = true
#emerge_sync_flags = "-q"
#emerge_update_flags = "-uDNa --with-bdeps=y world"
#redhat_distro_sync = true
rpm_ostree = false

If you run topgrade agian, but this time with the -v flag you should see that dnf update being used instead.

Hope this helps!

Br

STian

@s34m
Copy link

s34m commented Oct 11, 2022

Got solved with this PR to a new fork: topgrade-rs/topgrade#4 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants