Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

Future-proof auto dependency handling #159

Closed
evrial opened this issue Jul 11, 2015 · 2 comments
Closed

Future-proof auto dependency handling #159

evrial opened this issue Jul 11, 2015 · 2 comments

Comments

@evrial
Copy link

evrial commented Jul 11, 2015

Today I've upgraded to Vagrant 1.7.3 and VirtualBox 5.0 and now my VMs refusing to mount. This problem is very common and waste so much time.
I think we should make plugin future-proof and handle it for user automatically pull package list from OS repo, install/upgrade linux headers, dkms, gcc, etc.

apt-get update && apt-get install -y linux-headers-generic > /dev/null
yum install -y yum-plugin-fastestmirror && yum update -y && yum install -y kernel-devel dkms build-essential

smth like that. What do you think?

@fnordfish
Copy link
Member

Hi @evrial ,

that's actually what all current installers (try) to do. You probably ran into some common issue where the way of guessing the correct name of the kernel herders package (matching the installed kernel version) does not work out. This issue is especially hard on centos, where older kernel header packages are removed from their repositories.

For example the ubuntu installer runs apt-get install -y linux-headers-$(uname -r), the centos installer runs yum install -y kernel-devel-$(uname -r).

I'm very open for suggestions how to make this better. (Although I still don't like any options that would require to upgrade the installed kernel)

@stale
Copy link

stale bot commented Jan 11, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jan 11, 2019
@stale stale bot closed this as completed Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants