patching a Debian installation package
Unpack the deb file in question.
dpkg-deb -x slack-desktop-LATEST-VERSION-PLATFORM.deb unpack
dpkg-deb --control slack-desktop-LATEST-VERSION-PLATFORM.deb unpack/DEBIAN
Edit the file named
control
and replace the unsupported library with a supported version/alternativelibappindicator3-1
->libayatana-appindicator3-1
Repackage the contents of the folder
unpack
along with the updatedcontrol
filedpkg -b unpack slack-desktop-LATEST-VERSION-PLATFORM-PATCHED.deb
Install as usual
dpkg -i slack-desktop-LATEST-VERSION-PLATFORM-PATCHED.deb