Your message dated Thu, 8 Apr 2021 19:25:57 +0200
with message-id <[email protected]>
and subject line Re: Bug#981222: update-alternatives: please provide a way to 
change a master alternative into a slave one
has caused the Debian Bug report #981222,
regarding update-alternatives: please provide a way to change a master 
alternative into a slave one
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
981222: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981222
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dpkg
Version: 1.20.7.1
Severity: normal

Hi,

I made an error using master alternatives to install some manpages, but
I can't change this because update-alternatives refuse to replace a
master alternative into a slave one during upgrade. Could you provide a
way to do this in debian/alternatives file ?

Cheers,
Xavier

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.8-4
ii  libc6        2.31-9
ii  liblzma5     5.2.5-1.0
ii  libselinux1  3.1-2+b2
ii  tar          1.32+dfsg-1
ii  zlib1g       1:1.2.11.dfsg-2

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt            2.1.18
pn  debsig-verify  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi!

On Mon, 2021-02-01 at 01:24:49 +0100, Guillem Jover wrote:
> On Wed, 2021-01-27 at 22:52:41 +0100, Xavier Guimard wrote:
> > Package: dpkg
> > Version: 1.20.7.1
> > Severity: normal
> 
> > I made an error using master alternatives to install some manpages, but
> > I can't change this because update-alternatives refuse to replace a
> > master alternative into a slave one during upgrade. Could you provide a
> > way to do this in debian/alternatives file ?
> 
> That file is managed by debhelper, update-alternatives has no direct
> support for that now. Adding support for that kind of swap natively in
> u-a I think would imply some effort, while this does not seem like a
> very common occurrence.
> 
> The correct and simper fix here is IMO to add manual handling in the
> maintainer scripts to check whether the alternative is wrong, and
> remove it, before the debhelper snippet adds the correct one.
> 
> I'm thus inclined to close this report.

Doing this now.

Thanks,
Guillem

--- End Message ---

Reply via email to