When updating tailscale today (Fedora 44) I got the following error:
[109/121] Removing tailscale-0:1.92.1-1.x86_64 100% | 1.0 B/s | 5.0 B | 00m04s
>>> Running %preun scriptlet: tailscale-0:1.78.0-1.x86_64
>>> Error in %preun scriptlet: tailscale-0:1.78.0-1.x86_64
>>> Scriptlet output:
>>> /var/tmp/rpm-tmp.MRvjUg: line 3: $'\r': command not found
>>> /var/tmp/rpm-tmp.MRvjUg: line 9: syntax error: unexpected end of file from `if' command on line 4
>>>
>>> [RPM] %preun(tailscale-0:1.78.0-1.x86_64) scriptlet failed, exit status 2
>>> Running %preun scriptlet: mullvad-vpn-0:2025.13-1.x86_64
>>> Finished %preun scriptlet: mullvad-vpn-0:2025.13-1.x86_64
>>> Scriptlet output:
>>> Running before-remove.sh
>>>
>>> [RPM] tailscale-0:1.78.0-1.x86_64: erase failed
There is a syntax error on the removal scriptlet from the previous (1.78) version.