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

Bug#876095: O: bash-completion -- programmable completion for the bash shell



On 29 Sep 2017, Gabriel F. T. Gomes wrote:

>After I upgraded bash-completion to newer upstream releases, I got some
>conflicts during the installation of the package.  For instance, it
>complained about the existence of the completion file for adb:
>
>dpkg: error processing
>archive /home/gftg/debian/bash-completion/bash-completion_2.7-1_all.deb
>(--install):
> trying to overwrite '/usr/share/bash-completion/completions/adb',
> which is also in package adb 1:7.0.0+r33-2
>
>I know that bts (from packages devscripts) and mount/umount (from
>package mount) have the same problem, because I locally removed them
>from bash-completion (just to test).

In the packaging of bash-completion itself, there were already some
instances of such conflicts:

http://git.inconstante.eti.br/?p=bash-completion-debian.git;a=commitdiff;h=116456a898d3468f5ae0c0a609a8087de7cd3e58
http://git.inconstante.eti.br/?p=bash-completion-debian.git;a=commitdiff;h=693e47c80aaaeeb50cf4b2b1f563eacbce65f4f5

So, I adopted the same strategy for adb, bts, mount, and umount.

>However, I don't know what to do about it.  There should be certainly
>more files that collide this way, but I only saw these in my computer,
>because I have few packages installed.

I still don't know if more collisions will occur on other people's
machines.  Perhaps I should just let them happen, then address each
individual collision reported as a bug against bash-completion?


I have just finished the upgrade [1], pushed to mentors [2] and opened
a RFS [3].

[1] http://git.inconstante.eti.br/?p=bash-completion-debian.git;a=shortlog;h=refs/heads/unstable

[2] https://mentors.debian.net/package/bash-completion

[3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877450

Attachment: pgp8x6E_LcjPW.pgp
Description: OpenPGP digital signature


Reply to: