site  contact  subhomenews

Logic to remove duplicate user-installed package

October 21, 2022 — BarryK

The current release of EasyOS does not have the 'samba' package, so the user may have installed the samba PET from the package manager.

The next release of EasyOS will have samba builtin, in 'easy.sfs', so the user-installed package has become redundant.

Ditto with 'html-notepad', that will be builtin in the next release.

There is a new script in the initrd, /sbin/uninstall, that detects this duplicate situation, and automatically removes the user-installed package. /sbin/uninstall is called from /sbin/fixlayers, which is called from  the 'init' script.   

Tags: easy