I received this message while trying to update fedora 36 :
Config error: Parsing file “/etc/dnf/dnf.conf” failed: Parsing file ‘/etc/dnf/dnf.conf’ failed: IniParser: Missing section header at line 1
I received this message while trying to update fedora 36 :
Config error: Parsing file “/etc/dnf/dnf.conf” failed: Parsing file ‘/etc/dnf/dnf.conf’ failed: IniParser: Missing section header at line 1
Can you paste the content of /etc/dnf/dnf.conf
?
GNU nano 6.0 /etc/dnf/dnf.conf
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^>
Well, if that’s really what you have then it’s not going to work.
Replace the file content with this:
# see `man dnf.conf` for defaults and possible options
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
best=False
skip_if_unavailable=True
### QUBES BEGIN ###
# This part of configuration, until QUBES END, is automatically generated by
# /usr/lib/qubes/update-proxy-configs. All changes here will be overriden.
# If you want to override any option set here, set it again to desired value,
# below this section
### QUBES END ###
deltarpm=False
Because I lack technical expertise, what precise text should I copy?
Or I should copy all the text ?!
You need all of it. Just copy everything and paste it into the file.
[user@fedora-36 ~]$ sudo dnf update
Fedora 36 - x86_64 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository ‘fedora’:
Your template seems messed up for some reason. I think you have no other choice than installing it again.
My fedora template updated successfully .
But I Can’t connect to network while browsing from my VM using Firefox
How I can reinstall fedora 36!