# Failed to install .deb logstash file on ubuntu 14.04

**URL:** <https://discuss.elastic.co/t/failed-to-install-deb-logstash-file-on-ubuntu-14-04/69438>\
**Category:** Logstash\
**Created:** [December 19, 2016, 12:01pm UTC](https://discuss.elastic.co/t/failed-to-install-deb-logstash-file-on-ubuntu-14-04/69438 "2016-12-19T12:01:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Soham\_Navadiya](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@Soham\_Navadiya](https://discuss.elastic.co/u/Soham_Navadiya)\
**Post date:** [December 19, 2016, 12:01pm UTC](https://discuss.elastic.co/t/failed-to-install-deb-logstash-file-on-ubuntu-14-04/69438/1 "2016-12-19T12:01:25Z")

</div>

I am trying to setup ELK on my local machine.  
I successfully installed elastic search and kibana.  
But during installation of logstash I am getting error.  
Below is the terminal logs.  
I tried a lot but It is not working.  
Any suggestion?

Thanks for help.

abx@xyz:~/Downloads$ sudo dpkg -i logstash-5.1.1.deb  
[sudo] password for xyz:  
(Reading database ... 310519 files and directories currently installed.)  
Preparing to unpack logstash-5.1.1.deb ...  
Unpacking logstash (1:5.1.1-1) over (1:5.1.1-1) ...  
Setting up logstash (1:5.1.1-1) ...  
Using provided startup.options file: /etc/logstash/startup.options  
Failed to get D-Bus connection: Operation not permitted  
Successfully created system startup script for Logstash

---

<div class="post-metadata">

**Author:** ![jakommo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jakommo/32/6716_2.png) [@jakommo](https://discuss.elastic.co/u/jakommo)\
**Post date:** [December 20, 2016, 5:03pm UTC](https://discuss.elastic.co/t/failed-to-install-deb-logstash-file-on-ubuntu-14-04/69438/2 "2016-12-20T17:03:03Z")

</div>

It looks like the installation of logstash was successful. The output you posted shows that logstash was installed again .  
`Unpacking logstash (1:5.1.1-1) over (1:5.1.1-1) ...`

You can verify by running:  
`dpkg -l logstash`  
If you see something like:

```
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii logstash 1:5.1.1-1 all An extensible logging pipeline

```

it was installed successfully.

The D-Bus error is not related to Logstash. Are you installing in Docker or some other container?  
The error seems to be a common error there.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 17, 2017, 5:03pm UTC](https://discuss.elastic.co/t/failed-to-install-deb-logstash-file-on-ubuntu-14-04/69438/3 "2017-01-17T17:03:04Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
