-
Notifications
You must be signed in to change notification settings - Fork 235
Vagrant setup issue #86
Copy link
Copy link
Closed
Description
Got errors running vagrant up command, the cause is that linux-herader-4.9.0-9-amd64 package is deprecated. Here's the error logs on my local environment:
...
==> router: Checking for guest additions in VM...
router: No guest additions were detected on the base box for this VM! Guest
router: additions are required for forwarded ports, shared folders, host only
router: networking, and more. If SSH fails on this machine, please install
router: the guest additions and repackage the box to continue.
router:
router: This is not an error message; everything may continue to work properly,
router: in which case you may ignore this message.
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20190801T025637Z/ stretch main
apt-get install -y linux-headers-`uname -r` dkms
Stdout from the command:
Reading package lists...
Building dependency tree...
Reading state information...
Stderr from the command:
E: Unable to locate package linux-headers-4.9.0-9-amd64
E: Couldn't find any package by glob 'linux-headers-4.9.0-9-amd64'
E: Couldn't find any package by regex 'linux-headers-4.9.0-9-amd64'
Workaround:
The error is actually caused by vagrant-vbguest plugin since it's also installing that linux header package
What I did is to uninstall that plugin locally
vagrant plugin uninstall vagrant-vbguest
Then add the source list in the box (following this workaround).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.