How can I create a fully ESM-updated 16.04 base image

Asked by Thomas Pretto

Hi everyone, thank you for reading through.

I am looking for information on how I can go about creating a fully up-to-date Ubuntu 16.04 base image containing the latest ESM packages.

I have a need an up-to-date Ubuntu 16.04 base image because my company packages our in-house app as a bootable Linux image which functions as the OS for our remote client controller machines. I am attempting to build an ESM-updated ubuntu:16.04 base image so that our docker builds can be built with the latest available up-to-date application components. Unfortunately, since the latest available Ubuntu 16.04 base image has not been upgraded since it was Deprecated in August, our builds are no longer passing security tests; that is our impetus for this attempt at determining a method of creating a fully-updated Ubuntu 16.04 docker base image.

My company has purchased an Ubuntu Extended Security Maintenance (ESM) subscription and our current ESM integration is working correctly for our AWS EC2-based instances -- ESM is upgrading the necessary Ubuntu system components to keep the AWS-based machine up-to-date with all the latest ESM patches but we are having trouble upgrading components in the latest available outdated ubuntu:16.04 docker image due to Ubuntu 16.04's deprecation.

What I have tried:
I have pulled the ubuntu-16.04:latest image upon which I run our standard Dockerfile to provision that image with the latest packages but dpkg cannot find some necessary archives and stops working after approximately 55 missed files having error messages similar to:
{code}
dpkg: error processing archive /var/cache/apt/archives/libgstreamer1.0-0_1.8.3-1~ubuntu0.1_amd64.deb (--unpack):
 cannot access archive: No such file or directory
{/code}

I have also tried (all to no avail):
-overwriting dpkg entries to force overwriting of the files causing the errors.
-running apt clean
-running dpkg configure
--running dpkg -p FILENAME, and then trying to apt-get -f install)

Any assistance at all would be highly appreciated!

Thank you in advance,

Thomas

For additional detail: Within the latest-pulled docker image our Dockerfile successfully installs the ubuntu-advantage-tools installation and connects to our internal Landscape server where it does successfully pull the available packages.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Ubuntu 16.04 is end of life. I suggest you use a supported release

Revision history for this message
Thomas Pretto (tkprett) said (last edit ):
#2

Understood, that is why we purchased ESM; for extended support. If we had the manpower to migrate to a newer version we would have. Is there any documentation on the base-image creation process? We would like to move forward with this.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Ahh apologies I misread. Need more coffee

Revision history for this message
Thomas Pretto (tkprett) said :
#4

All good :) Thank you for answering! I have been looking everywhere for a solution :OldManShrug:

Revision history for this message
Bernard Stafford (bernard010) said (last edit ):
#5

https://releases.ubuntu.com/16.04.7/ Bottom of the page is the .iso
https://ubuntu.com/security/esm ESM - Sign in to edit existing or add new subscriptions.

Unfortunately AWS is not supported on Ubuntu Pro for 16.04
https://ubuntu.com/aws/pro
I would build for the 18.04 - ESM until April 2028

Can you help with this problem?

Provide an answer of your own, or ask Thomas Pretto for more information if necessary.

To post a message you must log in.