Bug#866230: /etc/bash_completion.d/dput file not removed on upgrade

2017-07-22 Thread Ben Finney
Control: tags -1 + confirmed pending

On 28-Jun-2017, Laurent Bigonville wrote:

> It seems that the package is moving the bash completion file from
> /etc/bash_completion.d/ to /usr/share/bash-completion/completions but
> the file in /etc is not remved on upgrade.

Yes, I omitted to use the ‘dpkg-maintscript-helper’ tool for this job.
I will need to correct that in maintainer scripts in a future release.

-- 
 \   “We spend the first twelve months of our children's lives |
  `\  teaching them to walk and talk and the next twelve years |
_o__)   telling them to sit down and shut up.” —Phyllis Diller |
Ben Finney 


signature.asc
Description: PGP signature


Bug#866230: /etc/bash_completion.d/dput file not removed on upgrade

2017-06-28 Thread Laurent Bigonville
Package: dput
Version: 0.12.1
Severity: normal

Hi,

It seems that the package is moving the bash completion file from
/etc/bash_completion.d/ to /usr/share/bash-completion/completions but
the file in /etc is not remved on upgrade.

The package should explicitly remove that file on upgrade

Regards,

Laurent Bigonville

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dput depends on:
ii  python2.7.13-2
ii  python-debian 0.1.30
ii  python-gpg1.8.0-3+b2
ii  python-pkg-resources  36.0.1-1

dput recommends no packages.

Versions of packages dput suggests:
ii  lintian 2.5.51
pn  mini-dinstall   
ii  openssh-client  1:7.5p1-5
ii  rsync   3.1.2-2

-- Configuration Files:
/etc/bash_completion.d/dput [Errno 2] Aucun fichier ou dossier de ce type: 
'/etc/bash_completion.d/dput'

-- no debconf information