On 9 Aug 2025, at 14:48, Tomoaki AOKI <[email protected]> wrote:
> 
> As Vermaden replied to different thread of this topic, his issue
> seems to be "in jail". IIUC, he attempted to deinstall everything
> installed PkgPkg (in contrast with PkgBase) keeping PkgBase world
> in the jail intact, but result was everything including PkgBase
> in the jail was deinstalled and made the jail unkillable.
> And stating there should be kinda "safety net" for such a case.

It’s worth noting that this is precisely the kind of thing that the OCI model 
avoids entirely.  You don’t *upgrade* a container, you create container images 
from a description, you create container instances from images.  The issue of 
uninstalling things in a container never arises, because you simply destroy the 
container and create a new one and import persistent data as volumes.

dch@, dfr@, and others have done phenomenal work to enable jails as the 
isolation mechanism for OCI containers and pkgbase is a key part of making this 
useful.

David


Reply via email to