Skip to content

secret-tool completion file conflicting with upstream file #1317

Closed
@rffontenelle

Description

@rffontenelle

Describe the bug

Since libsecret 0.21.6, the completion file secret-tool is include and installed in the very same directory as bash-completion. For downstream distros this may cause file conflicts blocking both packages to be installed at the same time. For instance, see this issue this issue in Arch Linux for libsecret bash-completion package.

EDIT: issue moved from libsecret to bash-completion

Should the secret-tool completion file be removed from bash-completion, since the upstream now ships it?

To reproduce

On Arch Linux:

  1. Install bash-completion (right now, version 2.15.0-1)
  2. Enable testing repositories
  3. Try to install libsecret 0.21.6-1
  4. Arch's package manager (pacman) fails with message:

libsecret: /usr/share/bash-completion/completions/secret-tool exists in filesystem (owned by bash-completion)

Expected behavior

No conflict between libsecret and bash-completion, allowing both to be installed.

Versions (please complete the following information)

  • Operating system name/distribution and version: Arch Linux (x86_64, rolling release)
  • bash version, echo "$BASH_VERSION": 5.2.37(1)-release
  • bash-completion version, (IFS=.; echo "${BASH_COMPLETION_VERSINFO[*]}"): 2.15.0

Additional context

Debug trace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions