Bug#810164: perl-modules-5.22: Unversioned Breaks against perl-modules should be a Conflict

Adam Conrad adconrad at debian.org
Thu Jan 7 06:06:35 UTC 2016


Package: perl-modules-5.22
Version: 5.22.1-3
Severity: important

Currently, perl-modules-5.22 has an unversioned Provides/Breaks/Replaces
against perl-modules.  I assume there are two things you're attempting
to accomplish with this:

1) Force a smooth upgrade from perl-modules to perl-modules-5.22.
2) Allow for a perl-modules virtual package to exist with future
   versioned perl-modules-X.XX packages.

In both cases, that Breaks should be a Conflicts.

1) The "hint" for complete replacement of A with B for high level
   dpkg frontends is an unversioned Conflicts/Replaces pair.
2) Virtual packages are defined as a Provides, or Provides/Conflicts
   if they shouldn't be installed together, or Provides/Conflicts
   and Replaces if they have file overlaps.

A good rule of thumb is that if you have a versioned Conflicts, you
probably wanted a Breaks, and if you have an unversioned Breaks, you
probably wanted a Conflicts.

... Adam

-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 'xenial')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-5-lowlatency (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)




More information about the Perl-maintainers mailing list