#6677 closed defect (worksforme)
Ubuntu 10.04 guest: syntax error on installing guest additions
Reported by: | Martin | Owned by: | |
---|---|---|---|
Component: | guest additions | Version: | VirtualBox 3.1.8 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Windows |
Description
When I run the command 'sudo /media/VBOXADDITIONS_3.1.6_59338/VBoxLinuxAdditions-x86.run' the script stops with 'syntax error: unexpected ")" '. This is probably caused by Ubuntu that links SH to Dash instead of Bash: when I executed the script with 'sudo bash -x' it worked. Easiest fix would be to change the first line to #!/bin/bash, which is the shell your script depends on.
Change History (3)
comment:1 by , 14 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:3 by , 14 years ago
It works here with an Ubuntu 10.04 guest and VBOXADDITIONS_3.1.6_59338. If this is still relevant you might try re-downloading http://download.virtualbox.org/virtualbox/3.1.6/VBoxGuestAdditions_3.1.6.iso and/or try with a freshly installed 10.04 guest to see if it makes a difference.
No. The correct fix is to start the guest additions with sudo sh /media/VBOXADDITIONS....