Re: [opensuse] Re-install of 15.1 - is there a way to load a list of formerly installed packages to get install parity from the very beginning?
On 23/07/2019 15.00, ken wrote:
On 7/23/19 7:13 AM, Carlos E. R. wrote:
Well, there is the rpm --verify list. It lists every changed file, but not the new files. It will tell the new permissions applied, but not the changes.
The list is usually very long. Yes, you could compare the changed files with the originals in the rpm, and create diff files.
The old YaST backup tool did something of the sort: it created a backup of every changed or new file in the installation (usually you tell it to skip /home). I did a script that does similarly, must have it somewhere if you want it.
Yes, please. For a long time I've been thinking of writing such a script. But if you've already done it, then why should I "reinvent the wheel"? :)
Ok! I'll upload to susepaste. The scripts are old and I have not used them in long time, so the will have to be adjusted/modified/corrected. Some of the comments are in Spanish, I can translate later if needed. <http://susepaste.org/48969830> Dated May 2002. Just produces a list of files to backup. <http://susepaste.org/96542719> Dated Oct 2002. # Do a backup of modified files belonging to rpms, # downloaded updates, and tgz to be compiled (from cer) # requires zisofs and patched mkisofs It creates a compressed copied tree of the files to backup, and an ISO ready to burn. <http://susepaste.org/97971710> Dated Jul 2003, but may be older. It will not work currently, it simply called an old YaST script that is no longer there. <http://susepaste.org/10226049> Dated 2006. Seems a most recent version of "bck.cpy", improved. This should be the one to look at. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
participants (1)
-
Carlos E. R.