On Thu, 27 Apr 2023 01:18:50 -0400
Jeffrey Walton <noloa...@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.
_______________________________________________
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