fgrehm / vagrant-cachier

Caffeine reducer
http://fgrehm.viewdocs.io/vagrant-cachier
MIT License
1.08k stars 111 forks source link

apt_lists have wrong dates on Windows Hosts #106

Closed chrisvire closed 10 years ago

chrisvire commented 10 years ago

I have a Ubuntu VM that I am using with Vagrant. If I use it with a Ubuntu host, then the dates on the /tmp/vagrant-cache/apt_lists files older file dates (where do these files come from?). If use it with a Windows host, then the dates on the files are basically the current date. So when I do "sudo apt-get update" in the guest when used on a Windows host, then there are no updates to be found.

The Vagrant file is at: http://github.com/sillsdev/wesay/vagrant/Vagrantfile (which include the urls to the box files stored on google drive).

fgrehm commented 10 years ago

I don't have a windows machine to try things out and I have no idea how VBox shared folders behaves over there :-(

We might be able to force that bucket to be "force-disabled" on windows hosts, but before going that direction, would you be able to give a shot at turning off automatic cache bucket detection and enabling buckets one by one so that we can figure out which ones are broken? Thanks in advance.

tknerr commented 10 years ago

Can confirm it is the :apt_lists bucket which makes problems here.

The effect of the wrong timestamps are #113 and #109

fgrehm commented 10 years ago

Ok, let's make that bucket disabled by default on windows hosts. Tagged as an enhancement

chrisvire commented 8 years ago

Is there an open enhancement to correctly share the apt_lists on Windows hosts?