Cannot get systemd version: cannot convert systemd version to number

Hello snapd team,

I’m not able to view any snap logs on Debian Trixie as snap logs always fails with the following message:

$ snap logs cups
error: cannot get logs: cannot get systemd version: cannot convert systemd version to number:

I assume snapd is expecting the systemd version number to purely be an integer, without any suffix.

System information:

$ sudo lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux trixie/sid
Release:        n/a
Codename:       trixie
$ snap list snapd
Name   Version  Rev    Tracking       Publisher   Notes
snapd  2.63     21759  latest/stable  canonical✓  snapd
$ apt info systemd
Package: systemd
Version: 256~rc3-2

Thank you for reporting it. There is a pull request up which should fix the problem systemd: strip pre-release suffixes when comparing versions by MiguelPires · Pull Request #14010 · snapcore/snapd · GitHub AFAIU Debian uses reexecution, so as soon as it lands you will be able to do snap refresh --edge snapd and get a fixed version. Alternatively, I believe we will be doing a point release soon, so I’ll try to have it included.