@@ -555,20 +555,21 @@ Mid of 2023, SUSE has changed the GPG signing key for the SUSE Linux Enterprise
555555# ## Resolution
556556
5575571. Verify the existing keys.
558+ ` ` ` bash
559+ sudo rpm -q gpg-pubkey
560+ ` ` `
558561` ` ` output
559- # rpm -q gpg-pubkey
560562gpg-pubkey-39db7c82-66c5d91a
561563gpg-pubkey-50a3dd1c-50f35137
562564` ` `
563- 2. Create a file named `repo-signing-key-sle-15.txt` using vi editor.
565+ 2. Create a file named `repo-signing-key-sle-15.txt` using `vi` editor under your home directory .
564566
565567` ` ` bash
566- # vi repo-signing-key-sle-15.txt
568+ sudo vi repo-signing-key-sle-15.txt
567569` ` `
568-
5695703. Add the following contents and save the file.
571+
570572` ` ` bash
571- # cat repo-signing-key-sle-15.txt
572573-----BEGIN PGP PUBLIC KEY BLOCK-----
573574Version: GnuPG v2.0.15 (GNU/Linux)
574575
@@ -601,19 +602,23 @@ Y0bH1r5E/rCFhRii/iyCxZN/2KIg/dHo8BXoh5zvzJ1XZ/bgiDnWSkQvdA==
601602` ` `
6026034. Import the key from the file `repo-signing-key-sle-15.txt`.
603604` ` ` bash
604- # rpm --import repo-signing-key-sle-15.txt
605+ sudo rpm --import repo-signing-key-sle-15.txt
605606` ` `
6066075. Verify if the key is imported.
608+ ` ` ` bash
609+ sudo rpm -q gpg-pubkey
610+ ` ` `
607611` ` ` output
608- # rpm -q gpg-pubkey
609612gpg-pubkey-39db7c82-66c5d91a
610613gpg-pubkey-50a3dd1c-50f35137
611614gpg-pubkey-3fa1d6ce-63c9481c
612615` ` `
6136166. Initiate migration.
614617
618+ ` ` ` bash
619+ sudo zypper migration -v
620+ ` ` `
615621` ` ` output
616- # zypper migration -v
617622.
618623.
619624All repositories have been refreshed.
@@ -917,12 +922,14 @@ Reboot is suggested to ensure that your system benefits from these updates.
917922` ` `
9189237. Verify successful execution of migration.
919924` ` ` bash
920- # echo $?
925+ sudo echo $?
926+ ` ` `
927+ ` ` ` output
9219280
922929` ` `
9239308. Reboot the VM.
924931` ` ` bash
925- # reboot
932+ sudo reboot
926933` ` `
927934After reboot, the VM will be successfully migrated to SLES 15 SP6.
928935
0 commit comments