• Clearing hold data on upgrade

    From Florian Weimer@21:1/5 to All on Sun Dec 13 14:40:01 2020
    * Julian Andres Klode:

    On Sun, Dec 13, 2020 at 12:32:02PM +0100, Florian Weimer wrote:
    It seems that “apt upgrade” clears “apt-mark hold” (in buster, so apt
    1.8.2 or thereabouts). APT does not install recommended packages
    which are marked as held even if new packages with new Recommends:
    dependencies on the held package are installed, which is a useful
    feature. But it does not work reliably due to the behavior of “apt
    upgrade”.

    Would you consider the clearing of package hold information a bug?

    dpkg clears holds for non-installed packages after performing installs
    - this is not an apt bug.

    Aha! Is it a dpkg bug then?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Guillem Jover@21:1/5 to Florian Weimer on Mon Dec 14 01:50:01 2020
    On Sun, 2020-12-13 at 14:33:06 +0100, Florian Weimer wrote:
    * Julian Andres Klode:
    On Sun, Dec 13, 2020 at 12:32:02PM +0100, Florian Weimer wrote:
    It seems that “apt upgrade” clears “apt-mark hold” (in buster, so apt
    1.8.2 or thereabouts). APT does not install recommended packages
    which are marked as held even if new packages with new Recommends:
    dependencies on the held package are installed, which is a useful
    feature. But it does not work reliably due to the behavior of “apt
    upgrade”.

    Would you consider the clearing of package hold information a bug?

    dpkg clears holds for non-installed packages after performing installs
    - this is not an apt bug.

    Aha! Is it a dpkg bug then?

    Yes, a regression that is already fixed in master, will be included in
    the next dpkg release:

    <https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=c89140d8bfe69637e50d25949c655cd03d19c6ab>

    Thanks,
    Guillem

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Florian Weimer@21:1/5 to All on Mon Dec 14 08:30:01 2020
    * Guillem Jover:

    On Sun, 2020-12-13 at 14:33:06 +0100, Florian Weimer wrote:
    * Julian Andres Klode:
    On Sun, Dec 13, 2020 at 12:32:02PM +0100, Florian Weimer wrote:
    It seems that “apt upgrade” clears “apt-mark hold” (in buster, so apt
    1.8.2 or thereabouts). APT does not install recommended packages
    which are marked as held even if new packages with new Recommends:
    dependencies on the held package are installed, which is a useful
    feature. But it does not work reliably due to the behavior of “apt
    upgrade”.

    Would you consider the clearing of package hold information a bug?

    dpkg clears holds for non-installed packages after performing installs
    - this is not an apt bug.

    Aha! Is it a dpkg bug then?

    Yes, a regression that is already fixed in master, will be included in
    the next dpkg release:

    <https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=c89140d8bfe69637e50d25949c655cd03d19c6ab>

    Nice. Will this also land in buster? Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)