sonatype-nexus-community / nancy

A tool to check for vulnerabilities in your Golang dependencies, powered by Sonatype OSS Index
Apache License 2.0
562 stars 74 forks source link

fix dpkg warning: missing 'Maintainer' field #241

Closed bhamail closed 3 years ago

bhamail commented 3 years ago

I noticed dpkg is giving warnings like the one below, due to not having a Maintainer field declared for goreleaser:

dpkg: warning: parsing file '/var/lib/dpkg/status' near line 22727 package 'nancy':
 missing 'Maintainer' field
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 22727 package 'nancy':
 missing 'Maintainer' field
(Reading database ... 95784 files and directories currently installed.)
Removing python-colorzero (1.1) ...
dpkg-query: warning: parsing file '/var/lib/dpkg/status' near line 22727 package 'nancy':
 missing 'Maintainer' field
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 22727 package 'nancy':
 missing 'Maintainer' field

These show up for pretty much any apt operations.

I will try adding the Maintainer field to goreleaser, a la: https://github.com/nats-io/prometheus-nats-exporter/issues/57

cc @bhamail / @DarthHater