Apt-get update fails in BF2

root@localhost:/tmp# apt-get update
Get:1 file:/var/doca-dpu-repo-ubuntu2004-local ./ InRelease
Ign:1 file:/var/doca-dpu-repo-ubuntu2004-local ./ InRelease
Get:2 file:/var/hbn-repo-aarch64-ubuntu2004-local ./ InRelease
Ign:2 file:/var/hbn-repo-aarch64-ubuntu2004-local ./ InRelease
Get:3 file:/var/doca-dpu-repo-ubuntu2004-local ./ Release [551 B]
Get:4 file:/var/hbn-repo-aarch64-ubuntu2004-local ./ Release [469 B]
Get:3 file:/var/doca-dpu-repo-ubuntu2004-local ./ Release [551 B]
Get:4 file:/var/hbn-repo-aarch64-ubuntu2004-local ./ Release [469 B]
Get:5 file:/var/hbn-repo-aarch64-ubuntu2004-local ./ Release.gpg
Ign:5 file:/var/hbn-repo-aarch64-ubuntu2004-local ./ Release.gpg
Hit:8 Index of /ubuntu-ports focal InRelease
Hit:9 Index of /ubuntu-ports focal-updates InRelease
Hit:10 Index of /ubuntu-ports focal-backports InRelease
Hit:11 Index of /ubuntu-ports focal-security InRelease
Get:7 Index of /apt// kubernetes-xenial InRelease [8993 B]
Ign:12 Index of /apt// kubernetes-xenial/main arm64 Packages
Ign:12 Index of /apt// kubernetes-xenial/main arm64 Packages
Ign:12 Index of /apt// kubernetes-xenial/main arm64 Packages
Err:12 Index of /apt// kubernetes-xenial/main arm64 Packages
404 Not Found [IP: 172.217.160.142 443]
Fetched 8993 B in 2s (4177 B/s)
Reading package lists… Done
E: Failed to fetch https://packages.cloud.google.com/apt/dists/kubernetes-xenial/main/binary-arm64/by-hash/SHA256/9a285ef682715aa3b60d104849ed48d37384174f73cc66aaf600054a3ad51d2d 404 Not Found [IP: 172.217.160.142 443]
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@localhost:/tmp# ./aptsources-cleanup.pyz
No duplicate entries were found.
root@localhost:/tmp# uname -a
Linux localhost.localdomain 5.4.0-1049-bluefield #55-Ubuntu SMP PREEMPT Mon Oct 17 20:09:22 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

apt-get update always fails on the DPU , i tried many workarounds but still didnt help

hi thanuj

I have test your failed IP and address
It can be accessed, I think your issue caused by your network.
If you have issue with some source address.
You can modify /etc/apt/sources.list.d/ like normal Ubuntu