Hi Alex,

On Fri, Apr 28, 2023 at 09:28:29AM +0200, Alexandre Rossi wrote:
> Yes I can reproduce. You should remove davmail before.

That usually isn't my choice, but determined by apt in a way it sees
fit.

> I'm not sure I should add anything, because the upgrade works well:
> 
> (bullseye-amd64-sbuild)root@skade:~# apt install davmail
> [...]
> (bullseye-amd64-sbuild)root@skade:~# sed -i 's/bullseye/bookworm/' 
> /etc/apt/sources.list.d/debian.sources           
> (bullseye-amd64-sbuild)root@skade:~# cat 
> /etc/apt/sources.list.d/debian.sources                                     
> Types: deb                                                                    
>                                       URIs: http://deb.debian.org/debian      
>                                                                             
> Suites: bookworm                                                              
>                                       Components: main contrib non-free
> (bullseye-amd64-sbuild)root@skade:~# apt update
> [...]
> (bullseye-amd64-sbuild)root@skade:~# apt update && apt install davmail
> [...]
> Setting up davmail (6.0.1.3390-6) ...
> Removing obsolete conffile /etc/init.d/davmail ...
> [...]
> 
> and all is well.

You've constructed an upgrade where the order happens to not expose the
bug at hand. In more complex upgrades, apt may order things differently
and thus expose the bug in a complex scenario.

> Or do you suggest this manual install should be supported?

Yes, I do, because it can legitimately be chosen by apt in an upgrade
scenario although it usually is not. I also note that fixing this is a
rather simple matter of changing d/control, which is why I don't see
much benefit in not fixing it.

Helmut

Reply via email to