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.

Revisions

  1. stokito revised this gist Sep 18, 2024. 1 changed file with 10 additions and 0 deletions.
    10 changes: 10 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -6,3 +6,13 @@ You postinst script creates a user by using the adduser command that technically
    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`

  2. stokito created this gist Sep 17, 2024.
    8 changes: 8 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    **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