After Update Mac to 13.4, Vagrant to v2.3.6 (latest version), Parallels 18.3.0 (latest version) I’m not able to start existing ubuntu 22.04 projects. Also trellis new throws the same error.
==> default: Checking for Parallels Tools installed on the VM…
==> default: Parallels Tools installed on this VM are outdated! In most cases
==> default: this is fine but in rare cases it can cause things such as shared
==> default: folders to not work properly. If you see shared folder errors,
==> default: please update Parallels Tools within the virtual machine and
==> default: reload your VM.
==> default: Installing the proper version of Parallels Tools. This may take a few minutes…
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
ptiagent-cmd --install
Stdout from the command:
ptiagent-cmd progress 3
ptiagent-cmd progress 15
Started installation of Parallels Guest Tools version ‘18.3.0.53606’
…
Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
E: Package ‘linux-headers-5.15.0-67-generic’ has no installation candidate
m linux-headers-5.15.0-67-generic
o dkms
o libelf-dev
Error: failed to install mandatory packages.
Error: failed to install or upgrade Parallels Guest Tools!
Stderr from the command:
exit status 1
Has anyone faced that issue to and is there any possible fix?
macOS 13.4 with Parallels 18.3.0, controlled by Vagrant 2.3.6, starting an existing Ubuntu 22.04 inside a VM.
Vagrant script detects that the Parallel Tools (Guest Additions/Tools) on that Ubuntu system inside the VM is outdated, tries updating it.
The Parallel Tools use kernel modules, those have to be build (compiled) for the given Linux kernel used by Ubuntu 22.04.
For building those kernel modules, the Linux header files are needed (for ABI compatibility and so on).
Those Linux header files are usually provided by an Ubuntu package, using the naming scheme linux-headers-<version+variant>, 5.15.0-67-generic for this Ubuntu system.
apt can not find an Ubuntu package under that name on that system, hence the Parallel Tools update step fails.
That Linux headers package is available for Ubuntu jammy (which codename is for Ubuntu 22.04 LTS):
Can you update the kernel in your Ubuntu VM to 5.15.0-73, does it work then?
This, of course, is based on the assumption that you are using macOS on Apple Silicon (as M1 or M2 hardware). macOS 13.4 can also run on non-Apple Silicon (Intel) as by the official compatible hardware list.