Control: block 760084 by -1
Control: block 745834 by -1

Hi.

Following up on a old bug, which now affect packages related to apache2.

The new apache2 postinst code need such mechanism too.  I ran into this
when migrating sitesummary to the new apache2 setup.  The sitesummary
package recommends apache2, and when apache2 is configured before
sitesummary, the sitesummary server is set up automatically.  But as it
is only a recommends, the ordering is not guaranteed and if apache2 is
unpacked before sitesummary but configured after it, the sitesummary
postinst fail.  This is bug <URL: https://bugs.debian.org/760084 >.  A
similar bug is <URL: https://bugs.debian.org/745834 > regarding the svn
webdav setup.

What about making sure dpkg take recommends into account when ordering
postinst scripts?  If package A recommends B, and both A and B is
installed in the same dpkg run, the postinst scripts should run in order
B.postinst, A.postinst.  It would solve the problem I see, and allow for
a mechanism to specify postinst ordering also for non-depend
relationships.

Is there a better way to fix the problems we experience in bugs #760084
and #745834?

-- 
Happy hacking
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to