Feature added by: Stanislav Baiduzhyi (TheIndifferent) Feature #319305, revision 1 Title: atomic install/update openSUSE Distribution: Unconfirmed Priority Requester: Desirable Requested by: Stanislav Baiduzhyi (theindifferent) Partner organization: openSUSE.org Description: Currently, updating big packages (or just having slow hard drive) leaves the system in inconsistent state for couple of seconds, and the apps using those packages may start in inconsistent state. If the hard reset (for any reason) happens at that moment the entire system may be left in inconsistent state. Yes it is possible to clean it up or restore from backup, but... If I understand correctly, the backup on Btrfs is free operation. So it might be possible to change the install/update procedure to following: 1. take backup A. 2. take backup B. 3. chroot into backup B, execute the update there. 3a. if the update failed - discard backup B. 3b. if the update succeeded - restore backup B as working system, as atomically as possible. -- openSUSE Feature: https://features.opensuse.org/319305