Rollback Jitsi packages on Debian

 · Systeemkabouter

Last night new JITSI packages were released that broke in my setup. Making sure this would be the last time I break production by auto updating, I downgraded the packages manually and after that put a 'hold' in place for these specific packages. I actually hate doing that, because it is trading security for stabililty, but right now it will have to do.

I recorded my steps for future reference

Check /var/log/dpkg.log for previous versions:

# grep upgrade /var/log/dpkg.log 

2020-05-01 04:03:54 upgrade jitsi-videobridge2:all 2.1-183-gdbddd169-1 2.1-197-g38256192-1 
2020-05-01 04:03:59 upgrade jitsi-meet:all 2.0.4468-1 2.0.4546-1 
2020-05-01 04:03:59 upgrade jicofo:all 1.0-549-1 1.0-566-1 
2020-05-01 04:04:04 upgrade jitsi-meet-web:all 1.0.4025-1 1.0.4073-1 
2020-05-01 04:04:05 upgrade jitsi-meet-web-config:all 1.0.4025-1 1.0.4073-1 
2020-05-01 04:04:05 upgrade jitsi-meet-prosody:all 1.0.4025-1 1.0.4073-1 
2020-05-01 04:04:06 upgrade jitsi-meet-turnserver:all 1.0.4025-1 1.0.4073-1 

remove the packages

dpkg -r jitsi-videobridge2 jitsi-meet jicofo jitsi-meet-web jitsi-meet-web-config jitsi-meet-prosody jitsi-meet-turnserver

install specific version of packages

apt-get install jitsi-videobridge2=2.1-183-gdbddd169-1 jitsi-meet=2.0.4468-1 jicofo=1.0-549-1 jitsi-meet-web=1.0.4025-1 jitsi-meet-web-config=1.0.4025-1 jitsi-meet-prosody=1.0.4025-1 jitsi
-meet-turnserver=1.0.4025-1

hold the packages

for i in jitsi-videobridge2 jitsi-meet jicofo jitsi-meet-web jitsi-meet-web-config jitsi-meet-prosody jitsi-meet-turnserver; do echo "$i hold" | dpkg --set-selections; done

reapply ansible playbook