Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

line 133: WARNING: unbound variable #245

Open
alistair-broomhead opened this issue Nov 17, 2014 · 7 comments · May be fixed by #256
Open

line 133: WARNING: unbound variable #245

alistair-broomhead opened this issue Nov 17, 2014 · 7 comments · May be fixed by #256

Comments

@alistair-broomhead
Copy link

When I attempt to run the script as shown in the README.md I get the following:

hp-mint al # curl -s https://raw.githubusercontent.com/xdissent/ievms/master/ievms.sh | bash
Checking for VirtualBox
Checking for Oracle VM VirtualBox Extension Pack
bash: line 133: WARNING: unbound variable
hp-mint al # 

I am running the latest stable version of Mint under Xfce

@adborden
Copy link

adborden commented Apr 4, 2015

Same error. I'm using GNU bash, version 4.3.30(1)-release (x86_64-pc-linux-gnu)

@adborden
Copy link

adborden commented Apr 4, 2015

Looks like the error message changed and it's not getting matched.

ERROR: WARNING: The VirtualBox kernel modules are not loaded.
         Please load all the needed kernel modules by:

           for m in vbox{drv,netadp,netflt}; do modprobe $m; done

         You will not be able to start VMs until this problem is fixed.
4.3.18_Gentoor96516

I've added a check for the new string, but I wonder if we should be more loose in our checking. e.g. Anything with a newline is probably an error.

@adborden adborden linked a pull request Apr 4, 2015 that will close this issue
@xdissent
Copy link
Owner

Good catch, sorry I didn't see this sooner. We just switched to VirtualBox 5.0, so I'll double check the err message there and get this fixed.

@Potherca
Copy link

Potherca commented May 3, 2016

Is there any news on this?

@gangsthub
Copy link

same output here 😧

@ikodev
Copy link

ikodev commented Jul 9, 2016

Same for me (ubuntu 14.04), I found a solution.
The script tried to get the available versions with
VBoxManage -v
However this command fails and the script crash on line 133 (outbound variable).
The first command asks me to install virtualbox-dkms.
sudo apt-get install virtualbox-dkms

No more problem :)

@csi-lk
Copy link

csi-lk commented Jun 18, 2017

Hmm tried @ikodev 's solution but didn't work for me - Ubuntu 17.04 / VirtualBox 5.1.22_Ubuntu r115126

virtualbox-dkms is already the newest version (5.1.22-dfsg-0ubuntu1.17.04.1).
virtualbox-dkms set to manually installed.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants