Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Hubble dpkg install fails on Debian 9 #542

Closed
alias454 opened this issue Feb 10, 2019 · 3 comments
Closed

Initial Hubble dpkg install fails on Debian 9 #542

alias454 opened this issue Feb 10, 2019 · 3 comments

Comments

@alias454
Copy link
Contributor

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
Copy link
Collaborator

basepi commented Feb 11, 2019

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.

@basepi
Copy link
Collaborator

basepi commented Feb 11, 2019

@mew1033
Copy link
Contributor

mew1033 commented Feb 20, 2019

The same thing happens on Ubuntu 18.04

@jettero jettero closed this as completed Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants