IPv4 for APT

Ref: http://unix.stackexchange.com/a/13263/20241 At times, apt may try IPv6 to resolve a domain name. In which case, it may not be desirable and sometimes, it just doesn't work for that particular server. So, to let apt to use only ipv4 for DNS resolution... Edit /etc/gai.conf uncomment the following line... precedence ::ffff:0:0/96 100 If the above line … Continue reading IPv4 for APT

UFW error in Debian

UFW, Uncomplicated Firewall, was created for Ubuntu, then ported to other distributions as well, primarily to Debian. So, it's no wonder, there are some incompatibilities when running UFW under Debian, at times. Those incompatibilities or errors are usually fixed in the stable releases. However, due to the difference between how things work and how we … Continue reading UFW error in Debian