-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Description
Hello,
It seems that package behavior changed for 0.12.
I'm not able to install telegraf debian package 0.12.0-1 inside a docker container anymore (on image ubuntu:1604).
Following is not working:
FROM ubuntu:16.04
RUN apt-get update
RUN apt-get install -y wget
RUN wget http://get.influxdb.org/telegraf/telegraf_0.12.0-1_amd64.deb
RUN dpkg -i telegraf_0.12.0-1_amd64.deb
Step 5 : RUN dpkg -i telegraf_0.12.0-1_amd64.deb
---> Running in 32380922ea7a
Selecting previously unselected package telegraf.
(Reading database ... 7528 files and directories currently installed.)
Preparing to unpack telegraf_0.12.0-1_amd64.deb ...
Unpacking telegraf (0.12.0-1) ...
Setting up telegraf (0.12.0-1) ...
Created symlink /etc/systemd/system/telegraf.service, pointing to /lib/systemd/system/telegraf.service.
Created symlink /etc/systemd/system/multi-user.target.wants/telegraf.service, pointing to /lib/systemd/system/telegraf.service.
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
dpkg: error processing package telegraf (--install):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
telegraf
The command '/bin/sh -c dpkg -i telegraf_0.12.0-1_amd64.deb' returned a non-zero code: 1
Whereas telegraf 0.11 is working:
FROM ubuntu:16.04
RUN apt-get update
RUN apt-get install -y wget
RUN wget http://get.influxdb.org/telegraf/telegraf_0.11.0-1_amd64.deb
RUN dpkg -i telegraf_0.11.0-1_amd64.deb
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels