[fix][arch] crashes when downgrading a package after being recently installed

This commit is contained in:
Vinicius Moreira
2020-06-12 18:18:48 -03:00
parent 8a131c0b64
commit 3ee6056814

View File

@@ -696,7 +696,8 @@ class ArchManager(SoftwareManager):
context = TransactionContext(name=pkg.name, base=pkg.get_base_name(), skip_opt_deps=True,
change_progress=True, dependency=False, repository=pkg.repository, pkg=pkg,
arch_config=read_config(), watcher=watcher, handler=handler, root_password=root_password)
arch_config=read_config(), watcher=watcher, handler=handler, root_password=root_password,
installed=set(), removed={})
self._sync_databases(context.config, root_password, handler)