Stop and start quagga when reinstalling