From 1cae9281dbd69516f7674dccf2aac0644a7a470d Mon Sep 17 00:00:00 2001 From: eatradish Date: Fri, 1 Nov 2024 22:56:15 +0800 Subject: [PATCH] feat: add `oma install` arg `--force-unsafe-io` --- acbs/pm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acbs/pm.py b/acbs/pm.py index 1eb5cd5..4f5e77d 100644 --- a/acbs/pm.py +++ b/acbs/pm.py @@ -151,7 +151,7 @@ def install_from_repo_apt(packages: List[str]): def install_from_repo_oma(packages: List[str]) -> bool: logging.debug('Installing %s from oma' % packages) - command = ['oma', 'install', '-y', '--force-confnew', '--no-progress'] + command = ['oma', 'install', '-y', '--force-confnew', '--no-progress', '--force-unsafe-io'] command.extend(packages) try: subprocess.check_call(command)