You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by Apache Pulsar Slack <ap...@gmail.com> on 2019/02/21 09:11:02 UTC

Slack digest for #dev - 2019-02-21

2019-02-20 17:46:33 UTC - Grant Wu: I have a really stupid question: how do I install `apt-install` command?
----
2019-02-20 17:47:32 UTC - Grant Wu: <https://pulsar.apache.org/docs/en/client-libraries-cpp/#deb> From here
----
2019-02-20 17:54:44 UTC - Guy Feldman: it should be just `apt install` try `apt install -f apache-pulsar-client*.deb`
----
2019-02-20 17:57:11 UTC - Grant Wu: oops
----
2019-02-20 17:57:13 UTC - Grant Wu: alright
----
2019-02-20 18:00:27 UTC - Grant Wu: It doesn’t work
----
2019-02-20 18:00:52 UTC - Grant Wu: I’m getting this:
```
root@77a6e7215e31:~# apt install -f apache-pulsar-client.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package apache-pulsar-client.deb
E: Couldn't find any package by glob 'apache-pulsar-client.deb'
E: Couldn't find any package by regex 'apache-pulsar-client.deb'
root@77a6e7215e31:~# ls
apache-pulsar-client.deb
root@77a6e7215e31:~# apt install -f apache-pulsar-client*.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package apache-pulsar-client.deb
E: Couldn't find any package by glob 'apache-pulsar-client.deb'
E: Couldn't find any package by regex 'apache-pulsar-client.deb'
```
----
2019-02-20 18:01:05 UTC - Matteo Merli: Typically I use `dpkg -i apache-pulsar-client.deb`
----
2019-02-20 18:01:07 UTC - Grant Wu: This is inside a `debian:stretch` docker container
----
2019-02-20 18:01:20 UTC - Grant Wu: That’s what I normally use as well, but I figured there was a reason the instructions said to use `apt install` :thinking_face:
----
2019-02-20 18:01:31 UTC - Grant Wu: `dpkg -i` works fine fwiw?
----
2019-02-20 18:16:12 UTC - Guy Feldman: `apt install ./apache-pulsar-client.deb` or `apt install -f ./apache-pulsar-client.deb` works
----
2019-02-20 18:18:21 UTC - Grant Wu: ah
----
2019-02-20 18:19:18 UTC - Guy Feldman: the reason to use apt over dpkg is primarily dependency resolution
----
2019-02-20 18:26:58 UTC - Grant Wu: @Guy Feldman <https://github.com/apache/pulsar/pull/3632>
----
2019-02-20 18:31:23 UTC - Guy Feldman: cool
----