URL of VirtualBox Guest Additions is invalid #68

Closed
mspanc opened this Issue Apr 20, 2012 · 5 comments

Projects

None yet

3 participants

@mspanc

Cannot install the script under ubuntu 11.10. Seems that URL is invalid. It redirects to

http://dlc.sun.com.edgesuite.net/virtualbox/4.1.2_Ubuntu/Oracle_VM_VirtualBox_Extension_Pack-4.1.2_Ubuntu-38459.vbox-extpack

which returns 404 not found.

Propably Sun has already removed the package for VirtualBox 4.1.2 shipped with ubuntu 11.10. It would be nice if the script would suggest updating instead of throwing such a strange error.

marcin@marcin:~$ curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | IEVMS_VERSIONS="9" bash
Checking for VirtualBox
Checking for Oracle VM VirtualBox Extension Pack
Downloading Oracle VM VirtualBox Extension Pack from http://download.virtualbox.org/virtualbox/4.1.2_Ubuntu/Oracle_VM_VirtualBox_Extension_Pack-4.1.2_Ubuntu-38459.vbox-extpack to /home/marcin/.ievms/Oracle_VM_VirtualBox_Extension_Pack-4.1.2_Ubuntu-38459.vbox-extpack
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 292 100 292 0 0 288 0 0:00:01 0:00:01 --:--:-- 866
Installing Oracle VM VirtualBox Extension Pack from /home/marcin/.ievms/Oracle_VM_VirtualBox_Extension_Pack-4.1.2_Ubuntu-38459.vbox-extpack
VBoxManage: error: RTZipGzipDecompressIoStream failed: VERR_ZIP_BAD_HEADER
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ExtPackFile, interface IExtPackFile, callee nsISupports
Context: "Install(fReplace, NULL, ptrProgress.asOutParam())" at line 1083 of file VBoxManageMisc.cpp

ERROR: Failed to install Oracle VM VirtualBox Extension Pack from /home/marcin/.ievms/Oracle_VM_VirtualBox_Extension_Pack-4.1.2_Ubuntu-38459.vbox-extpack, error code (0)

@emezeske

The same problem happens with Arch Linux, because VBoxManage -v returns something like "4.1.12_OSEr77245" (note the "OSE" which I think is what breaks things).

I think the easiest thing to do would be to just use the initial three-part number version number, and ignore any cruft after that (e.g. distro-specific version garbage).

@xdissent
Owner

The OSE is the problem here. I'm trying to assemble all of these ext-pack version issues right now and hope to find some global solution that doesn't involve regex hell.

@xdissent xdissent closed this Jun 1, 2012
@xdissent xdissent reopened this Jun 1, 2012
@xdissent
Owner

Wait, this is for the extension pack, not the guest additions ISO as the title would suggest, right?

@emezeske

@xdissent: Yeah, IIRC the extension pack was the problem for me.

@xdissent
Owner

Cool, just wanted to make sure I'm on the same page. Thanks.

@xdissent xdissent closed this Sep 23, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment