Kali Linux 2.0 cannot install VMware tools__linux

Source: Internet
Author: User
Tags deprecated error code kali linux

First is not the source of the problem, ... My various sources of various updates, is definitely not the source of the problem.

which I performed
Apt-get Install linux-headers-$ (uname-r)
Prompt after this command:
E: Unable to locate package Linux-headers-4.3.0-kali1-686-pae
E: Unable to find any packages according to Glob ' Linux-headers-4.3.0-kali1-686-pae '
E: Unable to find any packages according to regular expression linux-headers-4.3.0-kali1-686-pae

I searched for a moment: Apt-cache search Linux-headers
And it doesn't really have this package ....

Then I all kinds of Baidu, all kinds of Google ... Anyway, eventually I was pressing: http://gdd.gd/980.html (this is what I wrote, not advertising)
Found the LINUX-HEADERS-4.3.0-KALI1-686-PAE, also installed.

But the problem is, I installed VMware tools The ultimate reality is that success, but not actually successful. A lot of errors occurred during the installation.

I wonder if my friends have met. Are there any friends who know how to solve this problem? Collection Thanks (0) share to: 0 9 reply to pany plots () | 2016-03-16 10:39

Apt-get Update
Apt-get Install Open-vm-tools-desktop Fuse

Use the Open-vm-tools 2# Champions League Monster Arsenal | 2016-03-16 10:47

Unmae-r If you have a direct installation of Vm-tools, in the process of installation of your attention, you can install the success of the specific reasons are not clear, anyway, so do the OK 3# 40huo | 2016-03-16 10:59

Directly to the official website under the virtual machine file import is good, with Vmtools 4# Mayter | 2016-03-16 11:01

Positive solution on the 1 floor. HTTPS://WWW.KALI.ORG/NEWS/KALI-LINUX-ROLLING-EDITION-2016-1/Official website has the explanation. 5# Sysalong (no social worker I am so tired, I hlj. Blog: gdd.gd) | 2016-03-16 11:05

------------------------Error code-------------------------------



Searching for a valid kernel header path ...
Detected the kernel headers at
"/lib/modules/4.3.0-kali1-686-pae/build/include".
The path "/lib/modules/4.3.0-kali1-686-pae/build/include" appears to be a valid
Path to the 4.3.0-kali1-686-pae kernel headers.
Would you have it? [No]

make:entering directory '/tmp/modconfig-fzpmhz/vmhgfs-only '
The Using 2.6.x kernel build system.
/usr/bin/make-c/lib/modules/4.3.0-kali1-686-pae/build/include/. subdirs= $PWD srcroot= $PWD/. \
modulebuilddir= Modules
MAKE[1]: Entering directory '/usr/src/linux-headers-4.3.0-kali1-686-pae '
MAKEFILE:10: * * * mixed implicit and normal rules:deprecated syntax
CC [M]/tmp/modconfig-fzpmhz/vmhgfs-only/message.o
CC [M]/tmp/modconfig-fzpmhz/vmhgfs-only/dir.o
In file included from/tmp/modconfig-fzpmhz/vmhgfs-only/backdoor.h:30:0,
FROM/TMP/MODCONFIG-FZPMHZ/VMHGFS-ONLY/MESSAGE.C:54:
/tmp/modconfig-fzpmhz/vmhgfs-only/./shared/vm_assert.h:259:0: Warning: "Deprecated" redefined
#define Deprecated (_fix) do {} (0)
^
In file included from/usr/src/linux-headers-4.3.0-kali1-common/include/linux/kernel.h:13:0,
FROM/TMP/MODCONFIG-FZPMHZ/VMHGFS-ONLY/./SHARED/KERNELSTUBS.H:36,
FROM/TMP/MODCONFIG-FZPMHZ/VMHGFS-ONLY/MESSAGE.C:45:
/usr/src/linux-headers-4.3.0-kali1-common/include/linux/printk.h:105:0: Note:this is the location of the previous Definition
#define deprecated "[Deprecated]:"
^
CC [M]/tmp/modconfig-fzpmhz/vmhgfs-only/rpcout.o
In file included from/tmp/modconfig-fzpmhz/vmhgfs-only/hgfs.h:40:0,
From/tmp/modconfig-fzpmhz/vmhgfs-only/hgfsproto.h:37,
FROM/TMP/MODCONFIG-FZPMHZ/VMHGFS-ONLY/DIR.C:37:
/tmp/modconfig-fzpmhz/vmhgfs-only/./shared/vm_assert.h:259:0: Warning: "Deprecated" redefined
#define Deprecated (_fix) do {} (0)
^
In file included from/usr/src/linux-headers-4.3.0-kali1-common/include/linux/kernel.h:13:0,
From/usr/src/linux-headers-4.3.0-kali1-common/include/linux/list.h:8,
From/usr/src/linux-headers-4.3.0-kali1-common/include/linux/module.h:9,
FROM/TMP/MODCONFIG-FZPMHZ/VMHGFS-ONLY/DIR.C:29:
/usr/src/linux-headers-4.3.0-kali1-common/include/linux/printk.h:105:0: Note:this is the location of the previous Definition
#define deprecated "[Deprecated]:"
^
In file included from/tmp/modconfig-fzpmhz/vmhgfs-only/./shared/vmware.h:39:0,
FROM/TMP/MODCONFIG-FZPMHZ/VMHGFS-ONLY/RPCOUT.C:43:
/tmp/modconfig-fzpmhz/vmhgfs-only/./shared/vm_assert.h:259:0: Warning: "Deprecated" redefined
#define Deprecated (_fix) do {} (0)
^
In file included from/usr/src/linux-headers-4.3.0-kali1-common/include/linux/kernel.h:13:0,
FROM/TMP/MODCONFIG-FZPMHZ/VMHGFS-ONLY/./SHARED/KERNELSTUBS.H:36,
FROM/TMP/MODCONFIG-FZPMHZ/VMHGFS-ONLY/RPCOUT.C:33:
/usr/src/linux-headers-4.3.0-kali1-common/include/linux/printk.h:105:0: Note:this is the location of the previous Definition
#define deprecated "[Deprecated]:"
^
/tmp/modconfig-fzpmhz/vmhgfs-only/dir.c:in function ' hgfspackdiropenrequest ':
/tmp/modconfig-fzpmhz/vmhgfs-only/dir.c:417:26:error: ' struct file ' has no member named ' F_dentry '
File->f_dentry) < 0) {
^
/tmp/modconfig-fzpmhz/vmhgfs-only/dir.c:in function ' Hgfsdirllseek ':
/tmp/modconfig-fzpmhz/vmhgfs-only/dir.c:707:32:error: ' struct file ' has no member named ' F_dentry '
struct Dentry *dentry = file->f_dentry;
^
In file included from/tmp/modconfig-fzpmhz/vmhgfs-only/dir.c:39:0:
/tmp/modconfig-fzpmhz/vmhgfs-only/dir.c:in function ' hgfsreaddirnextentry ':
/tmp/modconfig-fzpmhz/vmhgfs-only/dir.c:993:31:error: ' struct file ' has no member named ' F_dentry '
Si = Hgfs_sb_to_common (FILE-&GT;F_DENTRY-&GT;D_INODE-&GT;I_SB);
^
/tmp/modconfig-fzpmhz/vmhgfs-only/module.h:89:62:note:in definition of macro ' Hgfs_sb_to_common '
#define Hgfs_sb_to_common (SB) ((Hgfssuperinfo *) (SB)->s_fs_info)
^
/tmp/modconfig-fzpmhz/vmhgfs-only/dir.c:1082:26:error: ' struct file ' has no member named ' F_dentry '
*entryino = file->f_dentry->d_inode->i_ino;
^
In file included from/tmp/modconfig-fzpmhz/vmhgfs-only/dir.c:30:0:
/tmp/modconfig-fzpmhz/vmhgfs-only/dir.c:1088:44:error: ' struct file ' has no member named ' F_dentry '
*entryino = Compat_parent_ino (file->f_dentry);
^
/tmp/modconfig-fzpmhz/vmhgfs-only/./shared/compat_fs.h:120:46:note:in definition of macro ' Compat_parent_ino '
#define Compat_parent_ino (Dentry) Parent_ino (dentry)
^
/tmp/modconfig-fzpmhz/vmhgfs-only/dir.c:1093:52:error: ' struct file ' has no member named ' F_dentry '
*entryino = Hgfsgetfileinode (&entryattrs, FILE-&GT;F_DENTRY-&GT;D_INODE-&GT;I_SB);
^
/tmp/modconfig-fzpmhz/vmhgfs-only/dir.c:in function ' Hgfsdoreaddir ':
/tmp/modconfig-fzpmhz/vmhgfs-only/dir.c:1173:13:error: ' struct file ' has no member named ' F_dentry '
! (file->f_dentry) | |
^
/tmp/modconfig-fzpmhz/vmhgfs-only/dir.c:1174:13:error: ' struct file ' has no member named ' F_dentry '
! (File->f_dentry->d_inode)) {
^
/usr/src/linux-headers-4.3.0-kali1-common/scripts/makefile.build:263:recipe for Target '/tmp/modconfig-FZpmhZ/ VMHGFS-ONLY/DIR.O ' failed
MAKE[4]: * * * [/TMP/MODCONFIG-FZPMHZ/VMHGFS-ONLY/DIR.O] Error 1
MAKE[4]: * * * is waiting for unfinished tasks ....
/usr/src/linux-headers-4.3.0-kali1-common/makefile:1395:recipe for Target ' _module_/tmp/modconfig-fzpmhz/ Vmhgfs-only ' failed
MAKE[3]: * * * [_module_/tmp/modconfig-fzpmhz/vmhgfs-only] Error 2
Makefile:146:recipe for Target ' Sub-make ' failed
MAKE[2]: * * * [Sub-make] Error 2
Makefile:8: Recipe for target ' all ' failed
MAKE[1]: * * * [ALL] Error 2
MAKE[1]: Leaving directory '/usr/src/linux-headers-4.3.0-kali1-686-pae '
Makefile:130:recipe for Target ' Vmhgfs.ko ' failed
Make: * * * [Vmhgfs.ko] Error 2
make:leaving directory '/tmp/modconfig-fzpmhz/vmhgfs-only '

The FileSystem driver (Vmhgfs module) is used only for the shared folder
Feature. The rest of the software provided by VMware Tools are designed to work
Independently of this feature. 6# Sysalong (no social worker I am so tired, I hlj. Blog: gdd.gd) | 2016-03-16 11:13

@Pany plots of Gan Xie pengyou de hui da. Dan Shi Chu Xian cuo wu.

Reading status information ... Complete
Fuse is already the newest version (2.9.4-1).
Fuse has been set up for manual installation.
There are some software packages that cannot be installed. If you are using a unstable release, this may be
Because the system is not up to the state you requested. There may be some of the software you need in this release
Packages have not been created or they have been removed from the new to (incoming) directory.
The following information may help solve the problem:

The following packages have unsatisfied dependencies:
Open-vm-tools-desktop: Dependent: libatkmm-1.6-1 (>= 2.22.1) but it will not be installed
Dependencies: libcairomm-1.0-1 (>= 1.6.4) but it will not be installed
Dependencies: LIBGLIBMM-2.4-1C2A (>= 2.42.0) but it will not be installed
Dependencies: LIBGTKMM-2.4-1C2A (>= 1:2.24.0) but it will not be installed
Dependencies: Libpangomm-1.4-1 (>= 2.27.1) but it will not be installed
Dependencies: LIBSIGC++-2.0-0C2A (>= 2.2.0) but it will not be installed
E: Errors cannot be fixed because you want some packages to stay the way they are, which destroys dependencies between packages. 7# pany plots () | 2016-03-16 11:22

@sysALong try the Perl installation scripts with the VM with the-D parameter 8# sysalong (no social worker I am so tired, I hlj. Blog: gdd.gd) | 2016-03-16 11:31

@Pany plots in vain ... Has collapsed .... What strokes have .... I returned to the original initial snapshot and then installed, the ultimate reality is successful, but actually did not succeed .... 9# reply to this person thanks to the divergence (:-)) | 2016-03-16 11:52

Landlord look here:
First update system to kali-rolling
Cat << EOF >/etc/apt/sources.list
Deb Http://http.kali.org/kali kali-rolling main Non-free contrib
Eof

Apt-get Update
Apt-get Dist-upgrade # Get a coffee, or 10.
Reboot

Install VM Tools After

Apt-get Update
Apt-get Install Open-vm-tools-desktop Fuse
Reboot

PS: If the download speed is slow, please use the domestic Kali source

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.