rewin
1. "
Package installations are prevented if an uninstallation has taken place in the same session before a save has been done"
Does this mean...
In relation to things happening within the same session:
(a) If an uninstallation has been completed, followed by clicking the "Save" icon on the desktop...
Then a package installation to follow would be prevented.
The user would need to reboot to a new session before attempting an installation.
OR...
(b) An attempt to install a package...
After an uninstallation...
But BEFORE that uninstallation has been saved...
Will be prevented.
The user would need to 1st save the uninstallation, and only then re-attempt the install.
2. "
because the uninstallation may override the installation"
(a) I have no idea why an uninstallation would perhaps override an installation.
Hence, I fail to comprehend the significance.
3. "
Uninstallations are prevented if a "save" or installation have been done"
(a) Shouldn't that say:
"Uninstallations are prevented if an installation and/or save have been done"...
This seems to me to be saying that whenever one or other or both [installation/save] have been completed [or even just started but failed to complete?]...
Then a subsequent uninstallation would be prevented.
4. "
because the uninstall might corrupt an installation or fail to survive a reboot"
(a) Is this the reason you made the arrangement to prevent an uninstall under the conditions in 3 above?
So as to eliminate this risk; create certainty of success?
5. "
The conflicting situations will require a reboot to trigger saving to flash drive between installations and uninstallations"
(a) OUCH! So only 1 install OR uninstall [not both, or multiples of both?] in any 1 session?
And yet, would not it be good enough to do a manual save DURING THE SESSION, and between the two [after the one, and before the other].
6. "
Ideally, you should be able to uninstall, then save, then install, all in the same session. But this is not possible due to a problem with the package installer"
(a) A restatement, using other words, of the situation explained in 5 above.
This seems to answer my question in 5.
7. "
It must be completely terminated in order for a "save" to be performed. But the installer/uninstaller does not terminate completely, leaving its main process executing, even though its dialog window is closed by the "Exit package manager" button"
(a) And this is the reason for the problem explained in both 5 & 6, as to why certain actions must be prevented, as explained above.
8. "
To clarify how the conflict prevention works, it merely instructs the user to reboot if a conflict among packages is possible"
(a) Who decides [and WHEN], that a conflict is possible?
You [during coding?] or the user [at the point he is given the instruction to reboot]?
(b) Perhaps you might have said:
"Where I have previously determined that a conflict might arise when a certain package is being installed/uninstalled...
I have arranged that the code will instruct the user to reboot." [to avoid software corruption].
9. Have I [mis]understood?
Did I get close?
10. I'm now offered the choice "to save or not to save" at shutdown/reboot.