Lineageos + opengapps: remove gapps, dirty migration to lineageos-for-microg fails
You can do this:


Flash the "microG unofficial installer" (Disclaimer: a flashable zip created by me) that remove the base of GApps from all partitions in addition to installing microG
Wipe /system to remove traces of the installer
Flash LineageOS for microG