在 Linux mint 上安装 Rethinkdb 时出错(libprotobuf7 不可安装)

Error installing Rethinkdb on Linux mint (libprotobuf7 not installable)

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

sudo apt-get install rethinkdb

它抛出这个错误:

来自 this issue,它对 Mint 18 Sarah 有效,因为 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,因此您可能安装了错误的存储库 link :

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 存储库