#988356 apt: fails to find upgrade path involving libpod-parser-perl

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Andreas Beckmann
Date:
2021-05-11 09:15:03 UTC
Severity:
important
#988356#5
Date:
2021-05-11 09:12:14 UTC
From:
To:
Hi,

apt-get fails to find an upgrade path from buster to bullseye for
bucardo (and some other packages) if perl-modules-5.24 from stretch is
installed.

bucardo/bullseye has new Depends: libpod-parser-perl (unversioned)

perl-modules-5.24/stretch has Provides: libpod-parser-perl (unversioned)
perl/buster has Provides: libpod-parser-perl (= 1.63)
bullseye has Package: libpod-parser-perl (1.63-2)
perl/bullseye has Breaks: perl-modules-5.24

apt-get tries to keep the installed perl-modules-5.24 for satisfying the
libpod-parser-perl dependency instead of installing the real package:

  Starting 2 pkgProblemResolver with broken count: 1
  Investigating (0) perl:amd64 < 5.28.1-6+deb10u1 -> 5.32.1-4 @ii umU Ib >
  Broken perl:amd64 Breaks on perl-modules-5.24:amd64 < 5.24.1-3+deb9u7 @ii mK >
    Considering perl-modules-5.24:amd64 -2 as a solution to perl:amd64 16
    Added perl-modules-5.24:amd64 to the remove list
    Fixing perl:amd64 via remove of perl-modules-5.24:amd64
  Investigating (0) bucardo:amd64 < 5.5.0-1 -> 5.6.0-2 @ii umU Ib >
  Broken bucardo:amd64 Depends on libpod-parser-perl:amd64 < none | 1.63-2 @un uH >
    Considering libpod-parser-perl:amd64 1 as a solution to bucardo:amd64 0
    Holding Back bucardo:amd64 rather than change libpod-parser-perl:amd64
  Investigating (0) libperl5.24:amd64 < 5.24.1-3+deb9u7 @ii gK Ib >
  Broken libperl5.24:amd64 Depends on perl-modules-5.24:amd64 < 5.24.1-3+deb9u7 @ii mR > (>= 5.24.1-3+deb9u7)
    Considering perl-modules-5.24:amd64 -2 as a solution to libperl5.24:amd64 -2
    Removing libperl5.24:amd64 rather than change perl-modules-5.24:amd64
  Investigating (1) perl-base:amd64 < 5.28.1-6+deb10u1 -> 5.32.1-4 @ii umU Ib >
  Broken perl-base:amd64 Breaks on bucardo:amd64 < 5.5.0-1 | 5.6.0-2 @ii umH > (< 5.5.0-1.1)
    Considering bucardo:amd64 0 as a solution to perl-base:amd64 5238
    Upgrading bucardo:amd64 due to Breaks field in perl-base:amd64
  Investigating (1) bucardo:amd64 < 5.5.0-1 -> 5.6.0-2 @ii umU Ib >
  Broken bucardo:amd64 Depends on libpod-parser-perl:amd64 < none | 1.63-2 @un uH >
    Considering libpod-parser-perl:amd64 1 as a solution to bucardo:amd64 0
    Holding Back bucardo:amd64 rather than change libpod-parser-perl:amd64
  Investigating (2) perl-base:amd64 < 5.28.1-6+deb10u1 -> 5.32.1-4 @ii umU Ib >
  Broken perl-base:amd64 Breaks on bucardo:amd64 < 5.5.0-1 | 5.6.0-2 @ii umH > (< 5.5.0-1.1)
    Considering bucardo:amd64 0 as a solution to perl-base:amd64 5238
    Upgrading bucardo:amd64 due to Breaks field in perl-base:amd64
  Investigating (2) bucardo:amd64 < 5.5.0-1 -> 5.6.0-2 @ii umU Ib >
  Broken bucardo:amd64 Depends on libpod-parser-perl:amd64 < none | 1.63-2 @un uH >
    Considering libpod-parser-perl:amd64 1 as a solution to bucardo:amd64 0
    Holding Back bucardo:amd64 rather than change libpod-parser-perl:amd64
  Investigating (3) perl-base:amd64 < 5.28.1-6+deb10u1 -> 5.32.1-4 @ii umU Ib >
  Broken perl-base:amd64 Breaks on bucardo:amd64 < 5.5.0-1 | 5.6.0-2 @ii umH > (< 5.5.0-1.1)
    Considering bucardo:amd64 0 as a solution to perl-base:amd64 5238
    Upgrading bucardo:amd64 due to Breaks field in perl-base:amd64
  Investigating (3) bucardo:amd64 < 5.5.0-1 -> 5.6.0-2 @ii umU Ib >
  Broken bucardo:amd64 Depends on libpod-parser-perl:amd64 < none | 1.63-2 @un uH >
    Considering libpod-parser-perl:amd64 1 as a solution to bucardo:amd64 0
    Holding Back bucardo:amd64 rather than change libpod-parser-perl:amd64
  Investigating (4) perl-base:amd64 < 5.28.1-6+deb10u1 -> 5.32.1-4 @ii umU Ib >
  Broken perl-base:amd64 Breaks on bucardo:amd64 < 5.5.0-1 | 5.6.0-2 @ii umH > (< 5.5.0-1.1)
    Considering bucardo:amd64 0 as a solution to perl-base:amd64 5238
    Upgrading bucardo:amd64 due to Breaks field in perl-base:amd64
  Investigating (4) bucardo:amd64 < 5.5.0-1 -> 5.6.0-2 @ii umU Ib >
  Broken bucardo:amd64 Depends on libpod-parser-perl:amd64 < none | 1.63-2 @un uH >
    Considering libpod-parser-perl:amd64 1 as a solution to bucardo:amd64 0
    Holding Back bucardo:amd64 rather than change libpod-parser-perl:amd64
  Investigating (5) perl-base:amd64 < 5.28.1-6+deb10u1 -> 5.32.1-4 @ii umU Ib >
  Broken perl-base:amd64 Breaks on bucardo:amd64 < 5.5.0-1 | 5.6.0-2 @ii umH > (< 5.5.0-1.1)
    Considering bucardo:amd64 0 as a solution to perl-base:amd64 5238
    Upgrading bucardo:amd64 due to Breaks field in perl-base:amd64
  Investigating (5) bucardo:amd64 < 5.5.0-1 -> 5.6.0-2 @ii umU Ib >
  Broken bucardo:amd64 Depends on libpod-parser-perl:amd64 < none | 1.63-2 @un uH >
    Considering libpod-parser-perl:amd64 1 as a solution to bucardo:amd64 0
    Holding Back bucardo:amd64 rather than change libpod-parser-perl:amd64
  Investigating (6) perl-base:amd64 < 5.28.1-6+deb10u1 -> 5.32.1-4 @ii umU Ib >
  Broken perl-base:amd64 Breaks on bucardo:amd64 < 5.5.0-1 | 5.6.0-2 @ii umH > (< 5.5.0-1.1)
    Considering bucardo:amd64 0 as a solution to perl-base:amd64 5238
    Upgrading bucardo:amd64 due to Breaks field in perl-base:amd64
  Investigating (6) bucardo:amd64 < 5.5.0-1 -> 5.6.0-2 @ii umU Ib >
  Broken bucardo:amd64 Depends on libpod-parser-perl:amd64 < none | 1.63-2 @un uH >
    Considering libpod-parser-perl:amd64 1 as a solution to bucardo:amd64 0
    Holding Back bucardo:amd64 rather than change libpod-parser-perl:amd64
  Investigating (7) perl-base:amd64 < 5.28.1-6+deb10u1 -> 5.32.1-4 @ii umU Ib >
  Broken perl-base:amd64 Breaks on bucardo:amd64 < 5.5.0-1 | 5.6.0-2 @ii umH > (< 5.5.0-1.1)
    Considering bucardo:amd64 0 as a solution to perl-base:amd64 5238
    Upgrading bucardo:amd64 due to Breaks field in perl-base:amd64
  Investigating (7) bucardo:amd64 < 5.5.0-1 -> 5.6.0-2 @ii umU Ib >
  Broken bucardo:amd64 Depends on libpod-parser-perl:amd64 < none | 1.63-2 @un uH >
    Considering libpod-parser-perl:amd64 1 as a solution to bucardo:amd64 0
    Holding Back bucardo:amd64 rather than change libpod-parser-perl:amd64
  Investigating (8) perl-base:amd64 < 5.28.1-6+deb10u1 -> 5.32.1-4 @ii umU Ib >
  Broken perl-base:amd64 Breaks on bucardo:amd64 < 5.5.0-1 | 5.6.0-2 @ii umH > (< 5.5.0-1.1)
    Considering bucardo:amd64 0 as a solution to perl-base:amd64 5238
    Upgrading bucardo:amd64 due to Breaks field in perl-base:amd64
  Investigating (8) bucardo:amd64 < 5.5.0-1 -> 5.6.0-2 @ii umU Ib >
  Broken bucardo:amd64 Depends on libpod-parser-perl:amd64 < none | 1.63-2 @un uH >
    Considering libpod-parser-perl:amd64 1 as a solution to bucardo:amd64 0
    Holding Back bucardo:amd64 rather than change libpod-parser-perl:amd64
  Investigating (9) perl-base:amd64 < 5.28.1-6+deb10u1 -> 5.32.1-4 @ii umU Ib >
  Broken perl-base:amd64 Breaks on bucardo:amd64 < 5.5.0-1 | 5.6.0-2 @ii umH > (< 5.5.0-1.1)
    Considering bucardo:amd64 0 as a solution to perl-base:amd64 5238
    Upgrading bucardo:amd64 due to Breaks field in perl-base:amd64
  Investigating (9) bucardo:amd64 < 5.5.0-1 -> 5.6.0-2 @ii umU Ib >
  Broken bucardo:amd64 Depends on libpod-parser-perl:amd64 < none | 1.63-2 @un uH >
    Considering libpod-parser-perl:amd64 1 as a solution to bucardo:amd64 0
    Holding Back bucardo:amd64 rather than change libpod-parser-perl:amd64
  Done

  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:

  The following packages have unmet dependencies:
   perl-base : Breaks: bucardo (< 5.5.0-1.1) but 5.5.0-1 is to be installed
  E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

An apt solver dump is attached.

The problem is still reproducible with apt/bullseye:

Progress: Tue, 11 May 2021 09:09:22 +0000
Percentage: 0
Message: Start up solver…

Progress: Tue, 11 May 2021 09:09:22 +0000
Percentage: 1
Message: Read request…

Progress: Tue, 11 May 2021 09:09:22 +0000
Percentage: 5
Message: Read scenario…

Progress: Tue, 11 May 2021 09:09:23 +0000
Percentage: 50
Message: Apply request on scenario…

Progress: Tue, 11 May 2021 09:09:23 +0000
Percentage: 60
Message: Call problemresolver on current scenario…

Error: ERR_UNSOLVABLE_FULL_UPGRADE
Message: The following packages have unmet dependencies:
  perl-base : Breaks: bucardo (< 5.5.0-1.1) but 5.5.0-1 is to be installed


This can be easily fixed in bucardo by switching to a versioned
dependency on libpod-parser-perl (>= 1.63).


Andreas