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

Duplicated entries in conffiles file #20

Closed
robertauer opened this issue Sep 11, 2019 · 0 comments · Fixed by #21
Closed

Duplicated entries in conffiles file #20

robertauer opened this issue Sep 11, 2019 · 0 comments · Fixed by #21
Labels
bug Something isn't working

Comments

@robertauer
Copy link
Member

If the debian package has been built already and is built again, the entries in the conffiles file are written to it twice. This leads to the following lintian error:

E: ces-commons: duplicate-conffile FILENAME
N: 
N:    The file is listed more than once in your debian/conffiles file.
N:    Usually, this is because debhelper (dh_installdeb, compat level 3 or
N:    higher) will add any files in your package located in /etc automatically
N:    to the list of conffiles, so if you do that manually too, you'll get
N:    duplicates.
N:    
N:    Severity: important, Certainty: certain
N:    
N:    Check: conffiles, Type: binary

This most likely is caused by the $(CONFFILES_FILE_TMP) file not being removed after usage.

@robertauer robertauer added the bug Something isn't working label Sep 11, 2019
@ppxl ppxl closed this as completed in #21 Sep 11, 2019
ppxl added a commit that referenced this issue Sep 11, 2019
Remove temporary conffiles file after usage
lgtm
resolve #20
robertauer added a commit that referenced this issue Sep 11, 2019
Remove temporary conffiles file after usage

$(CONFFILES_FILE_TMP) is removed after usage
so it is not filled with duplicates if
the deb package is built again.

This resolves #20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant