AIUI, it isn't appropriate for a package to modify another package's
behaviour from under its feet in this way. Debian Policy Appendix G (not
formally policy I don't think) says: "Do not attempt to divert a
conffile, as dpkg does not handle it well.". Though
https://wiki.debian.org/ConfigPackages does talk about this method.

Another cleaner approach would be to have your johnny-dep package
provide its own configuration file and init script somewhere else, and
then depend on a package that provides the nginx binaries but no
configuration. I don't know if nginx provides such packages currently,
but if changes are required there I'd recommend that they be done in
Debian rather than carrying an Ubuntu delta.

Up to Thomas though.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1483923

Title:
  dpkg-divert breaks nginx installation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1483923/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to