Comment 44 for bug 1767402

Revision history for this message
Sundar (sundar-ima) wrote :

Here is the output of error message received during upgrade:-

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  virtualbox-ext-pack
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.1 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 virtualbox-ext-pack all 5.2.10-3ubuntu18.04.1 [10.1 kB]
Fetched 10.1 kB in 1s (7,178 B/s)
Preconfiguring packages ...
(Reading database ... 541279 files and directories currently installed.)
Preparing to unpack .../virtualbox-ext-pack_5.2.10-3ubuntu18.04.1_all.deb ...
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: Failed open the base directory: VERR_FILE_NOT_FOUND ('/usr/lib/virtualbox/ExtensionPacks')
VBoxManage: error: rcExit=1
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: warning: old virtualbox-ext-pack package pre-removal script subprocess returned error exit status 1
dpkg: trying script from the new package instead ...
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: Failed open the base directory: VERR_FILE_NOT_FOUND ('/usr/lib/virtualbox/ExtensionPacks')
VBoxManage: error: rcExit=1
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 archive /var/cache/apt/archives/virtualbox-ext-pack_5.2.10-3ubuntu18.04.1_all.deb (--unpack):
 new virtualbox-ext-pack package pre-removal script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/virtualbox-ext-pack_5.2.10-3ubuntu18.04.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)