On Thu, 27 Apr 2023 01:18:50 -0400
Jeffrey Walton <noloader(a)gmail.com> wrote:
Hi Everyone,
I dnf-system-upgraded my last machine from F37 to F38. I screwed up at
post-upgrade at 'sudo rpmconf -a'.
[snip]
How do I restart rpmconf?
I don't know if this will work, but you could go into
/var/log/dnf.rpm.log and get the list of files that were updated.
Then try reinstalling each and every one of them [1], since you have no
idea which had new configuration and which didn't. That should write a
new rpmnew or rpmsave. Then it would just be necessary to run
rpmconf again.
1. You can probably write a script in your scripting language of
choice to extract the names, and put them in a separate file.
e.g.
#! /bin/bash
dnf -y reinstall \
[list of packages, one per line, goes here, each line terminated with \]
Then just run the file.