amazon-ebs: Error: /Stage[main]/Docker/Package[linux-image-extra-4.4.0-1041-aws]/ensure: change from purged to latest failed: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install linux-image-extra-4.4.0-1041-aws' returned 100: Reading package lists...
amazon-ebs: Building dependency tree...
The main reason is that Puppet code is written as linux-image-extra-$kernelrelease - this resolves to 4.4.0-1041-aws on AWS Ubuntu instances; therefore, a package is tried to be installed that does not exist.
The main reason is that Puppet code is written as
linux-image-extra-$kernelrelease
- this resolves to4.4.0-1041-aws
on AWS Ubuntu instances; therefore, a package is tried to be installed that does not exist.Recent versions of Docker installation do not require this package: https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/#extra-steps-for-aufs
So we can ignore installing the package.