Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to locate package linux-image-extra-4.4.0-1012-aws #664

Open
nikosmeds opened this issue Apr 6, 2017 · 1 comment
Open

Unable to locate package linux-image-extra-4.4.0-1012-aws #664

nikosmeds opened this issue Apr 6, 2017 · 1 comment

Comments

@nikosmeds
Copy link

nikosmeds commented Apr 6, 2017

It appears one package name installed in install.pp is selected through linux-image-extra-($uname -r)
I believe https://github.com/garethr/garethr-docker/blob/master/manifests/install.pp#L32 is where this occurs.

We host our infrastructure on AWS.

This worked previously on our old instances:
$ uname -r
4.4.0-38-generic

But recently spun up instances:
$ uname -r
4.4.0-1012-aws

Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install linux-image-extra-4.4.0-1012-aws' returned 100: Reading package lists...
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: Building dependency tree...
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: Reading state information...
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: E: Unable to locate package linux-image-extra-4.4.0-1012-aws
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: E: Couldn't find any package by glob 'linux-image-extra-4.4.0-1012-aws'
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: E: Couldn't find any package by regex 'linux-image-extra-4.4.0-1012-aws'
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Docker::Install/Package[linux-image-extra-4.4.0-1012-aws]/ensure) change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install linux-image-extra-4.4.0-1012-aws' returned 100: Reading package lists...
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Docker::Install/Package[linux-image-extra-4.4.0-1012-aws]/ensure) Building dependency tree...
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Docker::Install/Package[linux-image-extra-4.4.0-1012-aws]/ensure) Reading state information...
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Docker::Install/Package[linux-image-extra-4.4.0-1012-aws]/ensure) E: Unable to locate package linux-image-extra-4.4.0-1012-aws
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Docker::Install/Package[linux-image-extra-4.4.0-1012-aws]/ensure) E: Couldn't find any package by glob 'linux-image-extra-4.4.0-1012-aws'
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Docker::Install/Package[linux-image-extra-4.4.0-1012-aws]/ensure) E: Couldn't find any package by regex 'linux-image-extra-4.4.0-1012-aws'
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Package[docker]) Dependency Package[linux-image-extra-4.4.0-1012-aws] has failures: true
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Package[docker]) Skipping because of failed dependencies
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Docker::Service/File[/etc/systemd/system/docker.service.d]) Dependency Package[linux-image-extra-4.4.0-1012-aws] has failures: true
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Docker::Service/File[/etc/systemd/system/docker.service.d]) Skipping because of failed dependencies
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Docker::Service/File[/etc/default/docker]) Dependency Package[linux-image-extra-4.4.0-1012-aws] has failures: true
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Docker::Service/File[/etc/default/docker]) Skipping because of failed dependencies
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Docker::Service/File[/etc/systemd/system/docker.service.d/service-overrides.conf]) Dependency Package[linux-image-extra-4.4.0-1012-aws] has failures: true
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Docker::Service/File[/etc/systemd/system/docker.service.d/service-overrides.conf]) Skipping because of failed dependencies
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Docker::Service/File[/etc/default/docker-storage]) Dependency Package[linux-image-extra-4.4.0-1012-aws] has failures: true
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Docker::Service/File[/etc/default/docker-storage]) Skipping because of failed dependencies
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Docker::Service/Exec[docker-systemd-reload-before-service]) Dependency Package[linux-image-extra-4.4.0-1012-aws] has failures: true
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Docker::Service/Exec[docker-systemd-reload-before-service]) Skipping because of failed dependencies
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Docker::Service/Service[docker]) Dependency Package[linux-image-extra-4.4.0-1012-aws] has failures: true
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Docker::Service/Service[docker]) Skipping because of failed dependencies
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Prometheus_server::Blackbox_exporter/Docker::Run[blackbox-exporter]/File[/etc/systemd/system/docker-blackbox-exporter.service]) Dependency Package[linux-image-extra-4.4.0-1012-aws] has failures: true
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Prometheus_server::Blackbox_exporter/Docker::Run[blackbox-exporter]/File[/etc/systemd/system/docker-blackbox-exporter.service]) Skipping because of failed dependencies
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Prometheus_server::Blackbox_exporter/Docker::Run[blackbox-exporter]/Exec[docker-blackbox-exporter-systemd-reload]) Dependency Package[linux-image-extra-4.4.0-1012-aws] has failures: true
Apr  3 17:54:05 ip-10-232-27-21 puppet-user[2038]: (/Stage[main]/Prometheus_server::Blackbox_exporter/Docker::Run[blackbox-exporter]/Exec[docker-blackbox-exporter-systemd-reload]) Skipping because of failed dependencies
@scottybrisbane
Copy link

+1, I am having the same issue. I have temporarily resolved it by setting $manage_kernel to false when the host is using the AWS tuned Ubuntu kernel ($::kernelrelease =~ /-aws$/). Would love a more permanent solution though.

nuclearsandwich added a commit to nuclearsandwich/bf_config_experiments that referenced this issue May 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants