Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • $ grep -rl 'proxy_server' /etc/apt returns /etc/apt/apt.conf.d/proxy.conf. This is reported in my original question. Removing those lines from proxy.conf does not solve the errors and warnings reported in my question. If you prefer, we can continue in chat. Commented Apr 20, 2022 at 15:33
  • Also, $ ping -c 5 proxy_server returns ping: proxy_server: Temporary failure in name resolution Commented Apr 20, 2022 at 15:47
  • sudo http_proxy= https_proxy= apt update --fix-missing && http_proxy= https_proxy= apt upgrade returns the same output of my original question, but also the errors 'E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?. This last errors are gone if I use sudo` after && Commented Apr 20, 2022 at 15:50
  • Sorry I have updated the command to include sudo after &&. If the grep command returned /etc/apt/apt.conf.d/proxy.conf and you are not wanting to use a proxy, then just mv /etc/apt/apt.conf.d/proxy.conf /tmp/ and re-run sudo apt update --fix-missing && sudo apt upgrade. We can continue in chat if you like. Commented Apr 20, 2022 at 16:04