Re: Clearing hold data on upgrade

2020-12-13 Thread Florian Weimer
* 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:
>
>   
> 

Nice.  Will this also land in buster?  Thanks.



Re: Clearing hold data on upgrade

2020-12-13 Thread 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:

  


Thanks,
Guillem



Re: Clearing hold data on upgrade

2020-12-13 Thread Florian Weimer
* 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?