Postings relating to old VirtualBox pre-releases
Sasquatch
Volunteer
Posts: 17798 Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random
Post
by Sasquatch » 18. Jul 2011, 22:56
With 4.1 beta, we now have the option to replace an extpack instead of having to first uninstall it and then install the new version. But, it's not working. I get an Invalid option -r error. This is the full output of my attempt to replace my existing extpack:
Code: Select all
sudo VBoxManage extpack install --replace /tmp/Oracle_VM_VirtualBox_Extension_Pack-4.1.0_BETA3-72886.vbox-extpack
Oracle VM VirtualBox Command Line Management Interface Version 4.1.0_BETA3
(C) 2005-2011 Oracle Corporation
All rights reserved.
Usage:
VBoxManage extpack install [--replace] <tarball> |
uninstall [--force] <name> |
cleanup
VBoxManage: error: Invalid option -r
That doesn't sound right. What option is it talking about? Is it ignoring the first dash and 'eplace'?
frank
Oracle Corporation
Posts: 3362 Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:
Post
by frank » 19. Jul 2011, 16:03
That's indeed a typo. The --replace option will not be accepted. That will be fixed in the next maintenance release.
frank
Oracle Corporation
Posts: 3362 Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:
Post
by frank » 19. Jul 2011, 16:07
Same problem in 4.0.12 btw.
Sasquatch
Volunteer
Posts: 17798 Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random
Post
by Sasquatch » 19. Jul 2011, 20:40
Frank Mehnert wrote: Same problem in 4.0.12 btw.
That's impossible, because 4.0.12 didn't have VBoxManage extpack install --replace option. The --replace was added in 4.1. The documentation of 4.0 also doesn't note the --replace option, but 4.1 does.
So we have to wait for 4.1.2 before this works? That's a shame. I should have found this problem sooner so it would have been fixed before final.
frank
Oracle Corporation
Posts: 3362 Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:
Post
by frank » 20. Jul 2011, 14:19
Actually 4.0.12 has this option implemented but it was never documented. And, as I said, this option did not work because there was a bug in command line scanning, see
here . And no, even 'r' would not work, see some lines above
Perryg
Site Moderator
Posts: 34369 Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX
Post
by Perryg » 20. Jul 2011, 22:10
OK I finally got this to work but not with the syntax listed in the CLI help.
Code: Select all
VBoxManage extpack install --replace <absolute path>/Oracle_VM_VirtualBox_Extension_Pack-4.1.0-73009.vbox-extpack
(returns error)
VBoxManage: error: '<absolute path>/--replace' file not found
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ExtPackFile, interface IExtPackFile, callee nsISupports
Context: "Install(fReplace, NULL, ptrProgress.asOutParam())" at line 1065 of file VBoxManageMisc.cpp
Code: Select all
VBoxManage extpack install <absolute path>/Oracle_VM_VirtualBox_Extension_Pack-4.1.0-73009.vbox-extpack --replace
(works)
CLI help below:
Code: Select all
VBoxManage extpack install [--replace] <tarball> |
uninstall [--force] <name> |
cleanup