APT itself is not involved with (re)starting services. The individual packages do this in their maintainer scripts, so reassigning to qemu (which contains qemu-guest-agent).
** Package changed: apt (Ubuntu) => qemu (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/2028124 Title: apt dist-upgrade does not restart package qemu-guest-agent Status in qemu package in Ubuntu: Confirmed Bug description: When my system Ubuntu 22.04.2 LTS performs apt dist-upgrade (manually or from unattended upgrades) and there is an upadte on package qemu-guest-agent, the agent gets stopped, updated, but is not started. I observed this behaviour on two machines with same result. After I run the apt I see this in syslog, no errors: Jul 19 07:04:02 micro systemd[1]: Stopping QEMU Guest Agent... Jul 19 07:04:02 micro systemd[1]: qemu-guest-agent.service: Deactivated successfully. Jul 19 07:04:02 micro systemd[1]: Stopped QEMU Guest Agent. Jul 19 07:04:02 micro systemd[1]: qemu-guest-agent.service: Consumed 31min 49.962s CPU time. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2028124/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp