[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?
Hello, for reasons of understanding which of the current bugs may be fruit of mixed settings or old age, I would like to re-install my laptop with 15.1. The only perplexity that creates me a lot of work every time is: how to get a complete list of all packages currently installed and force this list to be imported at install time (from usb with network repos activated). I would also like to know if it is possible to store the current repos and load them all at install time (like a txt file or similar). Any suggestions? Finally: is there a way to list all personalization of the system with a cli command (that is permissions or settings that are not default?) Thank you. _________________________________________________________________ ________________________________________________________ Ihre E-Mail-Postf�cher sicher & zentral an einem Ort. Jetzt wechseln und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 22/07/2019 10.48, stakanov wrote:
Hello, for reasons of understanding which of the current bugs may be fruit of mixed settings or old age, I would like to re-install my laptop with 15.1.
The only perplexity that creates me a lot of work every time is: how to get a complete list of all packages currently installed and force this list to be imported at install time (from usb with network repos activated).
Impossible. No good and reliable solution known. There is a feature in YaST that saves a list, but does not save from what repo comes each package. There are procedures... we have talked of that over the years. Basically you would generate a list (after install) and feed it to zypper to solve, and you solve the dependency issues as they come. I don't remember the thread...
I would also like to know if it is possible to store the current repos and load them all at install time (like a txt file or similar).
That is easy: all the files in "/etc/zypp/repos.d/". Huh, not at install time: after install.
Any suggestions?
Finally: is there a way to list all personalization of the system with a cli command (that is permissions or settings that are not default?)
Wow! :-D No. :-( -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
Le 22/07/2019 à 13:25, Carlos E. R. a écrit :
On 22/07/2019 10.48, stakanov wrote:
Finally: is there a way to list all personalization of the system with a cli command (that is permissions or settings that are not default?)
there may be some way to have it. /etc/permissions gives default permissions, it may be possible to write a script giving the diff with the present install? jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 22/07/2019 13.52, jdd@dodin.org wrote:
Le 22/07/2019 à 13:25, Carlos E. R. a écrit :
On 22/07/2019 10.48, stakanov wrote:
Finally: is there a way to list all personalization of the system with a cli command (that is permissions or settings that are not default?)
there may be some way to have it. /etc/permissions gives default permissions, it may be possible to write a script giving the diff with the present install?
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. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
On 7/22/19 4:48 AM, stakanov wrote:
Hello, for reasons of understanding which of the current bugs may be fruit of mixed settings or old age, I would like to re-install my laptop with 15.1.
The only perplexity that creates me a lot of work every time is: how to get a complete list of all packages currently installed and force this list to be imported at install time (from usb with network repos activated). I would also like to know if it is possible to store the current repos and load them all at install time (like a txt file or similar).
Any suggestions?
Finally: is there a way to list all personalization of the system with a cli command (that is permissions or settings that are not default?)
Thank you.
Yast2 can create a text file with whatever packages you search for, including entire system. As far as installation, I would take a look at feeding zypper in a script or maybe using the autoyast2 control file. --dg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Carlos E. R.
-
DennisG
-
jdd@dodin.org
-
stakanov