Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to execute block of code to install vmware tools

JhilNov 6 2017 — edited Nov 8 2017

Hi,

I am trying to install vmware tools on Oracle Linux 6.5

As per  this link VMware Tools and Oracle Linux Howto  - i am following.

# tar -xvf VMwareTools-8.8.1-528969.tar.gz

...

...

>>

/'# ls -l

total 58808

-rw-r--r--. 1 root root 60215221 Nov 14  2011 VMwareTools-8.8.1-528969.tar.gz

drwxr-xr-x. 7 root root     4096 Nov  6 17:13 vmware-tools-distrib

>>  I am getting error here  .....

# sed -i "s/\$content, \$image_file, \$kernRel/\$content,\

> '--builtin=ehci-hcd --builtin=ohci-hcd --builtin=uhci-hcd', \

> \$image_file, \$kernRel/g" \

> vmware-config-tools.pl

sed: can't read vmware-config-tools.pl: No such file or directory

>> Earlier i have  Installed rpms one by one 

# yum -y install gcc 

Loaded plugins: refresh-packagekit, security 

public_ol6_UEKR3_latest                                           | 1.2 kB     00:00     

public_ol6_latest                                                 | 1.4 kB     00:00     

Setting up Install Process 

Resolving Dependencies 

--> Running transaction check 

---> Package gcc.x86_64 0:4.4.7-4.el6 will be updated 

---> Package gcc.x86_64 0:4.4.7-18.el6 will be an update 

--> Processing Dependency: cpp = 4.4.7-18.el6 for package: gcc-4.4.7-18.el6.x86_64 

--> Processing Dependency: libgomp = 4.4.7-18.el6 for package: gcc-4.4.7-18.el6.x86_64 

--> Processing Dependency: libgcc >= 4.4.7-18.el6 for package: gcc-4.4.7-18.el6.x86_64 

--> Running transaction check 

---> Package cpp.x86_64 0:4.4.7-4.el6 will be updated 

---> Package cpp.x86_64 0:4.4.7-18.el6 will be an update 

---> Package libgcc.x86_64 0:4.4.7-4.el6 will be updated 

---> Package libgcc.x86_64 0:4.4.7-18.el6 will be an update 

---> Package libgomp.x86_64 0:4.4.7-4.el6 will be updated 

---> Package libgomp.x86_64 0:4.4.7-18.el6 will be an update 

--> Finished Dependency Resolution 

 

 

Dependencies Resolved 

 

 

========================================================================================= 

Package          Arch            Version               Repository                  Size 

========================================================================================= 

Updating: 

gcc              x86_64          4.4.7-18.el6          public_ol6_latest           10 M 

Updating for dependencies: 

cpp              x86_64          4.4.7-18.el6          public_ol6_latest          3.7 M 

libgcc           x86_64          4.4.7-18.el6          public_ol6_latest          103 k 

libgomp          x86_64          4.4.7-18.el6          public_ol6_latest          134 k 

 

 

Transaction Summary 

========================================================================================= 

Upgrade       4 Package(s) 

 

 

Total download size: 14 M 

Downloading Packages: 

(1/4): cpp-4.4.7-18.el6.x86_64.rpm                                | 3.7 MB     00:14     

(2/4): gcc-4.4.7-18.el6.x86_64.rpm                     (90%) 88% [======================================-     ] 333 kB/s | 9.0 MB     00:03 ETA(2/4): gcc-4.4.7-18.el6.x86_64.rpm                                                                                      |  10 MB     00:37     

(3/4): libgcc-4.4.7-18.el6.x86_64.rpm                                                                                   | 103 kB     00:00     

(4/4): libgomp-4.4.7-18.el6.x86_64.rpm                                                                                  | 134 kB     00:00     

----------------------------------------------------------------------------------------------------------------------------------------------- 

Total                                                                                                          272 kB/s |  14 MB     00:52     

warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY 

Retrieving key from http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6 

Importing GPG key 0xEC551F03: 

Userid: "Oracle OSS group (Open Source Software group) <build@oss.oracle.com>" 

From  : http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6 

Running rpm_check_debug 

Running Transaction Test 

Transaction Test Succeeded 

Running Transaction 

  Updating   : libgcc-4.4.7-18.el6.x86_64                                                                                                  1/8 

  Updating   : cpp-4.4.7-18.el6.x86_64                                                                                                     2/8 

  Updating   : libgomp-4.4.7-18.el6.x86_64                                                                                                 3/8 

  Updating   : gcc-4.4.7-18.el6.x86_64                                                                                                     4/8 

  Cleanup    : gcc-4.4.7-4.el6.x86_64                                                                                                      5/8 

  Cleanup    : cpp-4.4.7-4.el6.x86_64                                                                                                      6/8 

  Cleanup    : libgcc-4.4.7-4.el6.x86_64                                                                                                   7/8 

  Cleanup    : libgomp-4.4.7-4.el6.x86_64                                                                                                  8/8 

  Verifying  : libgomp-4.4.7-18.el6.x86_64                                                                                                 1/8 

  Verifying  : cpp-4.4.7-18.el6.x86_64                                                                                                     2/8 

  Verifying  : gcc-4.4.7-18.el6.x86_64                                                                                                     3/8 

  Verifying  : libgcc-4.4.7-18.el6.x86_64                                                                                                  4/8 

  Verifying  : cpp-4.4.7-4.el6.x86_64                                                                                                      5/8 

  Verifying  : libgomp-4.4.7-4.el6.x86_64                                                                                                  6/8 

  Verifying  : libgcc-4.4.7-4.el6.x86_64                                                                                                   7/8 

  Verifying  : gcc-4.4.7-4.el6.x86_64                                                                                                      8/8 

 

 

Updated: 

  gcc.x86_64 0:4.4.7-18.el6                                                                                                                    

 

 

Dependency Updated: 

  cpp.x86_64 0:4.4.7-18.el6                    libgcc.x86_64 0:4.4.7-18.el6                    libgomp.x86_64 0:4.4.7-18.el6                   

 

 

Complete!

>>  2nd rpms

# yum -y install kernel-uek-devel-`uname -r`

Loaded plugins: refresh-packagekit, security

public_ol6_UEKR3_latest                                                                      | 1.2 kB     00:00    

public_ol6_UEKR3_latest/primary                                                              |  34 MB     01:15    

public_ol6_UEKR3_latest                                                                                     847/847

public_ol6_latest                                                                            | 1.4 kB     00:00    

public_ol6_latest/primary                                                                    |  66 MB     00:53    

public_ol6_latest                                                                                       39576/39576

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package kernel-uek-devel.x86_64 0:3.8.13-16.2.1.el6uek will be installed

--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================

Package                    Arch             Version                        Repository                         Size

====================================================================================================================

Installing:

kernel-uek-devel           x86_64           3.8.13-16.2.1.el6uek           public_ol6_UEKR3_latest           8.8 M

Transaction Summary

====================================================================================================================

Install       1 Package(s)

Total download size: 8.8 M

Installed size: 32 M

Downloading Packages:

kernel-uek-devel-3.8.13-16.2.1.el6uek.x86_64.rpm                                             | 8.8 MB     00:05    

warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY

Retrieving key from http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6

Importing GPG key 0xEC551F03:

Userid: "Oracle OSS group (Open Source Software group) <build@oss.oracle.com>"

From  : http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing : kernel-uek-devel-3.8.13-16.2.1.el6uek.x86_64                                                     1/1

  Verifying  : kernel-uek-devel-3.8.13-16.2.1.el6uek.x86_64                                                     1/1

Installed:

  kernel-uek-devel.x86_64 0:3.8.13-16.2.1.el6uek                                                                   

Complete!

>> 3rd rpm

# yum -y install kernel-uek-headers-`uname -r`

Loaded plugins: refresh-packagekit, security

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package kernel-headers.x86_64 0:2.6.32-431.el6 will be obsoleted

---> Package kernel-uek-headers.x86_64 0:3.8.13-16.2.1.el6uek will be obsoleting

--> Finished Dependency Resolution

Dependencies Resolved

================================================================================

Package            Arch   Version                Repository               Size

================================================================================

Installing:

kernel-uek-headers x86_64 3.8.13-16.2.1.el6uek   public_ol6_UEKR3_latest 909 k

     replacing  kernel-headers.x86_64 2.6.32-431.el6

Transaction Summary

================================================================================

Install       1 Package(s)

Total download size: 909 k

Downloading Packages:

kernel-uek-headers-3.8.13-16.2.1.el6uek.x86_64.rpm       | 909 kB     00:01    

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing : kernel-uek-headers-3.8.13-16.2.1.el6uek.x86_64                                     1/2

  Erasing    : kernel-headers-2.6.32-431.el6.x86_64                                                              2/2

  Verifying  : kernel-uek-headers-3.8.13-16.2.1.el6uek.x86_64                                                    1/2

  Verifying  : kernel-headers-2.6.32-431.el6.x86_64                                                              2/2

Installed:

  kernel-uek-headers.x86_64 0:3.8.13-16.2.1.el6uek                                                                  

Replaced:

  kernel-headers.x86_64 0:2.6.32-431.el6                                                                            

Complete!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 6 2017
Added on Nov 6 2017
6 comments
889 views