Problem: ttf-mscorefont-installer do not work behind a proxy

Connecting to my company web site from my Ubuntu machine I had some rendering problem because the requested font (trebuc) was not installed. I try to reinstall the package ttf-mscorefont-installer with the error “[Errno 113] No route to host

Running the command:

sudo -i set|grep proxy

No proxy output was displayed.

So the solution was to update the file /etc/environment:

all_proxy=socks://192.168.1.2:3128/
ftp_proxy=http://192.168.1.2:3128/
http_proxy=http://192.168.1.2:3128/
https_proxy=http://192.168.1.2:3128/
no_proxy=localhost,127.0.0.0/8

and run this command to resume installation:

sudo -i /usr/lib/update-notifier/package-data-downloader
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s