Linux From Scratch

I got to know Linux From Scratch soon after I bought my desktop machine. My first attampt failed at making gcc to setup the “cross-compile” environment. About four years later I picked it up and finally went through my first pass of building LFS. My destop machine has been running LFS happily since then. Two experiences are briefly note down: 1) break dependency circle with building twice; 2) reconfig kernel and build with additional modules.

Read More

Fix Broken Packages

A server machine failed at upgrading from Ubuntu14.04 to Ubuntu16.04, and many packages are left in half-installed status, even apt is not working. I struggled several days to fix those broken packages, and this post documents some tricks I learnt.

Read More