[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Simplify conflicts/replaces?



Hello,
I noticed that some conflicts/replaces are satisfied even in
oldstable, is there some rule when dpkg drops them? (Does the general
rule apply, that upgrades over stable version are not supported?).

So maybe the following could be applied:

diff --git a/debian/control b/debian/control
index 519a729..b9b749a 100644
--- a/debian/control
+++ b/debian/control
@@ -31,9 +31,9 @@ Architecture: any
 Essential: yes
 Pre-Depends: ${shlibs:Depends}, coreutils (>= 5.93-1), xz-utils
 Depends: ${misc:Depends}
-Conflicts: sysvinit (<< 2.82-1), dpkg-iasearch (<< 0.11),
+Conflicts: dpkg-iasearch (<< 0.11),
  dpkg-dev (<< 1.14.16), apt (<< 0.7.7), aptitude (<< 0.4.7-1)
-Replaces: manpages-de (<= 0.4-3), manpages-pl (<= 20051117-1)
+Replaces: 
 # install-info transition
 # see http://wiki.debian.org/Transitions/DpkgToGnuInstallInfo
 Breaks: jed (<< 1:0.99.18+dfsg.1-13), xjed (<< 1:0.99.18+dfsg.1-13),
@@ -57,7 +57,6 @@ Depends: libdpkg-perl (= ${source:Version}), bzip2, xz-utils,
 Recommends: gcc | c-compiler, build-essential, fakeroot, gnupg, gpgv
 Suggests: debian-keyring
 Conflicts: dpkg-cross (<< 2.0.0), devscripts (<< 2.10.26)
-Replaces: manpages-pl (<= 20051117-1)
 Description: Debian package development tools
  This package provides the development tools (including dpkg-source)
  required to unpack, build and upload Debian source packages.
@@ -105,7 +104,7 @@ Architecture: any
 Depends: ${shlibs:Depends}, dpkg (>= 1.13.1), ${misc:Depends}
 Suggests: perl
 Conflicts: dpkg-ftp, dpkg-multicd
-Replaces: dpkg (<< 1.10.3), dpkg-ftp, dpkg-multicd
+Replaces: dpkg-ftp, dpkg-multicd
 Description: Debian package management front-end
  dselect is a high-level interface for managing the installation and
  removal of Debian software packages.

(Note: I did not look at unversioned packages nor at those I could not
find in the archive, like dpkg-iasearch).

Greetings

               Helge
-- 
      Dr. Helge Kreutzmann                     debian@helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: Digital signature


Reply to: