sudo apt update has series of errors - ubuntu-20.04

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

Related

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.

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

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.

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.

Docker build of Ubuntu 16.04 image fails - Connection failed, returned a non-zero code: 100

System details:
macOS High Sierra
IPv6 disabled
Personal network (No corporate network, firewall, proxy etc.)
Following is the Dockerfile:
FROM ubuntu:16.04
RUN apt-get update && \
apt-get install -y \
python3 python3-numpy firefox jq git-core curl python3-nose python3-pandas \
python3-pip python-wheel vim && \
pip3 install --upgrade setuptools
<Rest of the Dockerfile>
On running the command docker build -t ubuntu-docker . I am getting following output:
<< Long trace of output>>
<<....>>
Connection failed [IP: 91.189.88.152 80]
Get:348 http://archive.ubuntu.com/ubuntu xenial/main amd64 libsnappy1v5 amd64 1.1.3-2 [16.0 kB]
Get:349 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python3-tables-lib amd64 3.2.2-2 [353 kB]
Get:350 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python3-tables all 3.2.2-2 [325 kB]
Get:351 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-tk amd64 3.5.1-1 [25.1 kB]
Get:352 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python3-wheel all 0.29.0-1 [48.1 kB]
Get:353 http://archive.ubuntu.com/ubuntu xenial/main amd64 rename all 0.20-4 [12.0 kB]
Get:354 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 vim-runtime all 2:7.4.1689-3ubuntu1.2 [5164 kB]
Get:355 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 vim amd64 2:7.4.1689-3ubuntu1.2 [1036 kB]
Get:356 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 xul-ext-ubufox all 3.4-0ubuntu0.16.04.2 [3302 B]
Get:357 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python3-scipy amd64 0.17.0-1 [8327 kB]
Fetched 236 MB in 5min 36s (700 kB/s)
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/n/netbase/netbase_5.3_all.deb Connection failed [IP: 91.189.88.161 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libe/libedit/libedit2_3.1-20150325-1ubuntu2_amd64.deb Connection failed [IP: 91.189.88.152 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gtk+3.0/libgtk-3-common_3.18.9-1ubuntu3.3_all.deb Connection failed [IP: 91.189.88.161 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-sync1_1.11.1-1ubuntu1_amd64.deb Connection failed [IP: 91.189.88.152 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgl1-mesa-dri_18.0.5-0ubuntu0~16.04.1_amd64.deb Connection failed [IP: 91.189.88.161 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/m/mesa/libwayland-egl1-mesa_18.0.5-0ubuntu0~16.04.1_amd64.deb Connection failed [IP: 91.189.88.149 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libxrandr/libxrandr2_1.5.0-1_amd64.deb Connection failed [IP: 91.189.88.162 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg-dev_1.18.4ubuntu1.4_all.deb Connection failed [IP: 91.189.88.149 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libg/libgphoto2/libgphoto2-port12_2.5.9-3_amd64.deb Connection failed [IP: 91.189.88.152 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/f/fakeroot/libfakeroot_1.20.2-1ubuntu1_amd64.deb Connection failed [IP: 91.189.88.161 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/p/python-decorator/python3-decorator_4.0.6-1_all.deb Connection failed [IP: 91.189.88.152 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/python-setuptools/python3-setuptools_20.7.0-1_all.deb Connection failed [IP: 91.189.88.152 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
The command '/bin/sh -c apt-get update && apt-get install -y python3 python3-numpy firefox jq git-core curl python3-nose python3-pandas python3-pip python-wheel vim && pip3 install --upgrade setuptools' returned a non-zero code: 100
I have tried this command multiple times each after few minutes of interval. I am getting the same error after trying the build with --no-cache option.
Not sure if the non-zero code: 100 is a result of the connection failed [IP:..] error or it has some other reason altogether. This solution didn't help either. Any pointers?
Just add this
RUN sed -i'' 's/archive\.ubuntu\.com/us\.archive\.ubuntu\.com/' /etc/apt/sources.list

Resources