Page 1 of 1

sudo apt update

Posted: 15 Dec 2022, 16:22
by chi.pham
I try to update the latest software by using sudo apt update and sudo apt-get upgrade and i got errors messages as below. Can anyone help?


Err:1 http://repository.teamviewer.com/deb stable InRelease
Temporary failure resolving 'repository.teamviewer.com'
Err:2 http://archive.raspberrypi.org/debian buster InRelease
Temporary failure resolving 'archive.raspberrypi.org'
Err:3 https://deb.nodesource.com/node_14.x buster InRelease
Temporary failure resolving 'deb.nodesource.com'
Err:4 http://raspbian.raspberrypi.org/raspbian buster InRelease
Temporary failure resolving 'raspbian.raspberrypi.org'
Err:5 http://packages.revolutionpi.de buster InRelease
Temporary failure resolving 'packages.revolutionpi.de'
Err:6 http://packages.revolutionpi.de buster-backports InRelease
Temporary failure resolving 'packages.revolutionpi.de'
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelea se Temporary failure resolving 'raspbian.raspberrypi.org'
W: Failed to fetch https://deb.nodesource.com/node_14.x/di ... /InRelease Temporary failure resolving 'deb.nodesource.com'
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/buster/InRelease Temporary failure resolving 'archive.raspberrypi.org'
W: Failed to fetch http://packages.revolutionpi.de/dists/buster/InRelease Tempo rary failure resolving 'packages.revolutionpi.de'
W: Failed to fetch http://packages.revolutionpi.de/dists/buster-backports/InRele ase Temporary failure resolving 'packages.revolutionpi.de'
W: Failed to fetch http://repository.teamviewer.com/deb/dists/stable/InRelease Temporary failure resolving 'repository.teamviewer.com'
W: Some index files failed to download. They have been ignored, or old ones used

Re: sudo apt update

Posted: 15 Dec 2022, 16:33
by nicolaiB
You name resolution is not functional and therefore the package manager cannot reach the repositories.

Nicolai

Re: sudo apt update

Posted: 15 Dec 2022, 18:26
by chi.pham
how can i make the resolution is not functional work?
your helps is greatly appriciated

Chi

Re: sudo apt update

Posted: 16 Dec 2022, 11:33
by nicolaiB
Check your network configuration. If you have configured a static ip address you probably need to add the nameserver to /etc/resolv.conf.

Nicolai