I live in Ethiopia and the government blocks all urls with the word "proxy" in them. I couldn't use that word in the title above because that would make the url contain the word proxy.
When I apt-get upgrade
I get errors because some packages like libproxy1
, libproxy1-plugin-gsettings
, libproxy1-plugin-networkmanager
, python-libproxy
all contain the p word.
Therefore, it is all blocked. I tried putting the urls into proxy sites, but they all just returned to their home page.
Are there any other solutions?
Best Answer
The packages get blocked because your government apparently uses a URL filter. You can circumvent this by using FTP instead of HTTP to upgrade. To do this edit the file /etc/apt/sources.list and replace all occurrences of http with ftp.
You can also do it with these commands in a terminal:
Now try to update your package list and install the updates
You will need to repeat the process for additional software sources (i.e. PPAs) that live in the directory /etc/apt/sources.list.d/. (credit goes to reddit user noname-_-)