*** This bug is a duplicate of bug 1767402 ***
    https://bugs.launchpad.net/bugs/1767402

I have the same problem while trying to install virtualbox-ext-pack on
Ubuntu 18.04. Now everytime I do apt-get update, I get an error, because
it tries to install the extension pack again. Removing or purging the
package doesn't work, because I also get an error:

sudo apt-get purge virtualbox-ext-pack
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED
  virtualbox-ext-pack*
0 to upgrade, 0 to newly install, 1 to remove and 0 not to upgrade.
1 not fully installed or removed.
After this operation, 128 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 359582 files and directories currently installed.)
Removing virtualbox-ext-pack (5.2.10-3ubuntu18.04.1) ...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully uninstalled "Oracle VM VirtualBox Extension Pack".
VBoxManage: error: The installer failed with exit code 1: VBoxExtPackHelperApp: 
error: The owner is not root: '/usr'
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component 
ExtPackManagerWrap, interface IExtPackManager, callee nsISupports
VBoxManage: error: Context: "Cleanup()" at line 1261 of file VBoxManageMisc.cpp
dpkg: error processing package virtualbox-ext-pack (--remove):
 installed virtualbox-ext-pack package pre-removal script subprocess returned 
error exit status 1
Errors were encountered while processing:
 virtualbox-ext-pack
E: Sub-process /usr/bin/dpkg returned an error code (1)


Can anyone tell me how to remove he package, so that I don't get the error 
every time I update my packages? clean, autoclean, purge, remove, dpkg 
--remove... all didn't work.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768042

Title:
  package virtualbox-ext-pack (not installed) failed to install/upgrade:
  installed virtualbox-ext-pack package post-installation script
  subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virtualbox-ext-pack/+bug/1768042/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to