在Linux上安装Rethinkdb时出错(libprotobuf7无法安装)

时间:2017-03-04 02:18:09

标签: linux rethinkdb linuxmint mint

我正在尝试在Linux Mint 18 Serena上安装rethinkdb,我添加了存储库但是当我执行代码时:

sudo apt-get install rethinkdb

它会抛出此错误:

enter image description here

1 个答案:

答案 0 :(得分:2)

对于Mint 18 Sarah有效的this issue,因为Mint 18.1 Serena也基于xenial,它应该有效:

echo "deb http://download.rethinkdb.com/apt xenial main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list

然后按redthinkdb installation instruction

中的说明
wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
sudo apt-get update
sudo apt-get install rethinkdb

查看xenial package,它使用libprotobuf9v5,因此您可能安装了错误的存储库链接:

Package: rethinkdb
Version: 2.3.1~0xenial
Architecture: amd64
Maintainer: RethinkDB <packaging@rethinkdb.com>
Installed-Size: 38533
Pre-Depends: adduser (>= 3.40), procps (>= 3.2)
Depends: libc6 (>= 2.14), libcurl3 (>= 7.16.2), libgcc1 (>= 1:3.4), libprotobuf9v5, libssl1.0.0 (>= 1.0.1d), libstdc++6 (>= 5.2), zlib1g (>= 1:1.1.4)

检查/etc/apt/sources.list.d/rethinkdb.list文件以确保您拥有xenial repo