Ubuntu upgrade b0rked Parallels Tools

SteveM34

Bit poster
I have an Ubuntu 22.04 VM which was working fine. I just upgraded it, which *may* have involved a kernel update (not sure how to check). It's currently running 5.15.0-91-generic, which isn't exactly a bleeding-edge kernel.
But some things seem to have stopped working. Some macOS folders which I was sharing are no longer mounted at /media/psf/. Trying to reinstall Parellels Tools (I've tried both command line and GUI methods) results in an error:
Code:
Mon 18 Dec 10:23:32 CET 2023
Start installation or upgrade of Guest Tools
Installed Guest Tools were not found
Register service to install new Guest Tools
Perform installation into the /usr/lib/parallels-tools directory
make: Entering directory '/usr/lib/parallels-tools/kmods'
Kernel version file: CC="/lib/modules/5.15.0-91-generic/build/include/generated/uapi/linux/version.h".
Raw kernel version: "#define LINUX_VERSION_CODE 331651"
Kernel version code: CC="331651".
Will use compiler CC="cc".
Compiler version "cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
cd prl_tg/Toolgate/Guest/Linux/prl_tg && make CC=cc
make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
1: /lib/modules/5.15.0-91-generic/build
2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
3: 20231218
4: 1.10.2
Start compile prl_tg...
make -C /lib/modules/5.15.0-91-generic/build M=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg SRCROOT=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg CC=cc modules
make[2]: Entering directory '/usr/src/linux-headers-5.15.0-91-generic'
make[2]: Leaving directory '/usr/src/linux-headers-5.15.0-91-generic'
Makefile:720: arch/aarch64/Makefile: No such file or directory
make[2]: *** No rule to make target 'arch/aarch64/Makefile'.  Stop.
make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
make[1]: *** [Makefile:44: prl_tg] Error 2
make: Leaving directory '/usr/lib/parallels-tools/kmods'
make: *** [Makefile.kmods:54: compile] Error 2
Error: could not build kernel modules
modprobe: FATAL: Module prl_tg not found in directory /lib/modules/5.15.0-91-generic
modprobe: FATAL: Module prl_tg not found in directory /lib/modules/5.15.0-91-generic
Error: failed to install Parallels Guest Tools!
2023-12-18T10:23:33+0100: Started installation of Parallels Guest Tools version '19.2.0.54827'
modprobe: FATAL: Module prl_tg not found in directory /lib/modules/5.15.0-91-generic

Mon 18 Dec 10:23:32 CET 2023
Start installation or upgrade of Guest Tools
Makefile:720: arch/aarch64/Makefile: No such file or directory
make[2]: *** No rule to make target 'arch/aarch64/Makefile'.  Stop.
make[1]: *** [Makefile:44: prl_tg] Error 2
make: *** [Makefile.kmods:54: compile] Error 2
Error: could not build kernel modules
modprobe: FATAL: Module prl_tg not found in directory /lib/modules/5.15.0-91-generic
modprobe: FATAL: Module prl_tg not found in directory /lib/modules/5.15.0-91-generic
Error: failed to install Parallels Guest Tools!
2023-12-18T10:23:33+0100: execCmd: ./install --install [167]
2023-12-18T10:23:33+0100: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
2023-12-18T10:23:47+0100: Exiting with code 1

I have Linux headers installed.
 
Same issue here after upgrading to Parallels Desktop 19.2.0. Cannot reinstall Parallels tools either. Contacted support 3 days ago, still waiting.
 
In the end I gave up and created a new 22.04.3 VM. This worked fine even after all updates. But still couldn't get the old VM working. (This time I also made sure to take snapshots before each stage of updating or configuring the new VM).
 
Just a terrible shame Parallels does not yet have an open source version of Parallels Tools so that distributions and communities can be more responsive in the deployment of support. After so many years this is an embarrassment.
 
Upgrading Ubuntu may occasionally disrupt Parallels Tools functionality. To resolve, reinstall Parallels Tools. Open the Parallels menu, choose "Install Parallels Tools," and follow prompts. If issues persist, consult Parallels support or community forums for version-specific troubleshooting. Ensure compatibility between Ubuntu and Parallels Tools for a seamless virtual machine experience.

The Parallels menu didn't give me the option to install the tools - just 'reinstall'. And I tried that several times, both via GUI and command line, always with the same failed result.
 
Parallels Tools needs a major rethink. They try to create lock-in for upgrades by not supporting the Tools well, but then leave a huge number of pertinent distributions and difficult scenarios outstanding. It's a very poor strategy that is not working out for them. The massive move to UTM and other options are astounding in the face of such an ignoring of the real needs of users in these scenarios.
 
Same thing for me after upgrading Parallels desktop to version 19.2. I can create new vagrant boxes from scratch that work fine following https://kb.parallels.com/en/122843 but none of my previous bento/ubuntu-22.10 boxes can access shared folders. Same `modprobe` error as OP. Very annoying.
 
Back
Top