sinfomicien / mysql2_chef_gem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

jpmat296 opened this issue · comments

When I execute:
kitchen test client55-mariadb-ubuntu-1404

I get error:
Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I will submit a PR to fix.

Here are the tools versions I use:

$ vagrant --version
Vagrant 1.8.6
$ kitchen login client55-mariadb-ubuntu-1404
$ chef-client -version
Chef: 12.14.89

This has been fixed in the test recipe, but you'll need to make sure you have an up to date package cache before this cookbook runs. I'd recommend either including apt::default at the top of your run list (either via a role or some sort of base cookbook) or include apt_update 'update' high up in your node.