gpt4 book ai didi

debian - 缺少 libappindicator3-1 安装 Slack

转载 作者:行者123 更新时间:2023-12-04 11:22:10 25 4
gpt4 key购买 nike

这是我尝试安装 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
然后我尝试安装依赖项
$ 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]

我无法弄清楚为什么会发生这种情况。我已经跑了
apt-get update
apt-get upgrade
apt-get clean
apt-get autoclean
以下是一些可能有用的信息:
$ 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/"

另外,我还有另一台笔记本电脑运行 Debian 测试并安装了 libappindicator3-1:
$ 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

最佳答案

您可以在 中包含 Sid/etc/apt/sources.list 如下:

###### Debian Main Repos
deb http://deb.debian.org/debian/ testing main contrib non-free
deb http://deb.debian.org/debian/ testing-updates main contrib non-free
deb http://deb.debian.org/debian-security testing-security main

# SID
deb http://deb.debian.org/debian/ sid main contrib non-free
更新您的存储库并安装 libappindicator3-1 :
apt update
apt install libappindicator3-1
下一步是从您的 中删除 Sid/etc/apt/sources.list :
###### Debian Main Repos
deb http://deb.debian.org/debian/ testing main contrib non-free
deb http://deb.debian.org/debian/ testing-updates main contrib non-free
deb http://deb.debian.org/debian-security testing-security main

# SID
#deb http://deb.debian.org/debian/ sid main contrib non-free
请记住更新您的存储库以避免现在使用 Sid:
最后从您下载的 .deb 文件安装 Slack:
apt install /home/lgallard/Downloads/slack-desktop-4.14.0-amd64.deb
或者,您可以使用 Debian documentation 中解释的固定封装, 用于固定 libappindicator3-1

关于debian - 缺少 libappindicator3-1 安装 Slack,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65978703/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com