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

Missing maintainer in Debian package #57

Closed
lammel opened this issue Jan 7, 2019 · 1 comment
Closed

Missing maintainer in Debian package #57

lammel opened this issue Jan 7, 2019 · 1 comment

Comments

@lammel
Copy link
Contributor

lammel commented Jan 7, 2019

The debian package is missing a maintainer and hence causes warnings for dpkg processing.

Warnings appear on every dpkg/apt run like this:

dpkg-query: warning: parsing file '/var/lib/dpkg/status' near line 76605 package 'prometheus-nats-exporter':
 missing maintainer

As seen from the debian package for v0.1.0 the maintainer is empty:

sh# dpkg -I /tmp/prometheus-nats-exporter-v0.1.0-linux-amd64.deb 
 new Debian package, version 2.0.
 size 2097286 bytes: control archive=386 bytes.
       1 bytes,     0 lines      conffiles            
     278 bytes,    16 lines      control              
      72 bytes,     1 lines      md5sums              
 Package: prometheus-nats-exporter
 Version: 0.1.0
 Section: 
 Priority: 
 Architecture: amd64
 Maintainer: 
 Vendor: nats.io
 Installed-Size: 5375
 Replaces: 
 Provides: 
 Depends: 
 Recommends: 
 Suggests: 
 Conflicts: 
 Homepage: https://nats.io
 Description: A Prometheus exporter for NATS

Please add a maintainer string to the .goreleaser.yml file in the nfpm section.
For example use the first maintainer from MAINTAINER.md:

nfpm:
  vendor: nats.io
  maintainer: Colin Sullivan <colin@nats.io>
  ...

(no pull request provided, as there is single maintainer listed in MAINTAINER.md)

lammel added a commit to lammel/prometheus-nats-exporter that referenced this issue Mar 23, 2019
To fix warnings when working with the Debian package a maintainer has been added to the goreleaser configuration (nfpm section). This should fixes issue nats-io#57
wallyqs pushed a commit that referenced this issue Mar 24, 2019
To fix warnings when working with the Debian package a maintainer has been added to the goreleaser configuration (nfpm section). This should fixes issue #57
@lammel
Copy link
Contributor Author

lammel commented Mar 24, 2019

I just tested a manual snapshot build for the merged pull request #62 built with goreleaser (locally).

Works well, no more warnings from dpkg/apt. So I'm closing the issue as it will be ok for the next release. Maybe you could do a release for 0.2.1 for github which includes the fix soon.

Thanks and BR, Roland

@lammel lammel closed this as completed Mar 24, 2019
DavidS-cloud added a commit to DavidS-cloud/otel-cli that referenced this issue Nov 8, 2021
```
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 51362 package 'otel-cli':
 missing 'Maintainer' field
```

See nats-io/prometheus-nats-exporter#57 for the same fix in a different package
tobert pushed a commit to equinix-labs/otel-cli that referenced this issue Nov 17, 2021
```
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 51362 package 'otel-cli':
 missing 'Maintainer' field
```

See nats-io/prometheus-nats-exporter#57 for the same fix in a different package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant