Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 751  / 1 Year ago, sat, november 12, 2022, 2:58:38

After typing the command sudo apt update I get reply:


Err:1 http://pl.archive.ubuntu.com/ubuntu bionic InRelease
Temporary failure resolving 'pl.archive.ubuntu.com'
Err:2 http://pl.archive.ubuntu.com/ubuntu bionic-updates InRelease
Temporary failure resolving 'pl.archive.ubuntu.com'
Err:3 http://pl.archive.ubuntu.com/ubuntu bionic-backports InRelease
Temporary failure resolving 'pl.archive.ubuntu.com'
Err:4 http://pl.archive.ubuntu.com/ubuntu bionic-security InRelease
Temporary failure resolving 'pl.archive.ubuntu.com'
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/dists/bionic/InRelease Temporary failure resolving 'pl.archive.ubuntu.com'
W: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Temporary failure resolving 'pl.archive.ubuntu.com'
W: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Temporary failure resolving 'pl.archive.ubuntu.com'
W: Failed to fetch http://pl.archive.ubuntu.com/ubuntu/dists/bionic-security/InRelease Temporary failure resolving 'pl.archive.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.

and after typing the command sudo apt install snmp snmp-mibs-downloader I get reply:


Reading package lists... Done
Building dependency tree
Reading state information... Done
Package snmp-mibs-downloader is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'snmp-mibs-downloader' has no installation candidate

What are these errors and how can I fix them?


More From » apt

 Answers
7

Using this command fixes the problem:


sudo dhclient eth0

eth0 - name of the network interface


[#1713] Saturday, November 12, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
girdleas

Total Points: 1
Total Questions: 112
Total Answers: 114

Location: Lesotho
Member since Wed, Jun 2, 2021
3 Years ago
girdleas questions
Fri, Jun 18, 21, 04:41, 3 Years ago
Thu, Mar 10, 22, 00:17, 2 Years ago
Wed, May 18, 22, 22:02, 2 Years ago
Sat, Apr 9, 22, 01:12, 2 Years ago
;