You are not logged in.
After updating my Arch system it happens that something is not working. And the solution always costs a lot of time. Sometimes I am even afraid of typing in "yaourt -Syu", because I know something gets broken, even if I don't know it exactly after the update. But in many cases it is something with the webserver, because the websites don't work anymore.
To avoid those blocking issues, I would like to have some kind of button, which roll back everything to the point I pressed "Please start from here if I press the button"... some kind of snapshot of a virtual machine.
Does a simple solution exist? Because it would save a lot of time if I could press a button before updating the system and press another button to discard all changes done since the last button was pressed.
An important part would be that it could survive a reboot. Does something similar exist?
Thanks a lot for your help and tips.
Offline
Sometimes I am even afraid of typing in "yaourt -Syu"
Yaourt is not your package manager.
Moving to NC...
Offline
maxmoon wrote:Sometimes I am even afraid of typing in "yaourt -Syu"
Yaourt is not your package manager.
Moving to NC...
You don't say! But yaourt -Syu is magically doing the same thing like pacman -Syu... Starting an offtopic discussion isn't nice of you!
Back to topic...
I use Arch Linux for years but I couldn't figure out a solution for those time wasting broken updates, so is it really a question for the newbie corner to get answers for it?
Offline
If you think that yaourt is your package manager, I am not surprised that you find that your updates are problematic. My point was not offtopic, it was that the issue is fundamentally operator error, not Arch. That's why it was moved to Newbie Corner.
Offline
But in many cases it is something with the webserver, because the websites don't work anymore.
If you are using AL on a server, you should have a test system where updates are being tested before they get installed on the server.
a few options to save system states :
- create disk images before an after changes
- btrfs snapshots could also be used
- use Virtual Machines for the servers. many hypervisors have excellent rollback/snapshotting features
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
https://wiki.archlinux.org/index.php/Btrfs#Snapshots
https://wiki.archlinux.org/index.php/Ar … cific_date
https://wiki.archlinux.org/index.php/Do … Automation
Sometimes I am even afraid of typing in "yaourt -Syu"
You're probably running some arch derivate, but if you're "afraid" to update, you're using the wrong distro for sure.
Online
As for the "sandbox" - what you mean is a recovery solution. Yes there is. https://wiki.archlinux.org/index.php/System_backup
Last edited by Roken (2017-12-15 22:51:30)
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline
You're probably running some arch derivate, but if you're "afraid" to update, you're using the wrong distro for sure.
Exactly this. If Arch breaks in critical ways for you on a regular basis, and you are afraid to update, you might be happier with Debian stable.
If you decide to stay with Arch, rather than looking for some pushbutton rollback solution, try to understand how and why things break, and fix them. Breakage will become less common as you learn more. With a pushbutton rollback you will never learn anything.
Last edited by 2ManyDogs (2017-12-16 00:40:44)
Offline
And as a last resort I guess one can always use the Arch Linux Archive to go back to a working configuration.
Offline
A filesystem level snapshot will get you most of the way there. However judging from the nature of your question I'd say that may cause you more problems than it would solve.
As others have said, Arch users need to be fairly familiar with their system to the point that 'not knowing what has gone wrong' isn't common at all. Debian is better for other users.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline