From 2c38c8a144384fc404e40e909141ed1eb6e6f701 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Tue, 7 Jul 2026 07:04:38 +0200 Subject: [PATCH] lib.distros.suse.Distro: Fix duplicate zypper opts In non-interactive mode, "zypper dup" runs with the options --force-resolution and --auto-agree-with-licenses duplicated, fix that. Signed-off-by: Jan Lindemann --- src/python/jw/pkg/lib/distros/suse/Distro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/jw/pkg/lib/distros/suse/Distro.py b/src/python/jw/pkg/lib/distros/suse/Distro.py index 6c9d1f1a..9969b4a5 100644 --- a/src/python/jw/pkg/lib/distros/suse/Distro.py +++ b/src/python/jw/pkg/lib/distros/suse/Distro.py @@ -47,7 +47,7 @@ class Distro(Base): await self.zypper(['refresh']) async def _dup(self, download_only: bool) -> None: - args = ['dup', '--force-resolution', '--auto-agree-with-licenses'] + args = ['dup'] if download_only: args.append('--download-only') args += self.__update_extra_opts