You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2021/03/03 04:28:36 UTC

[GitHub] [incubator-brpc] leonardltk opened a new issue #1349: unmet dependencies : libprotobuf-dev : Depends: libprotobuf-lite9v5 (= 2.6.1-1.3) but 2.6.1-1.3ubuntu1 is to be installed

leonardltk opened a new issue #1349:
URL: https://github.com/apache/incubator-brpc/issues/1349


   Hi i am new to this.
   
   I'm following the [setup ](https://github.com/apache/incubator-brpc/blob/master/docs/cn/getting_started.md)of dependencies for installing brpc.
   
   at this step `sudo apt-get install -y git g++ make libssl-dev libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev`
   
   I have problems with installing `libprotobuf-dev` and `libprotoc-dev`, all the other packages are installed just fine.
   
   Here are the errors
   ```bash
   $ sudo apt-get install libprotobuf-dev
   >>
   The following packages have unmet dependencies:
    libprotobuf-dev : Depends: libprotobuf-lite9v5 (= 2.6.1-1.3) but 2.6.1-1.3ubuntu1 is to be installed
   E: Unable to correct problems, you have held broken packages.
   ```
   ```bash
   $ sudo apt-get install libprotoc-dev
   >>
   The following packages have unmet dependencies:
    libprotoc-dev : Depends: libprotobuf-dev (= 2.6.1-1.3) but it is not going to be installed
   E: Unable to correct problems, you have held broken packages.
   ```
   
   1.  I have tried using `sudo apt-get install` with `--install-suggests`, `-f`, `-m`. They give the same results
   2. I installed `libprotobuf-lite9v5` already too:
   ```bash
   $ sudo apt-get install libprotobuf-lite9v5
   >>
   libprotobuf-lite9v5 is already the newest version (2.6.1-1.3ubuntu1).
   0 upgraded, 0 newly installed, 0 to remove and 451 not upgraded.
   ```
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org