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

Installing Kubernetes Tools from pengwin setup installs non-existent repository #786

Open
j-0-h-n opened this issue Apr 19, 2024 · 4 comments
Assignees
Labels
Bug This is a problem. Implemented Been there. Done that.

Comments

@j-0-h-n
Copy link

j-0-h-n commented Apr 19, 2024

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. run pengwin-setup
  2. install kubernetes tools
  3. run apt-update
  4. See error

root@Umbriel:/home/john# apt update
Hit:1 https://deb.debian.org/debian stable InRelease
Get:2 https://deb.debian.org/debian stable-updates InRelease [55.4 kB]
Hit:3 https://deb.debian.org/debian-security stable-security InRelease
Get:4 https://deb.debian.org/debian bookworm-backports InRelease [56.5 kB]
Hit:5 https://packages.microsoft.com/repos/azure-cli bullseye InRelease
Hit:6 https://deb.debian.org/debian oldstable InRelease
Hit:7 https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye InRelease
Ign:8 https://packages.cloud.google.com/apt kubernetes-xenial InRelease
Err:9 https://packages.cloud.google.com/apt kubernetes-xenial Release
404 Not Found [IP: 142.250.187.206 443]
Hit:10 https://packagecloud.io/whitewaterfoundry/pengwin-base/debian bookworm InRelease
Hit:11 https://packagecloud.io/whitewaterfoundry/pengwin-setup/debian bookworm InRelease
Hit:12 https://packagecloud.io/whitewaterfoundry/wslu/debian bullseye InRelease
Reading package lists... Done
E: The repository 'https://apt.kubernetes.io kubernetes-xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

cat /etc/apt/sources.list.d/kubernetes.list
deb https://apt.kubernetes.io/ kubernetes-xenial main

Expected behavior
this should use the new repositories a guide to manual setup can be found here:
https://kubernetes.io/blog/2023/08/15/pkgs-k8s-io-introduction/#how-to-migrate-deb

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

What other troubleshooting have you attempted?
I have followed the intructions on the link above and it fixes the problem but presumably the pengwin-setup tool should get it correct in the first place

Insert here:

Pengwin Version

Run grep "PENGWIN_VERSION" /etc/os-release in Pengwin.
24.03

WSL general info

Run wslsys in Pengwin.

Release Install Date: Sun Aug 20 23:24:55 BST 2023
Branch: ni_release
Build: 22621
Full Build: 22621.1.amd64fre.ni_release.220506-1250
Display Scaling: 1.5
Locale (Windows): en_GB
Theme (Windows): light
Uptime (Windows): 0d 2h 42m
Version (WSL): 2
Uptime (WSL): 0d 0h 52m
Release: Pengwin
Kernel: Linux 5.15.146.1-microsoft-standard-WSL2
Packages: 883
IPv4 Address: 172.29.25.193
System Type (Windows): Desktop
SystemD Status: disabled

@j-0-h-n j-0-h-n added the Bug This is a problem. label Apr 19, 2024
@crramirez
Copy link
Collaborator

Thanks a lot for reporting. We will fix the installer

@crramirez crramirez moved this to 🔖 Ready in Pengwin Aug 15, 2024
@crramirez crramirez moved this from 🔖 Ready to 👀 In review in Pengwin Aug 15, 2024
@crramirez crramirez added the Implemented Been there. Done that. label Aug 15, 2024
@crramirez crramirez self-assigned this Aug 15, 2024
@crramirez
Copy link
Collaborator

Fixed in Pengwin version 24.08.x

@Kounavi
Copy link

Kounavi commented Sep 18, 2024

Hello @crramirez . Has this been fixed? I am using PENGWIN_VERSION="24.08.2" but this issue still occurs!

@crramirez
Copy link
Collaborator

Yes it should. Could you please paste the log here? You can call pengwin-setup --debug for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a problem. Implemented Been there. Done that.
Projects
Status: Done
Development

No branches or pull requests

3 participants