Originally Posted by
brav0hax
Did you try what the error told you to do?
try this within Kali before trying to install the tools:
Code:
apt-get update && apt-get install -y make linux-headers-$(uname -r)
Hello,
I have the same problem, I tried to install linux-headers before :*
Code:
root@kali:~/Desktop/Parallels Tools# apt-get install -y make linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-3.7-trunk-686-pae is already the newest version.
make is already the newest version.
make set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
But when I*tried to install parallels tools I*get this error :*
Code:
Parallels Tools 8.0.18354.823166 Installer started.
2013-03-20T03:17:45-0400: Failed to setup console printk level.
2013-03-20T03:17:52-0400: ./installer/pm.sh: line 783: [: 7-trunk-686-pae: integer expression expected
2013-03-20T03:17:52-0400: execCmd: ./installer/pm.sh check_guest_tools 2>&1 [1]
2013-03-20T03:19:02-0400: ./installer/pm.sh: line 783: [: 7-trunk-686-pae: integer expression expected
Get:1 http://http.kali.org kali InRelease [22.0 kB]
Hit http://security.kali.org kali/updates InRelease
Get:2 http://http.kali.org kali/main Sources [7,531 kB]
Ign http://security.kali.org kali/updates/contrib Translation-en_US
Ign http://security.kali.org kali/updates/contrib Translation-en
Ign http://security.kali.org kali/updates/main Translation-en_US
Ign http://security.kali.org kali/updates/main Translation-en
Ign http://security.kali.org kali/updates/non-free Translation-en_US
Ign http://http.kali.org kali/contrib Translation-en_US
Ign http://security.kali.org kali/updates/non-free Translation-en
Ign http://http.kali.org kali/contrib Translation-en
Ign http://http.kali.org kali/main Translation-en_US
Ign http://http.kali.org kali/main Translation-en
Ign http://http.kali.org kali/non-free Translation-en_US
Ign http://http.kali.org kali/non-free Translation-en
Hit http://security.kali.org kali/updates/main i386 Packages
Get:3 http://http.kali.org kali/non-free Sources [116 kB]
Hit http://security.kali.org kali/updates/contrib i386 Packages
Hit http://http.kali.org kali/contrib Sources
Hit http://security.kali.org kali/updates/non-free i386 Packages
Get:4 http://http.kali.org kali/main i386 Packages [8,427 kB]
Get:5 http://http.kali.org kali/non-free i386 Packages [114 kB]
Hit http://http.kali.org kali/contrib i386 Packages
Fetched 16.2 MB in 24s (657 kB/s)
Reading package lists...
Return code from apt-get update is 0
WARNING: The following packages cannot be authenticated!
linux-headers-3.7-trunk-686-pae linux-headers-3.7-trunk-common
Authentication warning overridden.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 241357 files and directories currently installed.)
Preparing to replace linux-headers-3.7-trunk-686-pae 3.7.2-0+kali5 (using .../linux-headers-3.7-trunk-686-pae_3.7.2-0+kali6_i386.deb) ...
Unpacking replacement linux-headers-3.7-trunk-686-pae ...
Preparing to replace linux-headers-3.7-trunk-common 3.7.2-0+kali5 (using .../linux-headers-3.7-trunk-common_3.7.2-0+kali6_i386.deb) ...
Unpacking replacement linux-headers-3.7-trunk-common ...
Setting up linux-headers-3.7-trunk-common (3.7.2-0+kali6) ...
Setting up linux-headers-3.7-trunk-686-pae (3.7.2-0+kali6) ...
WARNING: The following packages cannot be authenticated!
dkms
Authentication warning overridden.
Selecting previously unselected package dkms.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 241357 files and directories currently installed.)
Unpacking dkms (from .../dkms_2.2.0.3-1.2_all.deb) ...
Processing triggers for man-db ...
Setting up dkms (2.2.0.3-1.2) ...
2013-03-20T03:19:02-0400: execCmd: ./installer/pm.sh download_guest_tools 2>&1 [0]
Wed Mar 20 03:19:02 EDT 2013
Start installation or upgrade of Guest Tools
new version of parallels tools
Installed Guest Tools were not found
Perform installation into the /usr/lib/parallels-tools directory
cat: /usr/lib/parallels-tools/kmods/../version: No such file or directory
./installer/install-kmods.sh: 36: [: Illegal number: 7-trunk-686-pae
Start installation of prl_eth kernel module
awk: cannot open /lib/modules/3.7-trunk-686-pae/build/include/linux/version.h (No such file or directory)
/bin/sh: 1: [: -ge: unexpected operator
make: Entering directory `/usr/lib/parallels-tools/kmods'
cd prl_eth/pvmnet && make
awk: cannot open /lib/modules/3.7-trunk-686-pae/build/include/linux/version.h (No such file or directory)
/bin/sh: 1: [: -ge: unexpected operator
/bin/sh: 1: [: -ge: unexpected operator
make[1]: Entering directory `/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
Makefile:41: *** Unsupported kernel version in /lib/modules/3.7-trunk-686-pae/build. Stop.
make[1]: Leaving directory `/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
make: *** [installme] Error 2
make: Leaving directory `/usr/lib/parallels-tools/kmods'
Error: could not build kernel modules
Error: failed to install kernel modules
2013-03-20T03:19:02-0400: execCmd: ./install --install [143]
2013-03-20T03:19:02-0400: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
2013-03-20T03:25:59-0400: Exiting with code 1
2013-03-20T03:37:35-0400:
Parallels Tools 8.0.18354.823166 Installer started.
2013-03-20T03:37:35-0400: Failed to setup console printk level.
2013-03-20T03:37:38-0400: ./installer/pm.sh: line 783: [: 7-trunk-686-pae: integer expression expected
2013-03-20T03:37:38-0400: execCmd: ./installer/pm.sh check_guest_tools 2>&1 [1]
2013-03-20T03:37:57-0400: ./installer/pm.sh: line 783: [: 7-trunk-686-pae: integer expression expected
Hit http://http.kali.org kali InRelease
Hit http://security.kali.org kali/updates InRelease
Hit http://http.kali.org kali/main Sources
Hit http://security.kali.org kali/updates/main i386 Packages
Hit http://http.kali.org kali/non-free Sources
Hit http://security.kali.org kali/updates/contrib i386 Packages
Hit http://http.kali.org kali/contrib Sources
Hit http://security.kali.org kali/updates/non-free i386 Packages
Hit http://http.kali.org kali/main i386 Packages
Hit http://http.kali.org kali/non-free i386 Packages
Hit http://http.kali.org kali/contrib i386 Packages
Ign http://security.kali.org kali/updates/contrib Translation-en_US
Ign http://security.kali.org kali/updates/contrib Translation-en
Ign http://security.kali.org kali/updates/main Translation-en_US
Ign http://security.kali.org kali/updates/main Translation-en
Ign http://http.kali.org kali/contrib Translation-en_US
Ign http://security.kali.org kali/updates/non-free Translation-en_US
Ign http://security.kali.org kali/updates/non-free Translation-en
Ign http://http.kali.org kali/contrib Translation-en
Ign http://http.kali.org kali/main Translation-en_US
Ign http://http.kali.org kali/main Translation-en
Ign http://http.kali.org kali/non-free Translation-en_US
Ign http://http.kali.org kali/non-free Translation-en
Reading package lists...
Return code from apt-get update is 0
2013-03-20T03:37:57-0400: execCmd: ./installer/pm.sh download_guest_tools 2>&1 [0]
Wed Mar 20 03:37:58 EDT 2013
Start installation or upgrade of Guest Tools
new version of parallels tools
Installed Guest Tools were not found
Perform installation into the /usr/lib/parallels-tools directory
cat: /usr/lib/parallels-tools/kmods/../version: No such file or directory
./installer/install-kmods.sh: 36: [: Illegal number: 7-trunk-686-pae
Start installation of prl_eth kernel module
awk: cannot open /lib/modules/3.7-trunk-686-pae/build/include/linux/version.h (No such file or directory)
/bin/sh: 1: [: -ge: unexpected operator
make: Entering directory `/usr/lib/parallels-tools/kmods'
cd prl_eth/pvmnet && make
awk: cannot open /lib/modules/3.7-trunk-686-pae/build/include/linux/version.h (No such file or directory)
/bin/sh: 1: [: -ge: unexpected operator
/bin/sh: 1: [: -ge: unexpected operator
make[1]: Entering directory `/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
Makefile:41: *** Unsupported kernel version in /lib/modules/3.7-trunk-686-pae/build. Stop.
make[1]: Leaving directory `/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
make: *** [installme] Error 2
make: Leaving directory `/usr/lib/parallels-tools/kmods'
Error: could not build kernel modules
Error: failed to install kernel modules
2013-03-20T03:37:58-0400: execCmd: ./install --install [143]
2013-03-20T03:37:58-0400: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
2013-03-20T03:38:03-0400: Exiting with code 1
I'm not a linux ninja, thanks in advance!
John!