Skip to content
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

Debian cleanup script removes C/C++ compiler and therefore breaks DKMS support #509

Closed
RobertDeRose opened this issue Dec 18, 2015 · 1 comment · Fixed by #510
Closed

Comments

@RobertDeRose
Copy link

Is this intentional?

This line:

apt-get -y purge cpp gcc g++;

And similarly for Ubuntu

apt-get -y purge cpp gcc g++;

This doesn't seem like you'd want this. Why install DKMS in the preseed in the first place if you don't need it? or is installing DKMS just a faster way to get everything installed that the Guest Additions require?

If it is not the desired intent, I'd like to submit a PR to remove these lines, someone might need to inspect the other distros as well.

@RobertDeRose
Copy link
Author

Additional note. DKMS package is removed because of the apt-get -y purge command.

RobertDeRose pushed a commit to RobertDeRose/bento that referenced this issue Dec 18, 2015
DKMS is needed to recompile the guest additions if a new kernel
is installed.  Removing the C/C++ packages also removes the `dkms`
package.  This fixes chef#509 for Dedian based distros.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant