Skip to content

Instantly share code, notes, and snippets.

@stokito
Last active September 18, 2024 04:54
Show Gist options
  • Save stokito/5b30d1fb8641bdeefa93f6ec613fa72b to your computer and use it in GitHub Desktop.
Save stokito/5b30d1fb8641bdeefa93f6ec613fa72b to your computer and use it in GitHub Desktop.
debian lintian problems fixes:
**maintainer-script-needs-depends-on-adduser**
You postinst script creates a user by using the adduser command that technically may not be installed yet in the system
**Fix:**
Add to the `debian/control`:
Pre-Depends: adduser
**duplicate-conffile**
Files under /etc are configuration files but you also created the `debian/conffiles` where listed them too.
This is not needed.
**Fix:**
Remove the `debian/conffiles`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment