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