On 2023-04-21 23:18, Robert Kaiser wrote:
On 4/19/23 22:36, Achim Gratz wrote:
I was hoping for some incantation that at least weeds out packages that were installed as dependencies of others or as part of a pattern from this list.
I was wondering about an easy way to get such a list multiple times in the past as it would be a handy thing to have as a part of backups. I don't want to back up the actual files of the installed packages, just that list, any configs, and any data. That should be a good set to start with if I have to reconstruct a "dead" machine from a backup.
There is a way to have the rpm command generate a list of modified configuration files. There was in YaST, long ago, a module that did a backup of the system, and it used that trick to find out what to backup. I made a script that must be somewhere, I can dig it out. But then you also need a way to clone the btrfs setup, and that ain't trivial. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)