Sudo apt-get update problem, it is always showing me "404 error" & "release is not available" - ubuntu-19.04

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.

Related

sudo apt update has series of errors

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

Install on clean Focal fails with repo signature problems

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.

How to install ruby on Ubuntu on wsl?

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

raspberrypi: sudo apt-get update isn't working

pi#raspberrypi:~ $ sudo apt-get update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Ign:3 https://raspbian.snips.ai/buster stable InRelease
Err:4 https://raspbian.snips.ai/buster stable Release
404 Not Found [IP: 143.204.15.89 443]
Reading package lists... Done
E: The repository 'https://raspbian.snips.ai/buster stable 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.
configuration details.
The question is answered here: https://askubuntu.com/questions/732985/force-update-from-unsigned-repository
You can either shut off the security for repo updating or exclude those repos from security checks.

can not do apt update, i get the forbidden 403 error

I have a kubuntu 16.04 on my computer and when i want to do a apt update it get a 403 forbidden error. I visited a lot of web page on the internet and they didn't helped me. how can i fix this issue.
every time i do apt-get update i get these results:
Ign:1 cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial InRelease
Err:2 cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) xenial Release
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Ign:3 http://security.ubuntu.com/ubuntu xenial-security InRelease
Err:4 http://security.ubuntu.com/ubuntu xenial-security Release
503 Service Unavailable
Ign:5 http://archive.ubuntu.com/ubuntu xenial InRelease
Ign:6 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Err:7 http://archive.ubuntu.com/ubuntu xenial Release
503 DNS error for hostname archive.ubuntu.com: Temporary failure in name resolution. If archive.ubuntu.com refers to a configured cache repository, please check the corresponding configuration file.
Err:8 http://archive.ubuntu.com/ubuntu xenial-updates Release
503 DNS error for hostname archive.ubuntu.com: Temporary failure in name resolution. If archive.ubuntu.com refers to a configured cache repository, please check the corresponding configuration file.
Reading package lists... Done
E: The repository 'cdrom://Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1) 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.
E: The repository 'http://security.ubuntu.com/ubuntu xenial-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.
E: The repository 'http://archive.ubuntu.com/ubuntu 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.
E: The repository 'http://archive.ubuntu.com/ubuntu xenial-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.

Resources