$ apt list snapd
Listing... Done
snapd/bionic-updates,now 2.37.1+18.04 amd64 [installed]
N: There is 1 additional version. Please use the '-a' switch to see it
$ sudo systemd-run --pty --wait '/bin/echo' '$PATH'
[sudo] password for will:
Running as unit: run-u121.service
Press ^] three times within 1s to disconnect TTY.
/sbin:/usr/sbin:/bin:/usr/bin:/snap/bin
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 8ms
After upgrade:
$ apt list snapd updates, now 2.37.1+18.04 amd64 [installed]
Listing... Done
snapd/bionic-
N: There is 1 additional version. Please use the '-a' switch to see it
$ sudo systemd-run --pty --wait '/bin/echo' '$PATH' usr/sbin: /bin:/usr/ bin:/snap/ bin status= 0
[sudo] password for will:
Running as unit: run-u121.service
Press ^] three times within 1s to disconnect TTY.
/sbin:/
Finished with result: success
Main processes terminated with: code=exited/
Service runtime: 8ms