mirror: don't call apt cleanup

* apt cleanup often fails due to the temporary apt instances still being
  around.  Skip the cleanup step, sadly, until that bug is addressed.
This commit is contained in:
Dan Bungert 2022-01-18 17:20:09 -07:00
parent b312a24468
commit 213928d0f9
1 changed files with 3 additions and 2 deletions

View File

@ -133,8 +133,9 @@ class MirrorController(SubiquityController):
self._apply_apt_config_task.start_sync()
async def _apply_apt_config(self):
if self.apt_configurer is not None:
await self.apt_configurer.cleanup()
# if self.apt_configurer is not None:
# FIXME disabled until we can sort out umount
# await self.apt_configurer.cleanup()
self.apt_configurer = get_apt_configurer(
self.app, self.app.controllers.Source.source_path)
await self.apt_configurer.apply_apt_config(self.context)