linux – 任何人都可以说如何在ubuntu14.04中安装松弛并尝试这是错误

linux – 任何人都可以说如何在ubuntu14.04中安装松弛并尝试这是错误,第1张

概述ssh: Could not resolve hostname slack-master: Name or service not knownrsync: did not see server greetingrsync error: error starting client-server protocol (code 5) at main.c(1653) [Receiver=3.1.0]
ssh: Could not resolve hostname slack-master: name or service not kNownrsync: dID not see server greetingrsync error: error starting clIEnt-server protocol (code 5) at main.c(1653) [Receiver=3.1.0]FATAL[slack-getroles]: 'rsync --@R_403_6862@s --times -e ssh slack-master::slack/etc/roles.conf /var/cache/slack/_role_List' exited 5 at /usr/lib/slack/slack-getroles line 158.FATAL[slack]: '/usr/lib/slack/slack-getroles' exited 5 at /usr/sbin/slack line 205.
解决方法 我怀疑,这个问题是从我安装了anaconda的python包时发生的.以下步骤帮助我解决了这个问题.

第1步:重启机器

第2步:$sudo apt-get删除松弛

第3步:从Slack网站下载最新版本的slack(在这里找到最新的软件包 – https://slack.com/):
$wget https://downloads.slack-edge.com/linux_releases/slack-desktop-2.9.0-amd64.deb

第4步:$使用dpkg实用程序安装下载的软件包:
sudo dpkg -i slack-desktop-2.9.0-amd64.deb

在第4步中,我们将看到以下错误

$sudo dpkg -i slack-desktop-2.9.0-amd64.deb (Reading database ... 215272 files and directorIEs currently installed.)Preparing to unpack slack-desktop-2.9.0-amd64.deb ...Unpacking slack-desktop (2.9.0) over (2.9.0) ...dpkg: dependency problems prevent configuration of slack-desktop: slack-desktop depends on python; however:  Package python is not installed.dpkg: error processing package slack-desktop (--install): dependency problems - leaving unconfiguredProcessing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...Rebuilding /usr/share/applications/bamf-2.index...Processing triggers for mime-support (3.59ubuntu1) ...Errors were encountered while processing: slack-desktop$

要解决此问题:在步骤5中

步骤5:使用以下命令安装缺少的依赖项:sudo apt-get install -f

$sudo apt-get install -fReading package Lists... DoneBuilding dependency tree       Reading state information... DoneCorrecting dependencIEs... DoneThe following additional packages will be installed:  python python2.7Suggested packages:  python-doc python-tk python2.7-docThe following NEW packages will be installed:  python python2.70 upgraded,2 newly installed,0 to remove and 125 not upgraded.1 not fully installed or removed.Need to get 361 kB of archives.After this operation,1,009 kB of additional disk space will be used.Do you want to continue? [Y/n] YGet:1 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python2.7 amd64 2.7.12-1ubuntu0~16.04.1 [224 kB]Get:2 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python amd64 2.7.11-1 [137 kB]Fetched 361 kB in 0s (384 kB/s) Selecting prevIoUsly unselected package python2.7.(Reading database ... 215272 files and directorIEs currently installed.)Preparing to unpack .../python2.7_2.7.12-1ubuntu0~16.04.1_amd64.deb ...Unpacking python2.7 (2.7.12-1ubuntu0~16.04.1) ...Selecting prevIoUsly unselected package python.Preparing to unpack .../python_2.7.11-1_amd64.deb ...Unpacking python (2.7.11-1) ...Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...Rebuilding /usr/share/applications/bamf-2.index...Processing triggers for mime-support (3.59ubuntu1) ...Processing triggers for man-db (2.7.5-1) ...Processing triggers for doc-base (0.10.7) ...Processing 1 added doc-base file...Setting up python2.7 (2.7.12-1ubuntu0~16.04.1) ...Setting up python (2.7.11-1) ...Setting up slack-desktop (2.9.0) ...$
总结

以上是内存溢出为你收集整理的linux – 任何人都可以说如何在ubuntu14.04中安装松弛并尝试这是错误全部内容,希望文章能够帮你解决linux – 任何人都可以说如何在ubuntu14.04中安装松弛并尝试这是错误所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/yw/1025215.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-23
下一篇 2022-05-23

发表评论

登录后才能评论

评论列表(0条)

保存