安装python-lldb-5.0时出现问题

安装python-lldb-5.0时出现问题

我一直试图在我的 Ubuntu Xenial 计算机上安装 LLVM-5。安装一个 Python 包似乎有点麻烦。

sudo apt-get -f install


(Reading database ... 447083 files and directories currently installed.)
Preparing to unpack .../python-lldb-5.0_1%3a5.0.1~svn324026-1~exp1_amd64.deb ...
Unpacking python-lldb-5.0 (1:5.0.1~svn324026-1~exp1) ...
dpkg: error processing archive /var/cache/apt/archives/python-lldb-5.0_1%3a5.0.1~svn324026-1~exp1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/python2.7/dist-packages/lldb', which is also in package python-lldb-4.0 1:4.0-1ubuntu1~16.04.2
Errors were encountered while processing:
/var/cache/apt/archives/python-lldb-5.0_1%3a5.0.1~svn324026-1~exp1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

相关内容