[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#982460: cloud.debian.org: Vagrant up error: Unable to locate package linux-headers-4.9.0-12-amd64



Hi Uros
Thanks for your interest for the Vagrant boxes.
There are two ways you can solve this:
- either you use the box debian/contrib-buster64 which comes with the guest additions preinstall, and you remove the vbguest plugin so that it does not try to reinstall the extensions - or you simply install the last version of linux-headers-amd64 in box you have
apt install linux-headers-amd64
and restart the box

Tell me if that works for you.

Note that in the future (starting in the forthcoming Debian 11 - Bullseye) the vbguest plugin should be useless as the Linux Kernel has builtin support for the Virtual Box guest extensions.

On 2/10/21 3:04 PM, Uros Tement wrote:
Package: cloud.debian.org
Severity: important

Dear Maintainer,

for all Vagrant boxes on running vagrant up with vbguest additions, this error is found "Unable to locate package linux-headers-4.9.0-12-amd64".

As far as I was able to debug, new kernel version 4.9.0-14 is available in repository and verison 4.9.0-12 is not available anymore in repository. Since linux headers are not available vboxfs mount fails.

I think an update of all boxes for new kernel headers is needed.

Best regards,
Uros

-- System Information:
Debian Release: 9.12
   APT prefers oldstable
   APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-12-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



Reply to: