Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPM package instalation failing due to file conflict with bash-completion #2464

Open
jhutar opened this issue Jan 8, 2025 · 2 comments
Open
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@jhutar
Copy link

jhutar commented Jan 8, 2025

Versions and Operating System

  • Tekton Pipeline version:
Client version: 0.39.0
Chains version: v0.23.0
Pipeline version: v0.66.0
Triggers version: v0.30.0
Operator version: devel
tektoncd-cli-0.39.0-1.x86_64
  • Operating System:
Fedora 41 

Expected Behavior

Installation should pass

Actual Behavior

root@jhutar:~# dnf install -y tektoncd-cli
Updating and loading repositories:
Repositories loaded.
Package                 Arch   Version                 Repository           Size
Installing:
 tektoncd-cli           x86_64 0.39.0-1                copr:copr.fedor 124.8 MiB

Transaction Summary:
 Installing:         1 package

Total size of inbound packages is 24 MiB. Need to download 0 B.
After this operation, 125 MiB extra will be used (install 125 MiB, remove 0 B).
[1/1] tektoncd-cli-0:0.39.0-1.x86_64    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[1/1] Total                             100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
Transaction failed: Rpm transaction failed.
  - file /usr/share/bash-completion/completions/_tkn from install of tektoncd-cli-0.39.0-1.x86_64 conflicts with file from package bash-completion-1:2.13-2.fc41.noarch

Steps to Reproduce the Problem

  1. When on Fedora 41 with bash-completion-1:2.13-2.fc41.noarch installed enable https://copr.fedorainfracloud.org/coprs/chmouel/tektoncd-cli/ and run `dnf install -y tektoncd-cli
@jhutar jhutar added the kind/bug Categorizes issue or PR as related to a bug. label Jan 8, 2025
@chmouel
Copy link
Member

chmouel commented Jan 8, 2025

seems like bash-completion has decided to ship wrappers so we can get rid of our file and depend on bash-completion package instead

image

@chmouel
Copy link
Member

chmouel commented Jan 8, 2025

added note it doesn't seem to be the case for zsh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants