Skip to content

Installation from .deb fails on Ubuntu #1153

@zbjornson

Description

@zbjornson

Describe the bug

To Reproduce

  1. On Ubuntu (others?) sudo apt install ./mongodb_exporter-0.47.0.linux-64-bit.deb. Eventually it fails with this:
Setting up mongodb_exporter (0.47.0) ...
Creating user and group...
Unknown option: comment
adduser [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID]
...

Expected behavior
Install completes, adding a user.

Environment

  • Ubuntu 20.04.6 LTS

Additional context
Bug was introduced by d128386 in v0.45.0.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions