from pyinfra.operations import server server.apt.upgrade()