Languages

Err:2 http://pl.archive.ubuntu.com/ubuntu focal-updates/main amd64 libc-dev-bin amd64 2.31-0ubuntu9.2; Temporary failure resolving 'pl.archive.ubuntu.com'

9 points
Asked by:
marc_so
234

Last time when I was making update for my Ubuntu 20.04 I got the following problem:

Err:2 http://pl.archive.ubuntu.com/ubuntu focal-updates/main amd64 libc-dev-bin amd64 2.31-0ubuntu9.2                                                                                                     
  Temporary failure resolving 'pl.archive.ubuntu.com'

The strange thing is the http://pl.archive.ubuntu.com/ubuntu link is working.

Any idea?

1 answer
10 points
Answered by:
marc_so
234

I had the same problem. There was a problem with the server. In my case, the solution was to remove pl. from URL from /etc/apt/sources.list files.

Edit apt source list with:

sudo nano /etc/apt/sources.list

And replace:

from:

deb http://pl.archive.ubuntu.com/ubuntu/ focal main restricted

to:

deb http://archive.ubuntu.com/ubuntu/ focal main restricted
0 comments Add comment
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join