Here’s the output when I try to install Slack.
$ sudo dpkg -i slack-desktop-4.12.2-amd64.deb
Selecting previously unselected package slack-desktop.
(Reading database ... 155664 files and directories currently installed.)
Preparing to unpack slack-desktop-4.12.2-amd64.deb ...
Unpacking slack-desktop (4.12.2) ...
dpkg: dependency problems prevent configuration of slack-desktop:
slack-desktop depends on libappindicator3-1; however:
Package libappindicator3-1 is not installed.
dpkg: error processing package slack-desktop (--install):
dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for mailcap (3.68) ...
Errors were encountered while processing:
slack-desktop
Then I try to install the dependencies
$ sudo apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
slack-desktop
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 148 MB disk space will be freed.
Do you want to continue? [Y/n]
I can’t figure out why this happens. I’ve already run
apt-get update
apt-get upgrade
apt-get clean
apt-get autoclean
Here’s some information that may be useful:
$ cat /etc/apt/sources.list
deb http://deb.debian.org/debian testing main contrib non-free
$ cat /etc/*release*
PRETTY_NAME="Debian GNU/Linux bullseye/sid"
NAME="Debian GNU/Linux"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Also, I have another laptop running Debian testing with libappindicator3-1 installed:
$ apt policy libappindicator3-1
libappindicator3-1:
Installed: 0.4.92-8
Candidate: 0.4.92-8
Version table:
*** 0.4.92-8 100
100 /var/lib/dpkg/status
11
Answers
The package
libappindicator3-1
is not intesting
but is available in Debianstable
andsid
Hopefully you can install it from there without breaking anything
You can include Sid in your /etc/apt/sources.list as follows:
Update your repos and install libappindicator3-1:
The next step is to remove Sid from your /etc/apt/sources.list:
Remember to update your repos to avoid using Sid now on:
Finally install Slack from .deb file you had downloaded:
Alternatively you can use pinned packages explained in the Debian documentation, for pinning libappindicator3-1
Enabling snaps on Debian:
and installing Slack:
worked for me.
I search for packages on https://debian.pkgs.org/ and download then install. If it requires more packages it would be exhaustive.
https://debian.pkgs.org/sid/debian-main-amd64/libindicator3-7_0.5.0-4_amd64.deb.html
https://debian.pkgs.org/sid/debian-main-amd64/libappindicator3-1_0.4.92-8_amd64.deb.html
I had such issue with new version of Debian 11 (2021-09-07).
Here is what I did to install Slack desktop app on Debian.
I will use
slack-desktop-4.19.2-amd64.deb
file for the exampleOpen the file
./unpack/DEBIAN/control
and replacelibappindicator3-1
withlibayatana-appindicator3-1
After that do
Now you should have
slack.deb
file.The last step is
sudo apt install ./slack.deb
Or you can use below script
like this:
apt-install-libayatana BreakTimer.deb
Source is here https://github.com/rofrol/dotfiles/blob/master/bin/apt-install-libayatana
For Debian 11 (Bullseye), you can manually download the Debian 10 (Buster) version of the missing dependencies:
You can then install these together with Slack:
It is better to use equivs:
You can try this:
You can try using Dpkg-ayatana to install packages.
I’ve tested it with Discord, Draw.io, Figma, and Slack on Kali GNU/Linux Rolling.
To install Slack version x.x.x, run:
The problem is the Ubuntu package
libappindicator3-1
in Debian is calledlibayatana-appindicator3-1
.The cleanest solution by far in this situation is to create an alias package
libappindicator3-1
withlibayatana-appindicator3-1
as its dependency.For example, using equivs:
Voilà! Now you can install
slack-desktop.deb
as-is normally.From the other answer, I have created a slack.deb file which can be installed by normal process.
Link to the slack.deb file: slack.deb file