C
C
Cyril2017-06-26 12:37:12
linux
Cyril, 2017-06-26 12:37:12

How to protect yourself before upgrading Linux?

There are times when after updating the Linux packages / kernel, something stops working. If Ubuntu/CentOS hasn't been updated for more than a month, how do you properly protect yourself before updating packages and the kernel? Is it enough to create a disk image or are there other ways?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry, 2017-06-26
@belyaevcyrill

- see which packages are updated + version before and after.
- look at the change logs for each, find out what has changed / affected and whether it intersects with the functionality used
. As a rule, updates within one release do not break anything. If this is a dist-upgrade, then the probability is high and it is worth experimenting in a test environment.
Deploy a complete copy of the existing machine, make an update, see the result.

C
CityCat4, 2017-06-26
@CityCat4

I don’t know how bubunt, but my centos has never broken down in three years (pah-pah-pah-boom-boom-boom) after updates, only because of my own curvature: D Everything is strictly there with updates - if of course What horrible turnips do not pick up.

P
pfg21, 2017-06-27
@pfg21

Switch to btrfs. There is an extension for apt that will take a backup snapshot of the old root on every update.
apt-btrfs-snapshot - Automatically create snapshot on apt operations
roll back anything in a few minutes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question