修复还是存在部分软件包缺少依赖但还是无法识别出来 直接抛出异常

This commit is contained in:
wangsong 2022-10-17 16:38:31 +08:00
parent ed26098779
commit fe68696ad4
1 changed files with 2 additions and 0 deletions

View File

@ -568,6 +568,8 @@ class InstallBackend():
if pkg_cache.marked_keep == True:
pkg_cache.mark_install(False, False, True)
if pkg_cache.marked_keep == True:
raise
resolver.clear(pkg_cache)
resolver.protect(pkg_cache)