Kaynağa Gözat

debian: Add Conflicts against obsolete packages using install-info in their prerm

These packages have been removed after they were released with lenny
or squeeze, but they may survive dist-upgrades to wheezy and jessie.

Since their prerm uses install-info they cannot be removed any longer
after installing dpkg 1.17.x and there is no upgrade path to a fixed
package version. So use Conflicts, because these packages need to be
removed (with their prerm) before a dpkg that would disallow to
subsequently remove them is upgraded. Breaks would only at most
request to deconfigure them.

All Conflicts have the form PACKAGE (<< VERSION). If the source package
still exists, the VERSION that dropped the problematic PACKAGE was used.
Otherwise the next possible maintainer upload VERSION that could
reintroduce PACKAGE into sid was used.

[guillem@debian.org:
 - Replace Breaks with Conflicts.
 - Update lintian-overrides. ]

Closes: #735159

Signed-off-by: Guillem Jover <guillem@debian.org>
Andreas Beckmann 12 yıl önce
ebeveyn
işleme
b89a125dbc
3 değiştirilmiş dosya ile 25 ekleme ve 0 silme
  1. 3 0
      debian/changelog
  2. 20 0
      debian/control
  3. 2 0
      debian/dpkg.lintian-overrides

+ 3 - 0
debian/changelog

@@ -91,6 +91,9 @@ dpkg (1.17.7) UNRELEASED; urgency=low
   * Use GNU tar's --no-unquote when using -T in dpkg-deb to avoid mangling
     filenames. Reported by Niels Thykier <niels@thykier.net>. Closes: #743687
   * Backup all databases with user data, not just the status database.
+  * Add Conflicts to dpkg against packages using install-info that were
+    removed after lenny or squeeze, but may have survived upgrades to wheezy.
+    Thanks to Andreas Beckmann <anbe@debian.org>. Closes: #735159
 
   [ Updated dpkg translations ]
   * German (Sven Joachim).

+ 20 - 0
debian/control

@@ -36,6 +36,26 @@ Pre-Depends: ${shlibs:Depends}, tar (>= 1.23)
 Depends: ${misc:Depends}
 Breaks: dpkg-dev (<< 1.15.8), libdpkg-perl (<< 1.15.8),
  apt (<< 0.7.7), aptitude (<< 0.4.7-1)
+Conflicts:
+# The following Conflicts against removed packages using install-info
+# in their prerm script can be removed in jessie+1.
+# These packages have been removed after squeeze:
+ ggz-docs (<< 0.0.14.1-2), glame (<< 2.0.1-6), gtalk (<< 0.99.10-16),
+ libalogg-dev (<< 1.3.7-2), r6rs-doc (<< 1.0-2), ulog-acctd (<< 0.4.3-3),
+# These non-free packages have been removed after squeeze:
+ cpp-4.1-doc (<< 4.1.2.nf2-4), gcc-4.1-doc (<< 4.1.2.nf2-4),
+ gcj-4.1-doc (<< 4.1.2.nf2-4), gfortran-4.1-doc (<< 4.1.2.nf2-4),
+ gnat-4.1-doc (<< 4.1.2.nf2-4), cpp-4.2-doc (<< 4.2.4.nf1-4),
+ gcc-4.2-doc (<< 4.2.4.nf1-4), gcj-4.2-doc (<< 4.2.4.nf1-4),
+ gfortran-4.2-doc (<< 4.2.4.nf1-4), gnat-4.2-doc (<< 4.2.4.nf1-4),
+# These packages have been removed after lenny:
+ ada-reference-manual (<< 20021112web-4), asn1-mode (<< 2.7-7),
+ bogosort (<< 0.4.2-3), cl-yacc (<< 0.3-3), libgtk1.2-doc (<< 1.2.10-19),
+ libnettle-dev (<< 2), liborbit-dev (<< 0.5.17-12), libreadline5-dev (<< 5.2-8),
+ librep-doc (<< 0.90), mmucl (<< 1.5.2-3), nxml-mode (<< 20041004-9),
+ serveez-doc (<< 0.1.5-3), slat (<< 2.0-6),
+ texlive-base-bin-doc (<< 2007.dfsg.2-9), ttcn-el (<< 0.6.9-2),
+ xconq-doc (<< 7.4.1-5), zenirc (<< 2.112.dfsg-1)
 Suggests: apt
 Replaces: manpages-it (<< 2.80-4)
 Description: Debian package management system

+ 2 - 0
debian/dpkg.lintian-overrides

@@ -3,3 +3,5 @@ dpkg: redundant-bugs-field
 dpkg: arch-dep-package-has-big-usr-share
 # False positives, we read from a file not from a tty
 dpkg: read-in-maintainer-script preinst:*
+# False positives, we really need the versioned Conflicts
+dpkg: conflicts-with-version *