Due to recent problems with hot plugging USB pen drives, I have decided I want to be able to create a file with the current state of all installed packages.
In rooting around I discover:
aptitude-create-state-bundle
and it's companion program
aptitude-run-state-bundle
They sound like I can run the first to create a file containing the current state of the installed packages.
I can run the second program if need be, say after doing a native install from the Live CD on a different or the same machine, to recreate the exact same state of installed packages.
Is this true??
If true, then I want to ask what options I would run on the second program that would get passed to aptitude to download and install only those packages not installed from the Live CD.
If this is possible, then I will sleep a lot easier knowing that I can recreate the package state without a lot of guessing and hunting around and asking a lot of bothersome questions to a lot of people. Simply run the first program periodically and store the created file away in a safe place off the machine.
In rooting around I discover:
aptitude-create-state-bundle
and it's companion program
aptitude-run-state-bundle
They sound like I can run the first to create a file containing the current state of the installed packages.
I can run the second program if need be, say after doing a native install from the Live CD on a different or the same machine, to recreate the exact same state of installed packages.
Is this true??
If true, then I want to ask what options I would run on the second program that would get passed to aptitude to download and install only those packages not installed from the Live CD.
If this is possible, then I will sleep a lot easier knowing that I can recreate the package state without a lot of guessing and hunting around and asking a lot of bothersome questions to a lot of people. Simply run the first program periodically and store the created file away in a safe place off the machine.
Comment