On 2024-02-16 00:55, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Making a backup of config files rpmconfigcheck output (was: Viewing rpmconfigcheck output:) Message-ID : <09053c86-c16b-8a8b-8c1b-1d630b4b2b30@telefonica.net> Date & Time: Mon, 12 Feb 2024 21:30:40 +0100 (CET)
[CER] == "Carlos E. R." <robin.listas@telefonica.net> has written:
CER> On Sunday, 2024-02-11 at 17:05 -0600, -pj via openSUSE Users wrote:
CER> > Hi, I was reading a post here (if interested): CER> > https://forums.opensuse.org/t/do-i-have-to-babysit-updates-and-other-questio... CER> > CER> > I decided to then pass rpmconfigcheck in Konsole.
CER> For those interested, I have a script that makes a backup of the CER> files listed by rpmconfigcheck.
CER> I have a directory named ~/Upgrades. Inside, I create a directory named, for CER> example, "From_154_to_155". I cd there and run the script CER> "rpmconfigcheck_make_copy":
CER> #!/bin/bash
CER> echo "Will make a backup copy of files listed in /var/adm/rpmconfigcheck into the current directory." CER> echo "Make sure we are in an appropriate directory and press enter, else ^C" CER> read
CER> while read FILES ; do CER> DEST=`echo "$FILES" | tr '[/]' '_'` [..] CER> done < /var/adm/rpmconfigcheck
Thanks.
I could see your unique environment and thought it was very different from mine.
By the way, I noticed this;
CER> #/var/lib/scpm/active_groups.rpmsave --\>
Where did you get this scpm from?
Ah, that was a comment in the script. A sample output the year I wrote the script; that was 2019 or earlier. I see it was installed on 12.1 or 12.3 I see I still have a copy of the rpm: /data/storage_c/repositorios_zypp/15_1/OBS_KDE_KDE3/x86_64/scpm-1.1.7-lp151.21.5.x86_64.rpm It is not currently installed, but I still have: /etc/sysconfig/scpm /var/lib/scpm /var/lib/scpm/journal I definitely used scpm in the laptop while it was supported. But this machine is a desktop. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)