actions / runner-images

GitHub Actions runner images
MIT License
9.17k stars 2.84k forks source link

`apt-get update` failed on the latest ubuntu-22.04 image (2022.05.29.1) #5656

Closed MehdiChinoune closed 1 year ago

MehdiChinoune commented 1 year ago

Description

sudo apt-get update
Hit:1 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease
Hit:2 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
Get:3 http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease [109 kB]
Get:4 http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB]
Get:5 http://azure.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:6 https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease [3626 B]
Ign:7 https://adoptopenjdk.jfrog.io/adoptopenjdk/deb jammy InRelease
Err:8 https://adoptopenjdk.jfrog.io/adoptopenjdk/deb jammy Release
  404   [IP: 34.139.10.89 443]
Get:9 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [219 kB]
Hit:10 https://packages.adoptium.net/artifactory/deb jammy InRelease
Get:11 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [56.4 kB]
Hit:12 https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu jammy InRelease
Get:13 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 c-n-f Metadata [3876 B]
Get:14 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [102 kB]
Get:15 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [34.0 kB]
Get:16 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 c-n-f Metadata [1848 B]
Get:[17](https://github.com/MehdiChinoune/makhber/runs/6677867685?check_suite_focus=true#step:5:18) http://azure.archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages [129 kB]
Get:[18](https://github.com/MehdiChinoune/makhber/runs/6677867685?check_suite_focus=true#step:5:19) http://azure.archive.ubuntu.com/ubuntu jammy-security/main Translation-en [33.8 kB]
Get:[19](https://github.com/MehdiChinoune/makhber/runs/6677867685?check_suite_focus=true#step:5:20) http://azure.archive.ubuntu.com/ubuntu jammy-security/main amd64 c-n-f Metadata [[21](https://github.com/MehdiChinoune/makhber/runs/6677867685?check_suite_focus=true#step:5:22)16 B]
Reading package lists...
E: The repository 'https://adoptopenjdk.jfrog.io/adoptopenjdk/deb jammy Release' does not have a Release file.
W: https://cloud.r-project.org/bin/linux/ubuntu/jammy-cran40/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://packages.adoptium.net/artifactory/deb/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Error: The process 'sudo' failed with exit code 100

It looks like adoptopenjdk repo is unreachable

Virtual environments affected

Image version and build link

Environment: ubuntu-22.04 Version: 20220529.1

Is it regression?

yes

Expected behavior

Success

Actual behavior

Failure

Repro steps

sudo apt update

al-cheb commented 1 year ago

Hey @MehdiChinoune , We will take a look at it.

Temporary workaround:

sudo rm -f /etc/apt/sources.list.d/archive_uri-*
sudo apt-get update

or

sudo apt-get update || true
al-cheb commented 1 year ago

This issue should be fixed.

RaitonGG commented 1 year ago

raiton@raiton-N550JV:~/Downloads$ sudo rm -f /etc/apt/sources.list.d/archive_uri-* raiton@raiton-N550JV:~/Downloads$ sudo apt-get update Hit:1 https://linux.teamviewer.com/deb stable InRelease Hit:2 http://packages.microsoft.com/repos/code stable InRelease
Hit:3 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:4 https://ppa.launchpadcontent.net/openjdk-r/ppa/ubuntu jammy InRelease
Hit:5 https://repo.steampowered.com/steam stable InRelease
Hit:6 http://archive.canonical.com/ubuntu jammy InRelease
Ign:7 https://storage.googleapis.com/download.dartlang.org/linux/debian stable InRelease
Hit:8 https://storage.googleapis.com/download.dartlang.org/linux/debian stable Release Ign:9 https://archive.ubuntu.com/ubuntu jammy InRelease
Ign:10 https://archive.ubuntu.com/ubuntu jammy-updates InRelease Ign:11 https://archive.ubuntu.com/ubuntu jammy-security InRelease Ign:12 https://archive.ubuntu.com/ubuntu jammy-backports InRelease Ign:9 https://archive.ubuntu.com/ubuntu jammy InRelease Ign:10 https://archive.ubuntu.com/ubuntu jammy-updates InRelease Ign:11 https://archive.ubuntu.com/ubuntu jammy-security InRelease Ign:12 https://archive.ubuntu.com/ubuntu jammy-backports InRelease Ign:9 https://archive.ubuntu.com/ubuntu jammy InRelease Ign:10 https://archive.ubuntu.com/ubuntu jammy-updates InRelease Ign:11 https://archive.ubuntu.com/ubuntu jammy-security InRelease Ign:12 https://archive.ubuntu.com/ubuntu jammy-backports InRelease Err:9 https://archive.ubuntu.com/ubuntu jammy InRelease Could not connect to archive.ubuntu.com:443 (185.125.190.36). - connect (111: Connection refused) Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1562::15). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:443 (185.125.190.39). - connect (111: Connection refused) Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1562::18). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:443 (91.189.91.38). - connect (111: Connection refused) Cannot initiate the connection to archive.ubuntu.com:443 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:443 (91.189.91.39). - connect (111: Connection refused) Cannot initiate the connection to archive.ubuntu.com:443 (2620:2d:4000:1::16). - connect (101: Network is unreachable) Err:10 https://archive.ubuntu.com/ubuntu jammy-updates InRelease Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1562::15). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1562::18). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:443 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:443 (2620:2d:4000:1::16). - connect (101: Network is unreachable) Err:11 https://archive.ubuntu.com/ubuntu jammy-security InRelease Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1562::15). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1562::18). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:443 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:443 (2620:2d:4000:1::16). - connect (101: Network is unreachable) Err:12 https://archive.ubuntu.com/ubuntu jammy-backports InRelease Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1562::15). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1562::18). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:443 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:443 (2620:2d:4000:1::16). - connect (101: Network is unreachable) Reading package lists... Done W: Failed to fetch https://archive.ubuntu.com/ubuntu/dists/jammy/InRelease Could not connect to archive.ubuntu.com:443 (185.125.190.36). - connect (111: Connection refused) Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1562::15). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:443 (185.125.190.39). - connect (111: Connection refused) Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1562::18). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:443 (91.189.91.38). - connect (111: Connection refused) Cannot initiate the connection to archive.ubuntu.com:443 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:443 (91.189.91.39). - connect (111: Connection refused) Cannot initiate the connection to archive.ubuntu.com:443 (2620:2d:4000:1::16). - connect (101: Network is unreachable) W: Failed to fetch https://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1562::15). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1562::18). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:443 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:443 (2620:2d:4000:1::16). - connect (101: Network is unreachable) W: Failed to fetch https://archive.ubuntu.com/ubuntu/dists/jammy-security/InRelease Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1562::15). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1562::18). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:443 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:443 (2620:2d:4000:1::16). - connect (101: Network is unreachable) W: Failed to fetch https://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1562::15). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1562::18). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:443 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:443 (2620:2d:4000:1::16). - connect (101: Network is unreachable) W: Some index files failed to download. They have been ignored, or old ones used instead.

tried with the workarround stll nothing

ewanden0 commented 1 year ago

Hi friends, I have tried the same workaround and it didn't work either.

Exudev commented 1 year ago

Hi friends,

same, i dont know what to do :(

Frescoinc commented 1 year ago

There is any working solution for that problem??

Maxl94 commented 1 year ago

For me cleaning the tmp folder resolved the problem. I don't remember the original post where I found the solution.

cshotton commented 1 year ago

It looks like a problem trying to access the archives via IPv6. I am seeing a similar problem.

cshotton commented 1 year ago

Actually, it looks like the archive.ubuntu.com server(s) simply do not have jammy in their dists subdirectory. No idea what's up with that.

jacksonCurry6464 commented 1 year ago

This seems to have become an issue again! @al-cheb

Roman-Ka commented 1 year ago

I am also facing it right now in docker build

jacksonCurry6464 commented 1 year ago

Reverting to Ubuntu 20.04 worked for me @Roman-Ka. So had to change away from ubuntu-latest to ubuntu-20.04 as a temporary fix until this bug that got introduced last night gets fixed

kaare-mikkelsen commented 1 year ago

this is still an issue, getting it on a fresh install of wsl

MartinMa commented 1 year ago

I am having the same problem with a fresh install of Ubuntu 22.04 (WSL). I have no idea how to fix it.

This is my output after running sudo apt-get update.

Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Err:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
  Temporary failure resolving 'security.ubuntu.com'
Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Err:1 http://archive.ubuntu.com/ubuntu jammy InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease  Temporary failure resolving 'security.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.

Update: It looks like my issue is related to my terminal having no internet connection at all. I can't ping Google or any other site. So it doesn't seem to be an Ubuntu issue per se. For anyone else having this problem. This might help: No internet connection on WSL Ubuntu (Windows Subsystem for Linux)

jack-gits commented 1 year ago

I met the following issues:

Get:1 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Err:1 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [107 kB]
Err:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C Err:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C Get:5 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB] Get:4 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2204/x86_64 InRelease [1581 B] Err:4 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2204/x86_64 InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC Err:5 http://archive.ubuntu.com/ubuntu jammy InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C Reading package lists... Done

atiaabdessamad commented 1 year ago

I am having the same issues :

root@ca1b6835c6bd:/# apt-get update Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB] Get:2 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB] Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB] Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [107 kB] Err:1 http://security.ubuntu.com/ubuntu jammy-security InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C Err:2 http://archive.ubuntu.com/ubuntu jammy InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C Err:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C Err:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C Reading package lists... Done W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key. W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key. W: GPG error: http://security.ubuntu.com/ubuntu jammy-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C E: The repository 'http://security.ubuntu.com/ubuntu jammy-security InRelease' is not signed. 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. W: http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key. W: http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key. W: GPG error: http://archive.ubuntu.com/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C E: The repository 'http://archive.ubuntu.com/ubuntu jammy InRelease' is not signed. 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. W: http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key. W: http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key. W: GPG error: http://archive.ubuntu.com/ubuntu jammy-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C E: The repository 'http://archive.ubuntu.com/ubuntu jammy-updates InRelease' is not signed. 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. W: http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key. W: http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key. W: GPG error: http://archive.ubuntu.com/ubuntu jammy-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C E: The repository 'http://archive.ubuntu.com/ubuntu jammy-backports InRelease' is not signed. 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. E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/.deb /var/cache/apt/archives/partial/.deb /var/cache/apt/*.bin || true' E: Sub-process returned an error code

1 - the error indicates that files in /etc/apt/trusted.gpg.d/ are not readable however there is no read access limit on any of these files

root@ca1b6835c6bd:/# ls -lh /etc/apt/trusted.gpg.d/ total 8.0K -rw-r--r-- 1 root root 2.8K Mar 26 2021 ubuntu-keyring-2012-cdimage.gpg -rw-r--r-- 1 root root 1.7K Mar 26 2021 ubuntu-keyring-2018-archive.gpg

2 - the error indicates that the was a problem when deleting files in /var/cache/apt/ and its subdirectories, but i did not find any files on those directories

Environment : architecture: amd64 ci : concourse-ci docker image : ubuntu:22.04, wich is running on amidos/dcind:2.1.0 image

darias416 commented 1 year ago

Same issue. The temp workaround didn't work for me either.

pakindessama commented 1 year ago

Any workaround for this issue?

GungnirAP commented 1 year ago

Turning off the firewall in my antivirus solved the issue.

Muhammed-Y commented 1 year ago

It got resolved when i changed my outboud rules to all tcp

UttamanNatesan commented 1 year ago

Hi all,

still am facing the same issue even after change of outbound rules of TCP, disabling firewall

rl614 commented 12 months ago

Im having the same issue here. Changing the FW setting didnt help.

evanTjanitra commented 11 months ago

I also experienced the same thing when I wanted to update, on the Ubuntu 22.04 server. What I did was make resolv.conf permanent and after restarting the server and updating again.

TehanovAnton commented 11 months ago

this post help me: https://stackoverflow.com/questions/72299444/docker-desktop-doesnt-install-saying-docker-ce-cli-not-installable

3n4y commented 8 months ago

this post help me: https://stackoverflow.com/questions/72299444/docker-desktop-doesnt-install-saying-docker-ce-cli-not-installable

Thanks for the link! I just ran this line and it fixed it.

sudo apt install -y ca-certificates curl gnupg lsb-release

MaxwellWjj commented 8 months ago

Same issue

Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease Hit:3 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease Hit:4 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease Hit:5 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease Hit:6 http://archive.ubuntu.com/ubuntu focal InRelease Ign:7 http://ports.ubuntu.com/ubuntu-ports jammy/main amd64 Packages Ign:8 http://ports.ubuntu.com/ubuntu-ports jammy/restricted amd64 Packages Hit:9 http://archive.ubuntu.com/ubuntu focal-updates InRelease Hit:10 http://archive.ubuntu.com/ubuntu focal-backports InRelease Ign:11 http://ports.ubuntu.com/ubuntu-ports jammy/universe amd64 Packages Ign:12 http://ports.ubuntu.com/ubuntu-ports jammy/multiverse amd64 Packages Ign:13 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main amd64 Packages Ign:14 http://ports.ubuntu.com/ubuntu-ports jammy-updates/restricted amd64 Packages Ign:15 http://ports.ubuntu.com/ubuntu-ports jammy-updates/universe amd64 Packages Ign:16 http://ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse amd64 Packages Ign:17 http://ports.ubuntu.com/ubuntu-ports jammy-backports/main amd64 Packages Ign:18 http://ports.ubuntu.com/ubuntu-ports jammy-backports/universe amd64 Packages Ign:19 http://ports.ubuntu.com/ubuntu-ports jammy-security/main amd64 Packages Ign:20 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted amd64 Packages Ign:21 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe amd64 Packages Ign:22 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse amd64 Packages Ign:7 http://ports.ubuntu.com/ubuntu-ports jammy/main amd64 Packages Ign:8 http://ports.ubuntu.com/ubuntu-ports jammy/restricted amd64 Packages Ign:11 http://ports.ubuntu.com/ubuntu-ports jammy/universe amd64 Packages Ign:12 http://ports.ubuntu.com/ubuntu-ports jammy/multiverse amd64 Packages Ign:13 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main amd64 Packages Ign:14 http://ports.ubuntu.com/ubuntu-ports jammy-updates/restricted amd64 Packages Ign:15 http://ports.ubuntu.com/ubuntu-ports jammy-updates/universe amd64 Packages Ign:16 http://ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse amd64 Packages Ign:17 http://ports.ubuntu.com/ubuntu-ports jammy-backports/main amd64 Packages Ign:18 http://ports.ubuntu.com/ubuntu-ports jammy-backports/universe amd64 Packages Ign:19 http://ports.ubuntu.com/ubuntu-ports jammy-security/main amd64 Packages Ign:20 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted amd64 Packages Ign:21 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe amd64 Packages Ign:22 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse amd64 Packages Ign:7 http://ports.ubuntu.com/ubuntu-ports jammy/main amd64 Packages Ign:8 http://ports.ubuntu.com/ubuntu-ports jammy/restricted amd64 Packages Ign:11 http://ports.ubuntu.com/ubuntu-ports jammy/universe amd64 Packages Ign:12 http://ports.ubuntu.com/ubuntu-ports jammy/multiverse amd64 Packages Ign:13 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main amd64 Packages Ign:14 http://ports.ubuntu.com/ubuntu-ports jammy-updates/restricted amd64 Packages Ign:15 http://ports.ubuntu.com/ubuntu-ports jammy-updates/universe amd64 Packages Ign:16 http://ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse amd64 Packages Ign:17 http://ports.ubuntu.com/ubuntu-ports jammy-backports/main amd64 Packages Ign:18 http://ports.ubuntu.com/ubuntu-ports jammy-backports/universe amd64 Packages Ign:19 http://ports.ubuntu.com/ubuntu-ports jammy-security/main amd64 Packages Ign:20 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted amd64 Packages Ign:21 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe amd64 Packages Ign:22 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse amd64 Packages Ign:7 http://ports.ubuntu.com/ubuntu-ports jammy/main amd64 Packages Ign:8 http://ports.ubuntu.com/ubuntu-ports jammy/restricted amd64 Packages Ign:11 http://ports.ubuntu.com/ubuntu-ports jammy/universe amd64 Packages Ign:12 http://ports.ubuntu.com/ubuntu-ports jammy/multiverse amd64 Packages Ign:13 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main amd64 Packages Ign:14 http://ports.ubuntu.com/ubuntu-ports jammy-updates/restricted amd64 Packages Ign:15 http://ports.ubuntu.com/ubuntu-ports jammy-updates/universe amd64 Packages Ign:16 http://ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse amd64 Packages Ign:17 http://ports.ubuntu.com/ubuntu-ports jammy-backports/main amd64 Packages Ign:18 http://ports.ubuntu.com/ubuntu-ports jammy-backports/universe amd64 Packages Ign:19 http://ports.ubuntu.com/ubuntu-ports jammy-security/main amd64 Packages Ign:20 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted amd64 Packages Ign:21 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe amd64 Packages Ign:22 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse amd64 Packages Ign:7 http://ports.ubuntu.com/ubuntu-ports jammy/main amd64 Packages Ign:8 http://ports.ubuntu.com/ubuntu-ports jammy/restricted amd64 Packages Ign:11 http://ports.ubuntu.com/ubuntu-ports jammy/universe amd64 Packages Ign:12 http://ports.ubuntu.com/ubuntu-ports jammy/multiverse amd64 Packages Ign:13 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main amd64 Packages Ign:14 http://ports.ubuntu.com/ubuntu-ports jammy-updates/restricted amd64 Packages Ign:15 http://ports.ubuntu.com/ubuntu-ports jammy-updates/universe amd64 Packages Ign:16 http://ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse amd64 Packages Ign:17 http://ports.ubuntu.com/ubuntu-ports jammy-backports/main amd64 Packages Ign:18 http://ports.ubuntu.com/ubuntu-ports jammy-backports/universe amd64 Packages Ign:19 http://ports.ubuntu.com/ubuntu-ports jammy-security/main amd64 Packages Ign:20 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted amd64 Packages Ign:21 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe amd64 Packages Ign:22 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse amd64 Packages Err:7 http://ports.ubuntu.com/ubuntu-ports jammy/main amd64 Packages 404 Not Found [IP: 185.125.190.39 80] Ign:8 http://ports.ubuntu.com/ubuntu-ports jammy/restricted amd64 Packages Ign:11 http://ports.ubuntu.com/ubuntu-ports jammy/universe amd64 Packages Ign:12 http://ports.ubuntu.com/ubuntu-ports jammy/multiverse amd64 Packages Err:13 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main amd64 Packages 404 Not Found [IP: 185.125.190.39 80] Ign:14 http://ports.ubuntu.com/ubuntu-ports jammy-updates/restricted amd64 Packages Ign:15 http://ports.ubuntu.com/ubuntu-ports jammy-updates/universe amd64 Packages Ign:16 http://ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse amd64 Packages Err:17 http://ports.ubuntu.com/ubuntu-ports jammy-backports/main amd64 Packages 404 Not Found [IP: 185.125.190.39 80] Ign:18 http://ports.ubuntu.com/ubuntu-ports jammy-backports/universe amd64 Packages Err:19 http://ports.ubuntu.com/ubuntu-ports jammy-security/main amd64 Packages 404 Not Found [IP: 185.125.190.39 80] Ign:20 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted amd64 Packages Ign:21 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe amd64 Packages Ign:22 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse amd64 Packages Reading package lists... Done E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/main/binary-amd64/Packages 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy-updates/main/binary-amd64/Packages 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy-backports/main/binary-amd64/Packages 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy-security/main/binary-amd64/Packages 404 Not Found [IP: 185.125.190.39 80] E: Some index files failed to download. They have been ignored, or old ones used instead.

GreatOverlordX commented 7 months ago

For me, it was my VPN. I was using a feature that allows me to stay invisible on LAN. the only 'con' is: I won't be able to access other network devices.So it seems this was blocking me to actually retrieve what I needed, for the installation. I could not ping google, however, once I turned it off I could. I tried installing whatever I had to install and I finally obtained the results expected. Meaning, no errors.

danichim commented 6 months ago

If you installed WSL with VPN connection is problem, you can resolve editing by: sudo nano /etc/resolv.conf `# This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/resolv.conf

[network]

generateResolvConf = false

nameserver xxx.xx.xx` Change nameserver with 8.8.8.8 and should try again to update. That works for me.

chaudharynidhi commented 6 months ago

This also didn't work for me, I am not using any firewall settings, it's already disabled, can anyone please help with this issue?

andrewromanchukk commented 5 months ago

you have to configure network interface here /etc/netplan/. Add 2nd interface for example enp0s8

it5meyash commented 2 months ago

yash@ubuntu-M1:~$ echo "deb [signed-by=/etc/apt/keyrings/librealsense.pgp] https://librealsense.intel.com/Debian/apt-repo lsb_release -cs main" | \ sudo tee /etc/apt/sources.list.d/librealsense.list sudo apt-get update deb [signed-by=/etc/apt/keyrings/librealsense.pgp] https://librealsense.intel.com/Debian/apt-repo jammy main Hit:1 https://packages.microsoft.com/repos/code stable InRelease Get:2 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease [110 kB]
Hit:3 http://in.ports.ubuntu.com/ubuntu-ports jammy InRelease
Get:4 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates InRelease [119 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports jammy-proposed InRelease [270 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports jammy-security/main arm64 Packages [1,046 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports jammy-security/main amd64 Packages [1,239 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports jammy-security/main amd64 Packages [1,239 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports jammy-security/main amd64 Packages [1,239 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports jammy-security/main amd64 Packages [1,239 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports jammy-security/main amd64 Packages [1,239 kB]
Hit:13 http://packages.ros.org/ros2/ubuntu jammy InRelease
Ign:7 http://ports.ubuntu.com/ubuntu-ports jammy-security/main amd64 Packages
Ign:14 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted amd64 Packages
Ign:15 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe amd64 Packages
Ign:16 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse amd64 Packages
Get:17 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/main arm64 Packages [215 kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/main amd64 Packages [248 kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/main amd64 Packages [248 kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/main amd64 Packages [248 kB]
Ign:18 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/main amd64 Packages
Ign:22 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/restricted amd64 Packages
Ign:7 http://ports.ubuntu.com/ubuntu-ports jammy-security/main amd64 Packages
Ign:14 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted amd64 Packages
Ign:15 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe amd64 Packages
Ign:16 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse amd64 Packages
Hit:23 http://in.ports.ubuntu.com/ubuntu-ports jammy-backports InRelease Ign:18 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/main amd64 Packages Ign:22 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/restricted amd64 Packages Ign:7 http://ports.ubuntu.com/ubuntu-ports jammy-security/main amd64 Packages Ign:14 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted amd64 Packages Get:24 http://in.ports.ubuntu.com/ubuntu-ports jammy/main amd64 Packages [1,395 kB] Get:24 http://in.ports.ubuntu.com/ubuntu-ports jammy/main amd64 Packages [1,395 kB] Get:24 http://in.ports.ubuntu.com/ubuntu-ports jammy/main amd64 Packages [1,395 kB] Get:24 http://in.ports.ubuntu.com/ubuntu-ports jammy/main amd64 Packages [1,395 kB] Get:24 http://in.ports.ubuntu.com/ubuntu-ports jammy/main amd64 Packages [1,395 kB] Get:24 http://in.ports.ubuntu.com/ubuntu-ports jammy/main amd64 Packages [1,395 kB] Hit:31 https://librealsense.intel.com/Debian/apt-repo jammy InRelease Ign:15 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe amd64 Packages Ign:24 http://in.ports.ubuntu.com/ubuntu-ports jammy/main amd64 Packages Ign:32 http://in.ports.ubuntu.com/ubuntu-ports jammy/restricted amd64 Packages Ign:33 http://in.ports.ubuntu.com/ubuntu-ports jammy/universe amd64 Packages Ign:34 http://in.ports.ubuntu.com/ubuntu-ports jammy/multiverse amd64 Packages Ign:35 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/main amd64 Packages Ign:36 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/restricted amd64 Packages Ign:37 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/universe amd64 Packages Ign:38 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse amd64 Packages Ign:16 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse amd64 Packages
Ign:18 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/main amd64 Packages
Ign:22 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/restricted amd64 Packages Ign:7 http://ports.ubuntu.com/ubuntu-ports jammy-security/main amd64 Packages Ign:39 http://in.ports.ubuntu.com/ubuntu-ports jammy-backports/main amd64 Packages Ign:40 http://in.ports.ubuntu.com/ubuntu-ports jammy-backports/universe amd64 Packages Ign:24 http://in.ports.ubuntu.com/ubuntu-ports jammy/main amd64 Packages Ign:32 http://in.ports.ubuntu.com/ubuntu-ports jammy/restricted amd64 Packages Ign:33 http://in.ports.ubuntu.com/ubuntu-ports jammy/universe amd64 Packages Ign:34 http://in.ports.ubuntu.com/ubuntu-ports jammy/multiverse amd64 Packages Ign:35 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/main amd64 Packages Ign:36 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/restricted amd64 Packages Ign:37 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/universe amd64 Packages Ign:14 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted amd64 Packages Ign:38 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse amd64 Packages Ign:15 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe amd64 Packages Ign:16 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse amd64 Packages Ign:18 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/main amd64 Packages Ign:39 http://in.ports.ubuntu.com/ubuntu-ports jammy-backports/main amd64 Packages Ign:22 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/restricted amd64 Packages Ign:7 http://ports.ubuntu.com/ubuntu-ports jammy-security/main amd64 Packages Ign:40 http://in.ports.ubuntu.com/ubuntu-ports jammy-backports/universe amd64 Packages Ign:24 http://in.ports.ubuntu.com/ubuntu-ports jammy/main amd64 Packages Ign:32 http://in.ports.ubuntu.com/ubuntu-ports jammy/restricted amd64 Packages Ign:33 http://in.ports.ubuntu.com/ubuntu-ports jammy/universe amd64 Packages Ign:34 http://in.ports.ubuntu.com/ubuntu-ports jammy/multiverse amd64 Packages Ign:35 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/main amd64 Packages Ign:36 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/restricted amd64 Packages Ign:37 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/universe amd64 Packages Ign:14 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted amd64 Packages Ign:38 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse amd64 Packages Ign:15 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe amd64 Packages Ign:16 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse amd64 Packages Ign:18 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/main amd64 Packages Ign:22 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/restricted amd64 Packages Ign:39 http://in.ports.ubuntu.com/ubuntu-ports jammy-backports/main amd64 Packages Ign:40 http://in.ports.ubuntu.com/ubuntu-ports jammy-backports/universe amd64 Packages Ign:24 http://in.ports.ubuntu.com/ubuntu-ports jammy/main amd64 Packages Ign:32 http://in.ports.ubuntu.com/ubuntu-ports jammy/restricted amd64 Packages Ign:33 http://in.ports.ubuntu.com/ubuntu-ports jammy/universe amd64 Packages Ign:34 http://in.ports.ubuntu.com/ubuntu-ports jammy/multiverse amd64 Packages Ign:35 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/main amd64 Packages Ign:36 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/restricted amd64 Packages Err:7 http://ports.ubuntu.com/ubuntu-ports jammy-security/main amd64 Packages 404 Not Found [IP: 185.125.190.36 80] Ign:37 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/universe amd64 Packages Ign:38 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse amd64 Packages Ign:14 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted amd64 Packages Ign:15 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe amd64 Packages Ign:16 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse amd64 Packages Err:18 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/main amd64 Packages 404 Not Found [IP: 185.125.190.36 80] Ign:22 http://ports.ubuntu.com/ubuntu-ports jammy-proposed/restricted amd64 Packages Ign:39 http://in.ports.ubuntu.com/ubuntu-ports jammy-backports/main amd64 Packages Ign:40 http://in.ports.ubuntu.com/ubuntu-ports jammy-backports/universe amd64 Packages Ign:24 http://in.ports.ubuntu.com/ubuntu-ports jammy/main amd64 Packages Ign:32 http://in.ports.ubuntu.com/ubuntu-ports jammy/restricted amd64 Packages Ign:33 http://in.ports.ubuntu.com/ubuntu-ports jammy/universe amd64 Packages Ign:34 http://in.ports.ubuntu.com/ubuntu-ports jammy/multiverse amd64 Packages Ign:35 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/main amd64 Packages Ign:36 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/restricted amd64 Packages Ign:37 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/universe amd64 Packages Ign:38 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse amd64 Packages Ign:39 http://in.ports.ubuntu.com/ubuntu-ports jammy-backports/main amd64 Packages Ign:40 http://in.ports.ubuntu.com/ubuntu-ports jammy-backports/universe amd64 Packages Err:24 http://in.ports.ubuntu.com/ubuntu-ports jammy/main amd64 Packages 404 Not Found [IP: 185.125.190.39 80] Ign:32 http://in.ports.ubuntu.com/ubuntu-ports jammy/restricted amd64 Packages Ign:33 http://in.ports.ubuntu.com/ubuntu-ports jammy/universe amd64 Packages Ign:34 http://in.ports.ubuntu.com/ubuntu-ports jammy/multiverse amd64 Packages Err:35 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/main amd64 Packages 404 Not Found [IP: 185.125.190.39 80] Ign:36 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/restricted amd64 Packages Ign:37 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/universe amd64 Packages Ign:38 http://in.ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse amd64 Packages Err:39 http://in.ports.ubuntu.com/ubuntu-ports jammy-backports/main amd64 Packages 404 Not Found [IP: 185.125.190.39 80] Ign:40 http://in.ports.ubuntu.com/ubuntu-ports jammy-backports/universe amd64 Packages Fetched 499 kB in 5s (92.3 kB/s) Reading package lists... Done N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://librealsense.intel.com/Debian/apt-repo jammy InRelease' doesn't support architecture 'arm64' E: Failed to fetch http://in.ports.ubuntu.com/ubuntu-ports/dists/jammy/main/binary-amd64/Packages 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy-security/main/binary-amd64/Packages 404 Not Found [IP: 185.125.190.36 80] E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy-proposed/main/binary-amd64/Packages 404 Not Found [IP: 185.125.190.36 80] E: Failed to fetch http://in.ports.ubuntu.com/ubuntu-ports/dists/jammy-updates/main/binary-amd64/Packages 404 Not Found [IP: 185.125.190.39 80] E: Failed to fetch http://in.ports.ubuntu.com/ubuntu-ports/dists/jammy-backports/main/binary-amd64/Packages 404 Not Found [IP: 185.125.190.39 80] E: Some index files failed to download. They have been ignored, or old ones used instead.

can anyone please solve my problem Thanks

PurushothamGits commented 2 months ago

Same Issue, can anyone please help me with this, Thank you

root@ip-172-31-84-70:~# curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-archive-keyring.gpg root@ip-172-31-84-70:~# echo "deb [signed-by=/etc/apt/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list deb [signed-by=/etc/apt/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main root@ip-172-31-84-70:~# sudo apt-get update Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease Ign:4 https://packages.cloud.google.com/apt kubernetes-xenial InRelease Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease Err:6 https://packages.cloud.google.com/apt kubernetes-xenial Release 404 Not Found [IP: 142.251.179.100 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. root@ip-172-31-84-70:~# sudo apt-get update || true Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease Ign:4 https://packages.cloud.google.com/apt kubernetes-xenial InRelease Err:5 https://packages.cloud.google.com/apt kubernetes-xenial Release 404 Not Found [IP: 142.251.16.100 443] Hit:6 http://security.ubuntu.com/ubuntu jammy-security 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.

mblomdahl-bot commented 1 month ago

I'm facing a similar issue here, I get the "is no longer signed" and "403 Forbidden" errors on https://se.archive.ubuntu.com/ubuntu/, see https://github.com/OwnTube-tv/minio-microk8s-ansible/actions/runs/8358359505/job/22879494106#step:3:92 for logs. Is it a server-side disruption from the infra maintainers?

jerry110 commented 1 month ago

Err:7 https://ppa.launchpadcontent.net/ubuntuhandbook1/transmission/ubuntu jammy InRelease 503 Service Unavailable [IP: 185.125.190.80 443]

amsaal commented 1 month ago

Err:7 https://ppa.launchpadcontent.net/ubuntuhandbook1/transmission/ubuntu jammy InRelease 503 Service Unavailable [IP: 185.125.190.80 443]

i have also same issue

root@vServer:~# apt-get update Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease Hit:2 https://download.docker.com/linux/ubuntu jammy InRelease Ign:3 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease Hit:4 http://archive.ubuntu.com/ubuntu jammy InRelease Hit:5 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Ign:3 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease Ign:3 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease Err:3 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease 503 Service Unavailable [IP: 185.125.190.80 443] Reading package lists... Done W: Failed to fetch https://ppa.launchpadcontent.net/ondrej/php/ubuntu/dists/jammy/InRelease 503 Service Unavailable [IP: 185.125.190.80 443] W: Some index files failed to download. They have been ignored, or old ones used instead.

byteQsoft commented 1 month ago

I am having same issue!!!!

Please help !!

W: Failed to fetch https://ppa.launchpadcontent.net/ondrej/php/ubuntu/dists/jammy/InRelease 503 Service Unavailable [IP: 185.125.190.80 443]

rizdem commented 1 month ago

This is now fixed.

AridanyS commented 1 month ago

This work for me https://askubuntu.com/questions/711794/apt-get-update-always-failed-to-fetch

Spac3kil commented 2 weeks ago

Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:1 http://kali.download/kali kali-rolling InRelease
Ign:3 https://apt.releases.hashicorp.com kali-rolling InRelease
Err:4 https://apt.releases.hashicorp.com kali-rolling Release 404 Not Found [IP: 3.161.94.9 443] Get:5 https://ppa.launchpadcontent.net/i2p-maintainers/i2p/ubuntu noble InRelease [17.3 kB] Err:5 https://ppa.launchpadcontent.net/i2p-maintainers/i2p/ubuntu noble InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AB9660B9EB2CC88B Reading package lists... Done E: The repository 'https://apt.releases.hashicorp.com kali-rolling 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. W: GPG error: https://ppa.launchpadcontent.net/i2p-maintainers/i2p/ubuntu noble InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AB9660B9EB2CC88B E: The repository 'https://ppa.launchpadcontent.net/i2p-maintainers/i2p/ubuntu noble InRelease' is not signed. 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.