Hi Everyone,
I dnf-system-upgraded my last machine from F37 to F38. I screwed up at post-upgrade at 'sudo rpmconf -a'.
I saw a message in the terminal:
Broadcast message from gdm@callboot on tty1 (Thu 2023-04-27 01:09:53 EDT): The system will suspend now!
And I pressed ENTER a bunch of times trying to keep the machine awake. Unfortunately, it means I kept old versions of configuration files:
==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version (and delete .rpmsave) D : show the differences between the versions M : merge configuration files Z : background this process to examine the situation S : skip this file The default action is to keep your current version. *** aliases (Y/I/N/O/D/M/Z/S) [default=N] ? <Me press ENTER multiple times to avoid suspend/sleep>
Google is failing me.
How do I restart rpmconf?
Thanks in advance.
On 4/26/23 22:18, Jeffrey Walton wrote:
I dnf-system-upgraded my last machine from F37 to F38. I screwed up at post-upgrade at 'sudo rpmconf -a'.
I saw a message in the terminal:
Broadcast message from gdm@callboot on tty1 (Thu 2023-04-27 01:09:53 EDT): The system will suspend now!And I pressed ENTER a bunch of times trying to keep the machine awake. Unfortunately, it means I kept old versions of configuration files:
==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version (and delete .rpmsave) D : show the differences between the versions M : merge configuration files Z : background this process to examine the situation S : skip this file The default action is to keep your current version. *** aliases (Y/I/N/O/D/M/Z/S) [default=N] ? <Me press ENTER multiple times to avoid suspend/sleep>Google is failing me.
How do I restart rpmconf?
If you pressed enter, the default is to delete the .rpmsave file, so it's gone and there's nothing more to do. What are you expecting that re-running it will accomplish now?
On Thu, Apr 27, 2023 at 1:41 AM Samuel Sieb samuel@sieb.net wrote:
On 4/26/23 22:18, Jeffrey Walton wrote:
I dnf-system-upgraded my last machine from F37 to F38. I screwed up at post-upgrade at 'sudo rpmconf -a'.
I saw a message in the terminal:
Broadcast message from gdm@callboot on tty1 (Thu 2023-04-27 01:09:53 EDT): The system will suspend now!And I pressed ENTER a bunch of times trying to keep the machine awake. Unfortunately, it means I kept old versions of configuration files:
==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version (and delete .rpmsave) D : show the differences between the versions M : merge configuration files Z : background this process to examine the situation S : skip this file The default action is to keep your current version. *** aliases (Y/I/N/O/D/M/Z/S) [default=N] ? <Me press ENTER multiple times to avoid suspend/sleep>Google is failing me.
How do I restart rpmconf?
If you pressed enter, the default is to delete the .rpmsave file, so it's gone and there's nothing more to do. What are you expecting that re-running it will accomplish now?
I'd like to configure the services correctly. I.e., take the maintainter's version of the files.
The Fedora maintainers are jambing their heads further and further up their asses. They are creating problems where none should exist. That stupid Lenovo change. That stupid uname change.
Jeff
On Thu, 27 Apr 2023 01:18:50 -0400 Jeffrey Walton noloader@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.