尝试在16.04 LTS上安装Slack桌面beta,但在.deb软件包上运行apt-get install后收到错误消息:
Unpacking slack-desktop (2.1.2) ...
dpkg: error processing archive /home/Me/Downloads/slack-desktop-2.1.2-amd64.deb (--unpack): trying to overwrite /usr/share/doc/slack/copyright', which is also in package slack 0.15.2-7
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing: /home/Me/Downloads/slack-desktop-2.1.2-amd64.deb
N: Can't drop privileges for downloading as file '/home/Me/Downloads/slack-desktop-2.1.2-amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
E: Sub-process /usr/bin/dpkg returned an error code (1)
看起来它与松弛的0.15.2-7软件包冲突,我想这是Ubuntu附带的其他一些无关的软件包。
关于如何克服这个问题并安装松弛桌面软件包的任何想法?
刚尝试过,得到了以下内容:
—
flaminbjuggler
$ sudo dpkg -i slack-desktop-2.1.2-amd64.deb (Reading database ... 224873 files and directories currently installed.) Preparing to unpack slack-desktop-2.1.2-amd64.deb ... Unpacking slack-desktop (2.1.2) ... dpkg: error processing archive slack-desktop-2.1.2-amd64.deb (--install): trying to overwrite '/usr/share/doc/slack/copyright', which is also in package slack 0.15.2-7 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: slack-desktop-2.1.2-amd64.deb
sudo dpkg -i slack-desktop-2.1.2-amd64.deb
,sudo apt -f install
如果有依赖性问题吗?