https://bugzilla.wikimedia.org/show_bug.cgi?id=67976

--- Comment #3 from Bryan Davis <bda...@wikimedia.org> ---
Looking at this closer, the problem is caused by cleaning up the previous
apt-cache/** directories before puppet runs on the VM.

We install a file at /etc/apt/apt.conf.d/20shared-cache to configure an
alternate cache directory for apt in manifests/base.pp. This file will change
to reference the new /vagrant/cache/apt directory as soon as puppet runs on the
VM. The vagrant-vbguest plugin however is running before puppet has changed the
file to point to the new location and attempting to use apt.

A possible fix would be to remove the code in Vagrantfile that deletes the old
directories and instead add puppet code to remove the directories. This would
leave the old directory structure intact until puppet has run and reconfigured
apt to use the new cache location.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to