The answer is here, along with ideas about alternative methods of installing Firefox and removing the Snap infrastructure: