On Sun, Apr 22, 2012 at 04:13:22PM +0200, Michael Biebl wrote:
> On 22.04.2012 11:40, Josh Triplett wrote:
> > Package: systemd
> > Version: 44-1
> > Severity: normal
> > File: /etc/bash_completion.d/systemctl-bash-completion.sh
> > 
> > dpkg does not automatically remove conffiles on upgrade when a package
> > stops shipping them.  systemd needs to clean up the obsolete conffile
> > /etc/bash_completion.d/systemctl-bash-completion.sh in its
> > maintainer scripts, using dpkg-maintscript-helper.  Please see the
> > manpage of dpkg-maintscript-helper for details.
> > 
> 
> The systemd bash_completion file was renamed/moved and systemd already
> uses a dh_installdeb maintscript helper to move the conffile.
> 
> See /var/lib/dpkg/info/systemd.p*
> 
> Did you install a unofficial package, which did not have this migration
> logic?

No, I've only ever had official systemd packages installed.

However, I noticed something interesting: the mv_conffile operation in
the maintainer scripts uses version 37-1, so it'll only occur on
upgrades from that version or before, but 37-1.1 had the same conffile.
So, anyone who upgrades from 37-1 to 37-1.1 before upgrading to 43-1 or
later will not have the conffile migrated.

I checked the history of systemd on my system via dpkg.log, and sure
enough I upgraded to 37-1.1 before upgrading to a later version.

- Josh Triplett



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to