Package: libsecret-tools,bash-completion
Severity: serious
Justification: Policy 7.6
Tags: trixie sid
User: debian...@lists.debian.org
Usertags: fileconflict
Control: found -1 libsecret-tools/0.21.6-1
Control: found -1 bash-completion/1:2.16.0-6
Forwarded: https://github.com/scop/bash-completion/issues/1317

To reproduce:

% podman run --rm -it debian:sid-slim
root@4077fe1aaec9:/# apt update
root@4077fe1aaec9:/# apt upgrade
root@4077fe1aaec9:/# apt install bash-completion
root@4077fe1aaec9:/# apt install libsecret-tools

(Or use your favourite container or virtual machine manager, or a
real system)

Expected result: successful installation

Actual result:

Unpacking libsecret-tools (0.21.6-1) ...
dpkg: error processing archive 
/tmp/apt-dpkg-install-vcMVJT/10-libsecret-tools_0.21.6-1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/bash-completion/completions/secret-tool', 
which is also in package bash-completion (1
:2.16.0-6)

Possible solutions:

1. bash-completion drops its completions for secret-tool in a new upload,
   version V, then libsecret-tools declares Breaks and Replaces on
   bash-completion (<< V~)

2. libsecret-tools drops its completions for secret-tool and users continue
   to get the version from bash-completion

3. First do (2.) as a temporary stopgap, then arrange with the
   bash-completion maintainers how to do (1.) in a coordinated way

Thanks,
    smcv

Reply via email to