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

Re: Clearing hold data on upgrade



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


Reply to: