There is a variable in almalinux-deploy.sh named "exclude_pkgs" to protect some key packages from removal (namely in the distro-sync operation).
There should be a way to protect other locally installed packages that track at a higher release than the destination distro.
This could be an export variable like "LOCAL_EXCLUDE" or some additional paramater to the almalinux-deploy.sh like "--local-exclude=".
In my case we track/build higher versions of packages like vim and LibreOffice and a few others.
This additional exclusion could be added to the "exclude_pkgs" variable.
There is a variable in almalinux-deploy.sh named "exclude_pkgs" to protect some key packages from removal (namely in the distro-sync operation). There should be a way to protect other locally installed packages that track at a higher release than the destination distro. This could be an export variable like "LOCAL_EXCLUDE" or some additional paramater to the almalinux-deploy.sh like "--local-exclude=". In my case we track/build higher versions of packages like vim and LibreOffice and a few others.
This additional exclusion could be added to the "exclude_pkgs" variable.