mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 13:14:17 +02:00
[fix][arch] crashes when downgrading a package after being recently installed
This commit is contained in:
@@ -696,7 +696,8 @@ class ArchManager(SoftwareManager):
|
|||||||
|
|
||||||
context = TransactionContext(name=pkg.name, base=pkg.get_base_name(), skip_opt_deps=True,
|
context = TransactionContext(name=pkg.name, base=pkg.get_base_name(), skip_opt_deps=True,
|
||||||
change_progress=True, dependency=False, repository=pkg.repository, pkg=pkg,
|
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)
|
self._sync_databases(context.config, root_password, handler)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user