I just did a do-release-upgrade from impish to jammy (to check a different situation) and I've got the above message (with the "%s"), too:
┌────────────────────────┤ Pending kernel upgrade ├────────────────────────┐
│ │
│ Newer kernel available │
│ │
│ The currently running kernel version is 5.13.0-25-generic which is not │
│ the expected kernel version %s. │
│ │
│ Restarting the system to load the new kernel will not be handled │
│ automatically, so you should consider rebooting. │
│ │
│ <Ok> │
│ │
└──────────────────────────────────────────────────────────────────────────┘
I just did a do-release-upgrade from impish to jammy (to check a different situation) and I've got the above message (with the "%s"), too:
┌──── ─────── ─────── ──────┤ Pending kernel upgrade ├────── ─────── ─────── ────┐ ─────── ─────── ─────── ─────── ─────── ─────── ─────── ─────── ─────── ─────── ┘
│ │
│ Newer kernel available │
│ │
│ The currently running kernel version is 5.13.0-25-generic which is not │
│ the expected kernel version %s. │
│ │
│ Restarting the system to load the new kernel will not be handled │
│ automatically, so you should consider rebooting. │
│ │
│ <Ok> │
│ │
└────