Comment 4 for bug 1605799

Revision history for this message
Dan Christian (danchristian65) wrote : Re: [Bug 1605799] Re: package virtualbox-ext-pack 5.0.24-0ubuntu1.16.04.1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1

I think this may actually be an Oracle bug. The setup is clearly
installing a 5.0.24 file and getting 5.1 contents.

On Dec 5, 2016 5:25 PM, "Dan Christian" <email address hidden> wrote:

I have the same problem, and I do not have Oracle's version installed.
This should be re-opened.

$ dpkg -l virtualbox
dpkg-query: no packages found matching virtualbox

sudo apt-get install virtualbox-ext-pack unity-scope-virtualbox virtualbox
virtualbox-dkms virtualbox-guest-additions-iso virtualbox-qt
...
Errors were encountered while processing:
 virtualbox-ext-pack

$ dpkg -l virtualbox\* | grep '^i'
ii virtualbox 5.0.24-dfsg-0ubuntu1.16.04.1 amd64
  x86 virtualization solution - base binaries
ii virtualbox-dkms 5.0.24-dfsg-0ubuntu1.16.04.1 all
  x86 virtualization solution - kernel module sources for dkms
iF virtualbox-ext-pack 5.0.24-0ubuntu1.16.04.1 all
  extra capabilities for VirtualBox, downloader.
ii virtualbox-guest-additions-iso 5.0.24-0ubuntu1.16.04.1 all
  guest additions iso image for VirtualBox
ii virtualbox-qt 5.0.24-dfsg-0ubuntu1.16.04.1 amd64
  x86 virtualization solution - Qt based user interface

$ sudo apt-get install virtualbox-ext-pack
Reading package lists... Done
Building dependency tree
Reading state information... Done
virtualbox-ext-pack is already the newest version (5.0.24-0ubuntu1.16.04.1).
The following packages were automatically installed and are no longer
required:
  linux-headers-4.4.0-45 linux-headers-4.4.0-45-generic
linux-image-4.4.0-45-generic linux-image-extra-4.4.0-45-generic
linux-tools-4.4.0-45
  linux-tools-4.4.0-45-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up virtualbox-ext-pack (5.0.24-0ubuntu1.16.04.1) ...
virtualbox-ext-pack: downloading: http://download.virtualbox.
org/virtualbox/5.0.24/Oracle_VM_VirtualBox_Extension_Pack-
5.0.24.vbox-extpack
The file will be downloaded into /usr/share/virtualbox-ext-pack
Hash mismatch Oracle_VM_VirtualBox_Extension_Pack-5.0.24.vbox-extpack
dpkg: error processing package virtualbox-ext-pack (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 virtualbox-ext-pack
E: Sub-process /usr/bin/dpkg returned an error code (1)

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1605799

Title:
  package virtualbox-ext-pack 5.0.24-0ubuntu1.16.04.1 failed to
  install/upgrade: sub-processo script post-installation instalado
  retornou estado de saída de erro 1

Status in virtualbox-ext-pack package in Ubuntu:
  Invalid

Bug description:
  Pré-configurando pacotes ...
  A seleccionar pacote anteriormente não seleccionado virtualbox-ext-pack.
  (Lendo banco de dados ... 366643 ficheiros e directórios actualmente
instalados.)
  A preparar para desempacotar
.../virtualbox-ext-pack_5.0.24-0ubuntu1.16.04.1_all.deb
...
  License has already been accepted.
  A descompactar virtualbox-ext-pack (5.0.24-0ubuntu1.16.04.1) ...
  Configurando virtualbox-ext-pack (5.0.24-0ubuntu1.16.04.1) ...
  virtualbox-ext-pack: downloading: http://download.virtualbox.
org/virtualbox/5.0.24/Oracle_VM_VirtualBox_Extension_Pack-
5.0.24.vbox-extpack
  The file will be downloaded into /usr/share/virtualbox-ext-pack
  0%...
  Progress state: NS_ERROR_FAILURE
  VBoxManage: error: Failed to install "/usr/share/virtualbox-ext-
pack/Oracle_VM_VirtualBox_Extension_Pack-5.0.24.vbox-extpack"
  VBoxManage: error: VBoxExtPackRegister returned VERR_VERSION_MISMATCH,
pReg=0000000000000000 ErrInfo='VirtualBox version mismatch - expected 5.0
got 5.1'
  VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component
ExtPackManagerWrap, interface IExtPackManager
  VBoxManage: error: Context: "RTEXITCODE handleExtPack(HandlerArg*)" at
line 1158 of file VBoxManageMisc.cpp
  dpkg: erro ao processar o pacote virtualbox-ext-pack (--configure):
   sub-processo script post-installation instalado retornou estado de saída
de erro 1
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  Um pacote falhou na instalação. Tentando recuperar:
  Configurando virtualbox-ext-pack (5.0.24-0ubuntu1.16.04.1) ...
  virtualbox-ext-pack: downloading: http://download.virtualbox.
org/virtualbox/5.0.24/Oracle_VM_VirtualBox_Extension_Pack-
5.0.24.vbox-extpack
  The file will be downloaded into /usr/share/virtualbox-ext-pack
  0%...
  Progress state: NS_ERROR_FAILURE
  VBoxManage: error: Failed to install "/usr/share/virtualbox-ext-
pack/Oracle_VM_VirtualBox_Extension_Pack-5.0.24.vbox-extpack"
  VBoxManage: error: VBoxExtPackRegister returned VERR_VERSION_MISMATCH,
pReg=0000000000000000 ErrInfo='VirtualBox version mismatch - expected 5.0
got 5.1'
  VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component
ExtPackManagerWrap, interface IExtPackManager
  VBoxManage: error: Context: "RTEXITCODE handleExtPack(HandlerArg*)" at
line 1158 of file VBoxManageMisc.cpp
  dpkg: erro ao processar o pacote virtualbox-ext-pack (--configure):
   sub-processo script post-installation instalado retornou estado de saída
de erro 1
  Erros foram encontrados durante o processamento de:
   virtualbox-ext-pack

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: virtualbox-ext-pack 5.0.24-0ubuntu1.16.04.1
  ProcVersionSignature: Ubuntu 4.4.0-31.50-lowlatency 4.4.13
  Uname: Linux 4.4.0-31-lowlatency x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.1-0ubuntu2.1
  AptOrdering:
   virtualbox-ext-pack: Install
   virtualbox-ext-pack: Configure
   NULL: ConfigurePending
  Architecture: amd64
  Date: Fri Jul 22 20:18:24 2016
  ErrorMessage: sub-processo script post-installation instalado retornou
estado de saída de erro 1
  InstallationDate: Installed on 2016-07-19 (3 days ago)
  InstallationMedia: Ubuntu-Studio 16.04 LTS "Xenial Xerus" - Release amd64
(20160420.1)
  PackageArchitecture: all
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.1
   apt 1.2.12~ubuntu16.04.1
  SourcePackage: virtualbox-ext-pack
  Title: package virtualbox-ext-pack 5.0.24-0ubuntu1.16.04.1 failed to
install/upgrade: sub-processo script post-installation instalado retornou
estado de saída de erro 1
  UpgradeStatus: No upgrade log present (probably fresh install)

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