Skip to content

Instantly share code, notes, and snippets.

@drjvtlkr
Created September 12, 2024 04:16
Show Gist options
  • Save drjvtlkr/e72916eabb0b6aba1690126a06feb639 to your computer and use it in GitHub Desktop.
Save drjvtlkr/e72916eabb0b6aba1690126a06feb639 to your computer and use it in GitHub Desktop.
W: https://dl.yarnpkg.com/debian/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Ign:1 http://dl/yarnpkg.com/debian stable InRelease
Hit:2 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:3 http://in.archive.ubuntu.com/ubuntu noble InRelease
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:6 https://deb.nodesource.com/node_20.x nodistro InRelease
Hit:7 http://in.archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:8 https://esm.ubuntu.com/apps/ubuntu noble-apps-security InRelease
Ign:1 http://dl/yarnpkg.com/debian stable InRelease
Hit:9 https://esm.ubuntu.com/apps/ubuntu noble-apps-updates InRelease
Hit:10 https://esm.ubuntu.com/infra/ubuntu noble-infra-updates InRelease
Hit:11 https://esm.ubuntu.com/infra/ubuntu noble-infra-security InRelease
Ign:1 http://dl/yarnpkg.com/debian stable InRelease
Err:1 http://dl/yarnpkg.com/debian stable InRelease
Temporary failure resolving 'dl'
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://dl/yarnpkg.com/debian/dists/stable/InRelease Temporary failure resolving 'dl'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I was comming across this issue that when I did
cd /etc/apt
sudo cp trusted.gpg trusted.gpg.d
And the error was resolved
@drjvtlkr
Copy link
Author

I was comming across this issue that when I did

cd /etc/apt
sudo cp trusted.gpg trusted.gpg.d

Before this i also added the latest version nodesoruce from https://downloads.nodesource.com/#debian-v20 this also helped
right after the first command i was able to run this command
apt-get install nsolid -y as a root user which solved

Ign:1 http://dl/yarnpkg.com/debian stable InRelease Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease Hit:3 http://security.ubuntu.com/ubuntu noble-security InRelease Hit:4 http://in.archive.ubuntu.com/ubuntu noble InRelease Hit:5 http://in.archive.ubuntu.com/ubuntu noble-updates InRelease Hit:6 https://esm.ubuntu.com/apps/ubuntu noble-apps-security InRelease Ign:1 http://dl/yarnpkg.com/debian stable InRelease Hit:7 http://in.archive.ubuntu.com/ubuntu noble-backports InRelease Hit:8 https://esm.ubuntu.com/apps/ubuntu noble-apps-updates InRelease Hit:9 https://esm.ubuntu.com/infra/ubuntu noble-infra-updates InRelease Hit:10 https://esm.ubuntu.com/infra/ubuntu noble-infra-security InRelease Ign:1 http://dl/yarnpkg.com/debian stable InRelease Hit:11 https://deb.nodesource.com/node_20.x nodistro InRelease Err:1 http://dl/yarnpkg.com/debian stable InRelease Temporary failure resolving 'dl' Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. W: Failed to fetch http://dl/yarnpkg.com/debian/dists/stable/InRelease Temporary failure resolving 'dl' W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

And the error was resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment