Nicolas François wrote:
> On Fri, Mar 19, 2010 at 05:54:56AM -0500, jrnie...@gmail.com wrote:

>> 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.
>
> Yes, it should be a Replace, but a versionned one would be better as the
> best solution would be to have the manpages distributed in the sysv-rc
> package.

So exactly the opposite of my suspicion was true!  Makes sense; I should
have thought about it more.  Here’s an updated patch.
Index: debian/control
===================================================================
--- debian/control      (revision 2102)
+++ debian/control      (working copy)
@@ -12,7 +12,8 @@
 Architecture: all
 Section: doc
 Priority: optional
-Replaces: manpages-fr (<< 2.33.2-1), belocs-locales-bin (<< 2.4-3)
+Replaces: manpages-fr (<< 2.33.2-1), belocs-locales-bin (<< 2.4-3),
+       sysv-rc (<< 2.87dsf-3)
 Recommends: manpages-fr
 Suggests: man-db | man-browser, manpages-fr-dev
 Description: French version of the manual pages
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 (<< 2.87dsf-3)" 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