Re: Distro upgrade strategies


Adrian Bunk
 

On Fri, Jun 19, 2020 at 03:35:33PM +0100, csimmonds wrote:
I would like to add that this is a design decision. Package updates, be
they based on rpm, deb, or ipk, are not atomic. Which means that if you
power off during an update the system will usually not boot afterwards.
This is not true, package manager like dpkg are trying very very hard to
make things atomic where they have to be and allow recovery from any
kind of interruption.

I do not recall anyone ever describing such a problem with Debian
(or Ubuntu) in over 20 years as Debian user/administrator/developer.

...
OpenEmbedded/Yocto
Project expect the update will be done by programming a new root
filesystem image.
...
Note that what you write would imply that package management must not
ever be used on OpenEmbedded/Yocto devices.

If there is any potential problem, it would equally apply to the
situation where you are upgrading just one package for a security
update.

HTH,
Chris
cu
Adrian

Join yocto@lists.yoctoproject.org to automatically receive all group messages.