From 00940741446a521b68f96cdd34c2bd20e07ef35e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Slez=C3=A1k?= Date: Wed, 15 Jun 2022 17:28:13 +0200 Subject: [PATCH] Do not reinitialize the package manager (bsc#1200127) ...that might remove the configured installation repositories - Sync the YaST and libzypp repositories to avoid possible crashes (bsc#1189590) - 4.2.23 --- package/yast2-update.changes | 9 +++++++++ package/yast2-update.spec | 2 +- src/clients/update_proposal.rb | 3 ++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/package/yast2-update.changes b/package/yast2-update.changes index 7c3f9c5..b79f33b 100644 --- a/package/yast2-update.changes +++ b/package/yast2-update.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Jun 15 15:24:01 UTC 2022 - Ladislav Slezák + +- Do not reinitialize the package manager, that might remove + the configured installation repositories (bsc#1200127) +- Sync the YaST and libzypp repositories to avoid possible + crashes (bsc#1189590) +- 4.2.23 + ------------------------------------------------------------------- Fri Jul 23 08:56:04 UTC 2021 - José Iván López González diff --git a/package/yast2-update.spec b/package/yast2-update.spec index 89cf427..0e91089 100644 --- a/package/yast2-update.spec +++ b/package/yast2-update.spec @@ -17,7 +17,7 @@ Name: yast2-update -Version: 4.2.22 +Version: 4.2.23 Release: 0 Summary: YaST2 - Update Group: System/YaST diff --git a/src/clients/update_proposal.rb b/src/clients/update_proposal.rb index 6943c7d..2becfaa 100644 --- a/src/clients/update_proposal.rb +++ b/src/clients/update_proposal.rb @@ -391,7 +391,8 @@ def init_stuff # initialize target PackageCallbacks.SetConvertDBCallbacks - Pkg.TargetInit(Installation.destdir, false) + # sync the YaST and libzypp repositories to avoid possible crashes (bsc#1189590) + Pkg.SourceSaveAll Update.GetProductName