rasa/vmware-tools-patches

Installation Aborted on Antergos

CingulateCortex opened this issue · 2 comments

Hi

While installing, getting below error. Any workaround?

[arq@cingularis vmware-tools-patches]$ ./patched-open-vm-tools.sh 
Cloning into 'vmware-tools-patches'...
remote: Counting objects: 605, done.
remote: Total 605 (delta 0), reused 0 (delta 0), pack-reused 605
Receiving objects: 100% (605/605), 111.00 KiB | 0 bytes/s, done.
Resolving deltas: 100% (355/355), done.
Checking connectivity... done.
--2015-12-04 20:30:02--  https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/8.0.2/3164312/packages/com.vmware.fusion.tools.linux.zip.tar
Resolving softwareupdate.vmware.com (softwareupdate.vmware.com)... 23.205.227.45, 2a02:26f0:11a:18c::2ef, 2a02:26f0:11a:188::2ef
Connecting to softwareupdate.vmware.com (softwareupdate.vmware.com)|23.205.227.45|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 71372800 (68M) [application/x-tar]
Saving to: ‘com.vmware.fusion.tools.linux.zip-8.0.2.tar’

com.vmware.fusion.tools.l 100%[======================================>]  68.07M  7.55MB/s   in 10s    

2015-12-04 20:30:12 (6.81 MB/s) - ‘com.vmware.fusion.tools.linux.zip-8.0.2.tar’ saved [71372800/71372800]

com.vmware.fusion.tools.linux.zip
descriptor.xml
Archive:  com.vmware.fusion.tools.linux.zip
  inflating: manifest.plist          
   creating: payload/
  inflating: payload/linux.iso       
 extracting: payload/linux.iso.sig   
  inflating: payload/tools-linux.plist  

7-Zip [64] 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
p7zip Version 9.38.1 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU,ASM)

Processing archive: payload/linux.iso

Warnings: 
There are data after the end of archive

Extracting  manifest.txt
Extracting  run_upgrader.sh
Extracting  vmware-tools-upgrader-64
Extracting  VMwareTools-10.0.1-3160059.tar.gz
Extracting  vmware-tools-upgrader-32

Everything is Ok

Archives with Warnings: 1

Warnings: 1
Files: 5
Size:       73063267
Compressed: 73424896
‘payload/VMwareTools-10.0.1-3160059.tar.gz’ -> ‘../VMwareTools-10.0.1-3160059.tar.gz’
untar.sh: Patching ./VMwareTools-10.0.1-3160059.tar.gz
=== Patching ./VMwareTools-10.0.1-3160059.tar.gz ...

*** Applying vmblock/01-vmblock.3.10.patch ...
patching file linux/control.c
*** Applying vmblock/02-vmblock.3.11.patch ...
patching file linux/file.c
*** Applying vmblock/03-vmblock.3.12.patch ...
patching file linux/control.c
patching file linux/dentry.c
patching file linux/inode.c
*** Applying vmblock/04-vmblock-vfs_readlink-kernel-3.15-tools-9.6.2.patch ...
patching file linux/inode.c
Hunk #1 succeeded at 177 (offset -1 lines).
*** Skipping vmhgfs/01-compat_dcache.h.patch: patch not appropriate for this kernel
*** Skipping vmhgfs/02-patch_inode.c.patch: patch not appropriate for this kernel
*** Applying vmhgfs/03-vmhgfs-3.15-vfs_readlink.patch ...
patching file link.c
Hunk #1 succeeded at 160 (offset 9 lines).
Hunk #2 succeeded at 200 (offset 11 lines).
*** Skipping vmhgfs/04-vmhgfs-d_alias-kernel-3.18.1-tools-9.9.0.patch: patch not appropriate for this kernel
*** Skipping vmhgfs/05-vmhgfs-d_count-kernel-3.11-tools-9.6.0.patch: patch not appropriate for this kernel
*** Skipping vmhgfs/06-vmhgfs-d_set_type-kernel-3.18.1-tools-9.6.1.patch: patch not appropriate for this kernel
*** Skipping vmhgfs/07-vmhgfs-rename_deprecated-kernel-3.18.1-tools-9.6.1.patch: patch not appropriate for this kernel
*** Skipping vmhgfs/08-vmhgfs-smp_mb_before_clear_bit-3.18-tools-9.9.0.patch: patch not appropriate for this kernel
*** Skipping vmhgfs/09-vmhgfs-uid-gid-kernel-3.12-tools-9.6.1.patch: patch not appropriate for this kernel
*** Skipping vmhgfs/10-vmhgfs-vfs_readlink-kernel-3.16-tools-9.6.2.patch: patch not appropriate for this kernel
*** Skipping vmhgfs/11-vmhgfs-wait_on_bit-kernel-3.17-tools-9.6.2.patch: patch not appropriate for this kernel
*** Skipping vmhgfs/12-vmware9.compat_mm.patch: patch not appropriate for this kernel
*** Applying vmhgfs/13-vmhgfs-f_dentry-kernel-3.19-tools-9.9.2.patch ...
patching file dir.c
Hunk #6 succeeded at 995 (offset 6 lines).
Hunk #7 succeeded at 1086 (offset 6 lines).
Hunk #8 succeeded at 1177 (offset 6 lines).
Hunk #9 succeeded at 1301 (offset 6 lines).
Hunk #10 succeeded at 1471 (offset 6 lines).
patching file file.c
patching file fsutil.c
Hunk #2 succeeded at 2120 (offset 82 lines).
patching file shared/compat_dentry.h
*** Skipping vmhgfs/14-vmhgfs-d_alias-kernel-3.18.1-tools-9.6.2.patch: patch not appropriate for this kernel
*** Skipping vmhgfs/15-vmhgfs-bdi-kernel-4.0-tools-9.9.2.patch: patch not appropriate for this kernel
*** Skipping vmhgfs/16-vmhgfs-f_dentry-kernel-3.19.0-15-tools-9.6.2-gcc-4.8.2.patch: patch not appropriate for this kernel
*** Skipping vmhgfs/16-vmhgfs-f_dentry-kernel-3.19.0-15-tools-9.6.2.patch: patch not appropriate for this kernel
*** Applying vmhgfs/17-vmhgfs-bdi-kernel-4.0-tools-9.9.3.patch ...
patching file filesystem.c
patching file module.h
*** Skipping vmhgfs/18-vmhgfs-d_alias-kernel-3.18.1-tools-9.9.3.patch: patch not appropriate for this kernel
*** Applying vmhgfs/19-vmhgfs-new_sync_read-4.1.3-100-9.9.3.patch ...
patching file file.c
*** Applying vsock/01-vsock-sk_data_ready-kernel-3.15-tools-9.6.2.patch ...
patching file linux/notify.c
patching file linux/notifyQState.c
*** Applying vmci/01-vmware9.k3.8rc4.patch ...
patching file linux/driver.c
Reversed (or previously applied) patch detected!  Assuming -R.
Hunk #1 succeeded at 128 with fuzz 1 (offset 4 lines).
Hunk #2 succeeded at 1745 (offset -5 lines).
Hunk #3 succeeded at 1976 (offset -2 lines).
Uninstalling the tar installation of VMware Tools.

Can't exec "/etc/vmware-caf/pme/install/preuninstall.sh": No such file or directory at /usr/bin/vmware-uninstall-tools.pl line 4106.
Unable to find the answer CAFVARDIR in the installer database 
(/etc/vmware-tools/locations). You may want to re-install VMware Tools.

Execution aborted.

A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

You have a version of VMware Tools installed.  Continuing this install will 
first uninstall the currently installed version.  Do you wish to continue? 
(yes/no) [yes] 

Uninstalling the tar installation of VMware Tools.

Can't exec "/etc/vmware-caf/pme/install/preupgrade.sh": No such file or directory at /usr/bin/vmware-uninstall-tools.pl line 4115.
The removal of VMware Tools 10.0.1 build-3160059 for Linux completed 
successfully.

Installing VMware Tools.

In which directory do you want to install the binary files? 
[/usr/bin] 

What is the directory that contains the init directories (rc0.d/ to 
rc6.d/)? 

The path "" is not an existing directory.

Invalid default ans
´´´

@CingulateCortex I'll take a look at this. I ran into a similar issue on Arch, and while I fixed the tools side for using 'ip' instead of 'ifconfig' I forgot I had made additional changes for the 'rc0.d - rc6.d' folders as well.

for x in {0..6}; do mkdir -p /etc/init.d/rc${x}.d; done

Running that code snippet before attempting to install the tools should fix it. I'll see if I can find a good spot to put that into the code. What is the base distribution of Antergos?

Should be fixed by #93 once its merged.