[Pkg-xfce-devel] Bug#767822: Bug#767822: xfce4-session: leaves alternatives after purge: /usr/bin/x-session-manager
On dim., 2015-01-11 at 09:18 +0100, Yves-Alexis Perez wrote:
> On sam., 2015-01-10 at 18:12 +0100, Andreas Beckmann wrote:
> > Please upload xfce-session with the changes currently in svn to sid -
> > or
> > should I NMU?
> Funny, I've done the dch -r part on Nov 3, but apparently I forgot to
> I'll do it asap.
I've juste uploaded, but I'm a bit concerned about the following lintian
W: xfce4-session: maintainer-script-should-not-use-update-alternatives-remove postrm:4
N: update-alternatives --remove <alternative> foo is called in the postrm.
N: This can be dangerous because at the time the postrm is executed foo has
N: already been deleted and update-alternatives will ignore it while
N: constructing its list of available alternatives. Then, if the
N: /etc/alternatives symlink points at foo, update-alternatives won't
N: recognize it and will mark the symlink as something site-specific. As
N: such, the symlink will no longer be updated automatically and will be
N: left dangling until update-alternatives --auto <alternative> is run by
N: update-alternatives --remove should be called in the prerm instead.
N: Refer to Debian Policy Manual appendix F (Alternative versions of an
N: interface - update-alternatives (from old Packaging Manual)) and the
N: update-alternatives(8) manual page for details.
N: Severity: normal, Certainty: certain
N: Check: scripts, Type: binary
W: xfce4-session: maintainer-script-should-not-use-update-alternatives-remove postrm:5
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: This is a digitally signed message part