Skip to content

Category: Linux

Debian – The following packages have been kept back

If you have some problems with package updates and apt-get return the message ‘The following packages have been kept back’ means that the packages have been retained and there are newer versions of the listed packages, which for some reason cannot be installed. (unfulfilled or changed or new dependencies) The solution: apt-get dist-upgrade -u Example:…

Building Nginx from source with ALPN support

What is ALPN ? Application-Layer Protocol Negotiation (ALPN) is a Transport Layer Security (TLS) extension for application layer protocol negotiation. ALPN allows the application layer to negotiate which protocol should be performed over a secure connection in a manner which avoids additional round trips and which is independent of the application layer protocols. It is…

How to optimize images from command line

I’m using the following tools to perform lossless image compression: jpegoptim – jpegoptim is a utility for optimizing JPEG files. It provides lossless optimization (based on optimizing the Huffman tables) and “lossy” optimization based on setting a maximum quality factor. optipng – OptiPNG is a PNG optimizer that recompresses the image files to a smaller…