kubernetes / website

Kubernetes website and documentation repo:
https://kubernetes.io
Creative Commons Attribution 4.0 International
4.6k stars 14.49k forks source link

Kubernetes documentation still points to legacy package repo #45717

Open Tanushriyt opened 8 months ago

Tanushriyt commented 8 months ago

hello,

i'm getting these errors after running

sudo apt -y install curl apt-transport-https
curl  -fsSL  https://packages.cloud.google.com/apt/doc/apt-key.gpg|sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/kubernetes.gpg
echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list

when i run sudo apt-get update i'm getting these errors

 Err:2 https://packages.cloud.google.com/apt kubernetes-xenial Release
  404  Not Found [IP: 142.250.71.46 443]
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.

Any help?

k8s-ci-robot commented 8 months ago

This issue is currently awaiting triage.

SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the triage/accepted label.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
Tanushriyt commented 8 months ago

/triage accepted

k8s-ci-robot commented 8 months ago

@Tanushriyt: The label triage/accepted cannot be applied. Only GitHub organization members can add the label.

In response to [this](https://github.com/kubernetes/website/issues/45717#issuecomment-2024502837): >/triage accepted Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
utkarsh-singh1 commented 8 months ago

Seems like the apt repository to install certain k8s packages is not available anymore.

utkarsh-singh1 commented 8 months ago

Have you installed kubeadm previously?

stmcginnis commented 8 months ago

Can you share which page of the documentation you are following that led to this?

It looks like you are using the old apt repo that is no longer available. https://kubernetes.io/blog/2023/08/31/legacy-package-repository-deprecation/

We must still have a page that references the old information.

/retitle Kubernetes documentation still points to legacy package repo /kind support /remove triage

sftim commented 8 months ago

/triage needs-information /remove-kind support

We want to know which page still needs updating.

feorlen commented 7 months ago

I saw this same error following the instructions here: https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#install-using-native-package-management

Yaren-IT commented 5 months ago
utkarsh-singh1 commented 5 months ago

These links seem to be of different langauges.

utkarsh-singh1 commented 5 months ago

Would be better if there would be separate issues raise for these docs, or A umbrella issues will be created where all these docs of other languages can be mentioned.

utkarsh-singh1 commented 5 months ago

I saw this same error following the instructions here: https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#install-using-native-package-management

The given command is running fine.

utkarsh-singh1 commented 5 months ago

@feorlen, can you confirm is the issue still there or it is resolved.

utkarsh-singh1 commented 3 months ago

@feorlen, @Tanushriyt if problem still persists you can mention it, else it would be better to close this issue.

k8s-triage-robot commented 3 weeks ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale