Is it possible do undo the swupd update?

Hi everyone,

I may need to do a system update via swupd update in a server that I use for production.

If the update breaks something that I am not able to fix, is it possible do undo the swupd update safely?

Manually installed programs under /usr will disappear, your /home, /usr/local, /opt, /etc files will be ok.

you can update forward (by default)… but (within some reasonable distance) you can also go backwards with swupd.
So in that sense you can undo an update.

swupd repair (see the docs for exact options) is your friend there