From 83c45cee6206b44897461224013fc9607ccd3e59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Slez=C3=A1k?= Date: Mon, 17 Jun 2024 12:05:30 +0200 Subject: [PATCH] fix(service): Fixed libzypp repository cache removal --- service/lib/agama/software/manager.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/service/lib/agama/software/manager.rb b/service/lib/agama/software/manager.rb index 4ca17754c2..4cdf82d899 100644 --- a/service/lib/agama/software/manager.rb +++ b/service/lib/agama/software/manager.rb @@ -510,6 +510,9 @@ def update_repositories(new_product) else # delete all, the #probe call will add the new repos repositories.delete_all + # deleting happens only in memory, to really delete the caches we need + # to write the repository setup to the disk + Yast::Pkg.SourceSaveAll end end end