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

[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
> upload.
> 
> I'll do it asap.
> 
I've juste uploaded, but I'm a bit concerned about the following lintian
warnings:

W: xfce4-session: maintainer-script-should-not-use-update-alternatives-remove postrm:4
N: 
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:    hand.
N:    
N:    update-alternatives --remove should be called in the prerm instead.
N:    
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:    
N:    Severity: normal, Certainty: certain
N:    
N:    Check: scripts, Type: binary
N: 
W: xfce4-session: maintainer-script-should-not-use-update-alternatives-remove postrm:5

-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20150111/59dbca71/attachment-0001.sig>



Reply to: