Run apt update when uninstall elasticsearch for re-installation