I was trying to install ruby on ubuntu using rvm install "ruby-2.7.0". I was following the instruction on this question https://askubuntu.com/questions/91543/apt-get-update-fails-to-fetch-files-temporary-failure-resolving-error but I am still facing this issue. How can I get this issue resolved.
Err:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Err:2 http://archive.ubuntu.com/ubuntu focal InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/focal-security/InRelease Temporary failure resolving 'security.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
ubuntu-advantage-tools
The following packages will be upgraded:
initramfs-tools initramfs-tools-bin initramfs-tools-core libssl1.1 openssl sosreport
6 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 2252 kB of archives.
After this operation, 4096 B of additional disk space will be used.
Do you want to continue? [Y/n] n
Related
iam new to ubuntu for coding and im not good in english.
anyway after i run this command
sudo apt update
but it gives me this error.
tor-cod#torcod-System-Product-Name:~$ sudo apt update
Ign:1 https://deb.nodesource.com/node_18.x jammy InRelease
Err:2 https://deb.nodesource.com/node_18.x jammy Release
Cannot initiate the connection to deb.nodesource.com:443 (2001:fe0:10:5::125:4daa). - connect (101: Network is unreachable) Cannot initiate the connection to deb.nodesource.com:443 (2001:fe0:10:5::125:4dab). - connect (101: Network is unreachable)
Hit:3 https://dl.google.com/linux/chrome/deb stable InRelease
Err:4 http://ph.archive.ubuntu.com/ubuntu jammy InRelease
403 Forbidden [IP: 202.79.184.254 80]
Err:5 http://ph.archive.ubuntu.com/ubuntu jammy-updates InRelease
403 Forbidden [IP: 202.79.184.254 80]
Err:6 http://ph.archive.ubuntu.com/ubuntu jammy-backports InRelease
403 Forbidden [IP: 202.79.184.254 80]
Hit:7 http://security.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists... Done
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'https://deb.nodesource.com/node_18.x jammy Release' no longer has a Release file.
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'http://ph.archive.ubuntu.com/ubuntu jammy InRelease' is not signed.
E: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/jammy/InRelease 403 Forbidden [IP: 202.79.184.254 80]
E: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease 403 Forbidden [IP: 202.79.184.254 80]
E: The repository 'http://ph.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.
E: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease 403 Forbidden [IP: 202.79.184.254 80]
E: The repository 'http://ph.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.
OS Version
tor-cod#torcod-System-Product-Name:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
anyone having same circumtances? .. i starting to like ubuntu but im having dificulties adding packages. It's giving me bunch of errors
Cross posting to try to get some assistance, github has not yielded any comment yet.
https://github.com/kaltura/platform-install-packages/issues/707
After adding in the kaltura repos per instruction, the following errors appear on Focal.
Any ideas on getting around the signature problems?
root#kaltura:~# apt update
Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Get:2 http://installrepo.kaltura.org/repo/aptn/focal propus InRelease [1,426 B]
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Err:2 http://installrepo.kaltura.org/repo/aptn/focal propus InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DE7AA37623C65ECB
Hit:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
W: GPG error: http://installrepo.kaltura.org/repo/aptn/focal propus InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DE7AA37623C65ECB
E: The repository 'http://installrepo.kaltura.org/repo/aptn/focal propus 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.
I know there are many answers to this but i already tried many solutions on internet but not a single one worked for me .
Im using Ubuntu 19.04 in an Oracle virtual Box.
ather#ather-VirtualBox:~$ sudo apt-get update
[sudo] password for ather:
Ign:1 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 InRelease
Ign:2 http://security.ubuntu.com/ubuntu disco-security InRelease
Err:3 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 Release
404 Not Found [IP: 195.135.221.134 80]
Ign:4 http://in.archive.ubuntu.com/ubuntu disco InRelease
Ign:5 http://in.archive.ubuntu.com/ubuntu disco-updates InRelease
Err:6 http://in.archive.ubuntu.com/ubuntu disco Release
404 Not Found [IP: 43.255.166.254 80]
Err:7 http://in.archive.ubuntu.com/ubuntu disco-updates Release
404 Not Found [IP: 43.255.166.254 80]
Err:8 http://security.ubuntu.com/ubuntu disco-security Release
404 Not Found [IP: 91.189.91.39 80]
Reading package lists... Done
E: The repository 'http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 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.
E: The repository 'http://in.archive.ubuntu.com/ubuntu disco 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.
E: The repository 'http://in.archive.ubuntu.com/ubuntu disco-updates 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.
E: The repository 'http://security.ubuntu.com/ubuntu disco-security 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.
Software Configuration is like this
Ubuntu 19.04 is out-dated. So all packages for Ubuntu 19.04 is found in old-release section.
This may cause this 404 error.
You can refer this post to solve error.
Hello everyone,
I am trying to install vim in my docker pulsar(I pulled the pulsar image in my docker container) container, I have docker in my windows machine.
I used two commands
Both commands is failing.....
first: apt-get update
Err:1 http://security.debian.org/debian-security stretch/updates InRelease
Could not resolve 'security.debian.org'
Err:2 http://deb.debian.org/debian stretch InRelease
Could not resolve 'deb.debian.org'
Err:3 http://deb.debian.org/debian stretch-updates InRelease
Could not resolve 'deb.debian.org'
Reading package lists... Done
W: Failed to fetch http://deb.debian.org/debian/dists/stretch/InRelease
Could not resolve 'deb.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/stretch-
updates/InRelease Could not resolve 'deb.debian.org'
W: Failed to fetch http://security.debian.org/debian-
security/dists/stretch/updates/InRelease Could not resolve '
'security.debian.org'
W: Some index files failed to download. They have been ignored, or old ones
used instead.
second: apt-get install vim
libgpm2 vim vim-common vim-runtime xxd
0 upgraded, 5 newly installed, 0 to remove and 10 not upgraded.
Need to get 6766 kB of archives.
After this operation, 31.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err:1 http://deb.debian.org/debian stretch/main amd64 xxd amd64 2:8.0.0197-
4+deb9u1
Could not resolve 'deb.debian.org'
Err:2 http://deb.debian.org/debian stretch/main amd64 vim-common all
2:8.0.0197-4+deb9u1
Could not resolve 'deb.debian.org'
Err:3 http://deb.debian.org/debian stretch/main amd64 libgpm2 amd64 1.20.4-
6.2+b1
Could not resolve 'deb.debian.org'
Err:4 http://deb.debian.org/debian stretch/main amd64 vim-runtime all
2:8.0.0197-4+deb9u1
Could not resolve 'deb.debian.org'
Err:5 http://deb.debian.org/debian stretch/main amd64 vim amd64 2:8.0.0197-
4+deb9u1
Could not resolve 'deb.debian.org'
E: Failed to fetch
http://deb.debian.org/debian/pool/main/v/vim/xxd_8.0.0197-4+deb9u1_amd64.deb
Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/v/vim/vim-
common_8.0.0197-4+deb9u1_all.deb Could not resolve 'deb.debian.org'
E: Failed to fetch
http://deb.debian.org/debian/pool/main/g/gpm/libgpm2_1.20.4-6.2+b1_amd64.deb
Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/v/vim/vim-
runtime_8.0.0197-4+deb9u1_all.deb Could not resolve 'deb.debian.org'
E: Failed to fetch
http://deb.debian.org/debian/pool/main/v/vim/vim_8.0.0197-4+deb9u1_amd64.deb
Could not resolve 'deb.debian.org'
E: Unable to fetch some archives, maybe run apt-get update or try with --
fix-missing?
I am attaching screen shot as well.
What would be the reason ?
You have an issue with your DNS. I am sure that if you do:
$ ping deb.debian.org
You will also get an error.
I would recommend you to read this
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
python3-cairo python3-gi-cairo
The following packages will be upgraded:
ca-certificates dpkg dpkg-dev file libcups2 libcupsimage2 libdpkg-perl
libexiv2-14 libfaad2 libgs9 libgs9-common libmagic-mgc libmagic1
libpam-systemd libsoup-gnome2.4-1 libsoup2.4-1 libsystemd0 libudev1 patch
sense-emu-tools shared-mime-info systemd systemd-sysv tzdata udev
25 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,650 kB/19.2 MB of archives.
After this operation, 471 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.raspbian.org/raspbian stretch/main armhf dpkg armhf 1.18.25 [2,055 kB]
Get:2 http://archive.raspbian.org/raspbian stretch/main armhf dpkg-dev all 1.18.25 [1,595 kB]
Fetched 3,650 kB in 11s (311 kB/s)
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 116530 files and directories currently installed.)
Preparing to unpack .../dpkg_1.18.25_armhf.deb ...
Unpacking dpkg (1.18.25) over (1.18.24) ...
dpkg: error processing archive /var/cache/apt/archives/dpkg_1.18.25_armhf.deb (--unpack):
unable to stat './usr/share/man/de' (which I was about to install): Structure needs cleaning
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/dpkg_1.18.25_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)