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

Outdated 'apt-get update' resource #11

Closed
pinepain opened this issue Aug 14, 2014 · 2 comments
Closed

Outdated 'apt-get update' resource #11

pinepain opened this issue Aug 14, 2014 · 2 comments

Comments

@pinepain
Copy link

Hi, I faced with a problem after cookbooks update to the latest versions with the latest available chef-solo:

# chef-solo --version
Chef: 11.14.2
[2014-08-14T05:53:18+00:00] ERROR: resource template[/etc/apt/sources.list] is configured to notify resource execute[apt-get update] with action run, but execute[apt-get update] cannot be found in the resource collection. template[/etc/apt/sources.list] is defined in /apps/vagrant/external-cookbooks/ubuntu/recipes/default.rb:20:in `from_file'

It looks like resource apt-get update was renamed to apt-get-update in the apt cookbook, here is related issue - sous-chefs/apt#84

Can someone suggest does this change https://github.com/pinepain/ubuntu/commit/c00838f67732ca114e15e492380bca14ef527e0b is a correct workaround?

@tmatilai
Copy link

Upgrading the apt cookbook to v2.5.2 should fix this.

@tas50
Copy link
Contributor

tas50 commented Oct 19, 2015

This is resolved with the latest apt cookbook

@tas50 tas50 closed this as completed Oct 19, 2015
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

No branches or pull requests

3 participants