10 years ago
Under dev. review
As long if it's an option. It's usefull for new users.
@LexMK You are right to a point, but I think most times you add a program or upgrade and your box stops working. Then you could roll that back. If that does not work then you just let your magic script roll everything back to a safe state.
All in all I think it is a great idea that will do much to add quality to Mint
@Hammer459 Just a note: people capable of knowing what and where exactly they did wrong are usually also able to fix it by themselves.
What I'm proposing after all is a simple shell script that I can even make by myself.
I like it
@LexMK you have a point. Make it a choice. If you have messed around with a bunch of repos and other stuff, revert to a safe default. If the problem occurred after one specific install, revert one step. My guess is that reverting one step will fix the problem in most cases. However, if that is not the case, revert everything to default is probably the best way to go.
@Hammer459 because default ones are always "safer". If the last three changes were all to experimental repos, switching one back wouldn't solve anything. That method would take up too much time and probably going to end up using the default ones anyway.
Reverting the system to its original status is the only way to be totally sure it will work again. This thing is an emergency procedure, so it requires a solution that is guaranteed to work.
To comment on the specific list by @LexMK ...
Why not add a checkpoint every time you install and change the sources.list and versions back to whatever was in effect prior to last install en revert packages to that version. Then proceed with 3)and 5).
If that did not solve the problem go back one more snapshot until problem is solved.
simplicity is the ultimate sophistication; make it a one key recovery.
@remoulder The feature I'm asking for is in Windows since Win '98. Yes. WINDOWS 98. Apple has tech support centers all around the world that can fix any problem in a matter of two or three days and the best we can come up with is telling to our user "Try to not break anything. If you do, just wipe your drive and reinstall"....
....yet, we keep asking ourselves why people won't choose free software.
@remoulder in the real world software can screw up the system. Maybe a bad update or a supposedly safe program. It is not an appropriate response to say that the user should recover by reinstalling. Even the Dark Empire from Redmond has a reasonably working way to recover and undo the last install and/or os upgrade.
I occationally make misstakes even though I have a lifetime as a Unix developer and tester. We must assume that the average user makes those and more misstakes. Also remember that LM is developed for the average Joe not just for you and me.
Thus... If there is a way to make a recovery tool to help the average user recover a bad upgrade/install it should be implemented.
Remember we gain more acceptance from the masses by making LM easy to use, not by, in effect, calling the user who makes a misstake an idiot...
Meanwhile ... back in the real world, learning how not to break things in the first place might be useful? There is already a (semi) automated recovery process that does the things you list, it's called a re-install.
Good idea, promoting