-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fixed failed vboxsf mounting with Vagrant + VirtualBox #235
Conversation
Looks good to me, but would you mind adding a comment about how the order is important & linking to this issue? Because it's non-obvious what happens, I'm afraid a future refactor may break it again. |
@reneoelke I cherry-picked your commit and applied it to a bento fork of mine. If I am not mistaken those should be fixed? |
@fadenb Please check out my branch (https://github.com/reneoelke/bento/tree/234-bugfix-vboxsf-mounts) and tell me if the same problem exists. I haven't time now to verify it. Next week I can check it too. Thank You. ,-) |
@fadenb I could reproduce the problem. I am working on a fix. Thanks for your comment. @juliandunn It seems that since Ubuntu 12.04 the kernel isn't updated with the command "apt-get upgrade -y" (see also http://askubuntu.com/questions/175385/why-is-apt-no-longer-updating-the-kernel). The terminal output form script
But in the script I thought that changing the command order would help. But it seems that the command |
The solution is to install all upgradable packages (incl. kernel and kernel header packages). For this I changed the script |
Squashed and merged in ed086b9 |
Thanks for merging. |
This pull request fixes #234 and #232.
The order of the commands in
cleanup.sh
was changed. At first all header packages will be removed. This installs indirect new kernel packages. But then all kernel packages will be removed except the package with the current running version.