I have an internal apt repo located in /etc/apt/sources.list.d/private.list that looks similar to this:
deb http://apt.company.com/ubuntu trusty main
When we upgraded from 14.04 to 16.04 and the upgrade process commented out that line because we are now on xenial.
Is there a way to variablize the release name so that we don't have to go back and fix all of these when we upgrade to 18.04?
There is no versioning in our internal repo.