Christian PERRIER wrote:

> This bug will only appear on lenny->sid upgrades because the version in
> lenny is 2.86.ds1-61, that has the offending manpage. It was removed
> later on in sysv-rc package development. Beware the sysv-rc
> maintainers disabled the inclusion of the manpage, but only
> temporarily, so that problem might pop up again later non.
> 
> I think this can be fixed with a "Breaks" statement, that will force
> sysv-rc to be updated prior to the update of manpages-fr-extra.

I worry that that is not completely robust: a "Breaks" would would
force sysv-rc to be updated prior to configuring the updated
manpages-fr-extra, but it doesn’t enforce the appropriate unpacking
order when upgrading with dpkg.

I think a "Replaces" should be good enough.  After all, this doesn’t
actually break the old sysv-rc version.

Would something like this work?  Using unversioned Replaces like
this is only appropriate if we know that sysv-rc should not overwrite
any files from manpages-fr-extra in squeeze or squeeze+1.  I suspect
we do know that.

Jonathan
Index: debian/control
===================================================================
--- debian/control      (revision 2102)
+++ debian/control      (working copy)
@@ -14,6 +14,7 @@
 Priority: optional
 Replaces: manpages-fr (<< 2.33.2-1), belocs-locales-bin (<< 2.4-3)
 Recommends: manpages-fr
+Replaces: sysv-rc
 Suggests: man-db | man-browser, manpages-fr-dev
 Description: French version of the manual pages
  French translation of manual pages found in manpages and manpages-dev
Index: debian/changelog
===================================================================
--- debian/changelog    (revision 2102)
+++ debian/changelog    (working copy)
@@ -9,6 +9,11 @@
   [ Simon Paillard ]
   * Fix [2-9]ème in [2-9]e
 
+  [ Christian Perrier ]
+  * Add "Replaces: sysv-rc" to allow safe upgrades from lenny as
+    sysv-rc is providing /usr/share/man/fr/man8/update-rc.d.8.gz
+    Closes: #571027
+
  -- Nicolas FRANCOIS (Nekral) <nicolas.franc...@centraliens.net>  Fri, 22 Jan 
2010 23:30:57 +0100
 
 manpages-fr-extra (20090906) unstable; urgency=low

Reply via email to