Ben Chuanlong Du's Blog

It is never too late to learn.

Configure Proxy for Apt

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Add the following lines into the file /etc/apt/apt.conf, where proxy_server is the address/ip of the server and port is the port of the proxy service.

Acquire::http …

Fix Package Installation Issue in Linux

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Error message: The package hl1440lpr needs to be reinstalled, but I can't find an archive for it.

Steps to fix the issue:

Start with

sudo dpkg --remove --force-all hl1440lpr

If that …