May 25, 2018

What to do when your ubuntu distro is End-of-Life

You may encounter the following when running

sudo apt -y update

W: Skipping acquire of configured file 'precise/cnf/Commands-amd64' as repository ' bionic InRelease' doesn't have the component 'precise' (component misspelt in sources.list?)

You can edit the source list (/etc/apt/sources.list) directly. And comment the line contains the end-of-line distro:

#deb bionic universe precise multiverse