[Bug 1483923] Re: dpkg-divert breaks nginx installation
Robie Basak
1483923 at bugs.launchpad.net
Wed Nov 11 15:25:28 UTC 2015
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
Server Team, which is subscribed to nginx in 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
More information about the Ubuntu-server-bugs
mailing list