On 27.03.2024 21:29, Michael Hamilton wrote:
Are you using systemd-boot?
No, just the standard grub from a normal install (although perhaps dating back a few years).
So why do you have sdbootutil at all?
Good question. I have no idea. I just had a look:
# zypper search -i --requires sdbootutil S | Name | Summary | Type --+--------------------+-------------------------------------+-------- i | sdbootutil | script to install shim with sd-boot | package i | sdbootutil-snapper | plugin script for snapper | package
# zypper search -i --requires sdbootutil-snapper S | Name | Summary | Type --+------------+-------------------------------------+-------- i | sdbootutil | script to install shim with sd-boot | package
My guess is the default install or some subsequent upgrade assumed snapper is going to be used and it dragged in sdbootutil-snapper. These dependencies seem circular, so what about removing sdbootutil:
# zypper remove --dry-run sdbootutil The following 2 packages are going to be REMOVED: sdbootutil sdbootutil-snapper
Seems OK. But interestingly I get a different answer if I remove sdbootutil-snapper:
# zypper remove --dry-run sdbootutil-snapper The following 4 packages are going to be REMOVED: sdbootutil-snapper snapper snapper-zypp-plugin yast2-snapper
bor@tw:~> rpm -q yast2-snapper sdbootutil-snapper yast2-snapper-5.0.0-1.4.x86_64 package sdbootutil-snapper is not installed bor@tw:~> After installing bor@tw:~> sudo zypper remove --dry-run sdbootutil-snapper Reading installed packages... Resolving package dependencies... The following 2 packages are going to be REMOVED: sdbootutil sdbootutil-snapper 2 packages to remove. After the operation, 47.6 KiB will be freed. Backend: classic_rpmtrans --dry-run Continue? [y/n/v/...? shows all options] (y): I suspect you had extra space between sdbootutil and -snapper.