Initial Hubble dpkg install fails on Debian 9
alias454 opened this issue · 3 comments
alias454 commented
When deploying hubble on Debian 9, I ran into an issue with the initial dpkg install. When run the first time, it fails. Running dpkg a second time results in the package being installed properly.
Download a clean deb from github:
root@hubble00:~# wget https://github.com/hubblestack/hubble/releases/download/v2.4.7/hubblestack-2.4.7-1.deb9.amd64.deb
Running dpkg the first time:
root@hubble00:~# dpkg --install hubblestack-2.4.7-1.deb9.amd64.deb
Selecting previously unselected package hubblestack.
(Reading database ... 34574 files and directories currently installed.)
Preparing to unpack hubblestack-2.4.7-1.deb9.amd64.deb ...
Unpacking hubblestack (2.4.7-1) ...
Setting up hubblestack (2.4.7-1) ...
Failed to start hubble.service: Unit hubble.service not found.
dpkg: error processing package hubblestack (--install):
subprocess installed post-installation script returned error exit status 5
Processing triggers for systemd (232-25+deb9u8) ...
Errors were encountered while processing:
hubblestack
Then when run a second time it installs:
root@hubble00:~# dpkg --install hubblestack-2.4.7-1.deb9.amd64.deb
(Reading database ... 39529 files and directories currently installed.)
Preparing to unpack hubblestack-2.4.7-1.deb9.amd64.deb ...
Unpacking hubblestack (2.4.7-1) over (2.4.7-1) ...
Setting up hubblestack (2.4.7-1) ...
Processing triggers for systemd (232-25+deb9u8) ...
This happens on:
root@hubble00:~# cat /etc/debian_version
9.7
root@hubble00:~# uname -a
Linux hubble00 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
Regards,
Brandon
basepi commented
Hmm. It looks like it installed, but something is wrong with the systemd unit file. I wonder why it worked the second time? We'll look into this.
mew1033 commented
The same thing happens on Ubuntu 18.04