I am trying to install collectd using
apt-get install collectd
in debian jessie. It always hangs at the same place, after setting up ca-certificates it will reach "Setting up collectd" and then stop forever. Control C and other gentle ways to halt installation do nothing at this point. In contrast, I am able to install collectd on my physical computer or in ubuntu container. However, I must have collectd in an lxd container on debian. Since it worked in ubuntu, I tried forcing it to install from the ubuntu repositories instead by adding the same repos my ubuntu container was using, configuring the keys, and then forcing it to install the exact same version using
apt-get install collectd=4.10.1-2.1ubuntu7 --force-yes -y
No luck, it hung at the same point.
After this, if I try to update apt tells me to run dpkg --configure -a
Are there any configuration files I can change before installing collectd to possibly make this work on a fresh debian jessie system, or alternatively are there any logs I can use to identify why it is hanging? The default apt logs have nothing useful since they just repeat the information displayed when trying to install in the first place, without specifying where the hang began.
My next step would be trying to set up jessie in virtualbox / a physical computer to see if the problem replicates there to identify if this is an LXC specific issue, or more general.
The specific lxd container image being used as a base is debian/jessie/amd64 from the remote images.linuxcontainers.org