website icon indicating copy to clipboard operation
website copied to clipboard

CLI Linux repo installs wrong version

Open mchasteen opened this issue 1 year ago • 3 comments

linux instructions install an older version it appears:

sudo apt update;sudo apt install -y gnupg sudo mkdir -p /etc/apt/keyrings/ sudo gpg --no-default-keyring --keyring /etc/apt/keyrings/tektoncd.gpg --keyserver keyserver.ubuntu.com --recv-keys 3EFE0E0A2F2F60AA echo "deb [signed-by=/etc/apt/keyrings/tektoncd.gpg] http://ppa.launchpad.net/tektoncd/cli/ubuntu eoan main"|sudo tee /etc/apt/sources.list.d/tektoncd-ubuntu-cli.list sudo apt update && sudo apt install -y tektoncd-cli

tkn version Thu 30 May 2024 11:40:53 PM

Client version: 2020-04-01T10:57:38Z Pipeline version: unknown

found via issue: https://github.com/tektoncd/pipeline/issues/5804

I resolved the issue by: sudo apt remove tektoncd-cli curl -LO https://github.com/tektoncd/cli/releases/download/v0.37.0/tektoncd-cli-0.37.0_Linux-64bit.deb sudo apt install ./tektoncd-cli-0.37.0_Linux-64bit.deb

tkn version Thu 30 May 2024 11:55:11 PM Client version: 0.37.0 Chains version: v0.20.1 Pipeline version: v0.56.4 Triggers version: v0.26.1 Dashboard version: v0.43.1 Operator version: v0.70.2

mchasteen avatar May 31 '24 05:05 mchasteen

Thanks for reporting this @mchasteen

@tektoncd/cli-maintainers fyi

AlanGreene avatar May 31 '24 08:05 AlanGreene

Hey @mchasteen Can you please try by replacing eoan to noble

piyush-garg avatar May 31 '24 09:05 piyush-garg

Changing eoan to noble worked:

tkn version Fri 31 May 2024 03:44:21 PM Client version: 0.37.0 Chains version: v0.20.1 Pipeline version: v0.56.4 Triggers version: v0.26.1 Dashboard version: v0.43.1 Operator version: v0.70.2

mchasteen avatar May 31 '24 21:05 mchasteen