Search code examples
linuxrethinkdblinux-mint

Error installing Rethinkdb on Linux mint (libprotobuf7 not installable)


I am trying to install rethinkdb on Linux Mint 18 Serena, I add the repository but when i execute the code:

sudo apt-get install rethinkdb

it throws this error:

enter image description here


Solution

  • From this issue which is valid for Mint 18 Sarah, as Mint 18.1 Serena is based on xenial too, it should work :

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

    Then as specified in 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
    

    Looking at xenial package, it uses libprotobuf9v5, so you may have installed a wrong repository 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)
    

    Check /etc/apt/sources.list.d/rethinkdb.list file to make sure you have the xenial repo