package virtualbox-ext-pack 5.0.24-0ubuntu1.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1620483 reported by howefield
182
This bug affects 39 people
Affects Status Importance Assigned to Milestone
virtualbox-ext-pack (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

package virtualbox-ext-pack 5.0.24-0ubuntu1.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: virtualbox-ext-pack 5.0.24-0ubuntu1.16.04.1
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
AptOrdering:
 virtualbox-ext-pack: Install
 virtualbox-ext-pack: Configure
 NULL: ConfigurePending
Architecture: amd64
Date: Tue Sep 6 07:55:25 2016
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-08-26 (10 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
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: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
howefield (howefield) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

VBoxManage: error: The installer failed with exit code 1: VBoxExtPackHelperApp: error: The owner is not root: '/usr'

you need to own /usr to be able to install it.

Changed in virtualbox-ext-pack (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for virtualbox-ext-pack (Ubuntu) because there has been no activity for 60 days.]

Changed in virtualbox-ext-pack (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Roger Peartree (pereiradorogerio) wrote :

I became the owner of /usr/share (sudo chown -R username:root /usr/share), removed completely the package using Synaptic and when I reinstalled the problem persisted. So, at least for me, this is not the resolution for this bug. Anyway many thanks for the help. I think I'll try to download the virtualbox-ext-pack for the (quite old, I must say...) 5.0.24 version that is in the Ubuntu repositories and then open the package with VirtualBox. I just hope that they still have these very old version available in their site...

Revision history for this message
Roger Peartree (pereiradorogerio) wrote :

Yes this is the correct solution for now. Go to Oracle's site, navigate to Old Builds and then select the virtualbox-ext-pack, version 5.0.24, it's the same file for all Architectures, download it then open it with VirtualBox, using the context menu and then VirtualBox will happily download it and install it. I think it would be advisable to return the ownership of /usr/share to root, because of keeping the system safe. If you have taken ownership of /usr/share/sounds because of playing the Login sound or System sounds you'll have to take ownership of that folder only again.

Revision history for this message
Charles DeVault (charles-devault) wrote : Re: [Bug 1620483] Re: package virtualbox-ext-pack 5.0.24-0ubuntu1.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Download full text (3.6 KiB)

Roger:

Thank you for pointing this out.

The link for anyone's reference on this is here:

https://www.virtualbox.org/wiki/Download_Old_Builds_5_0

I note they are up to the extension pack ver. 5.0.30 for all versions.

I have downloaded the suggested 5.0.24 and ran it successfully.

Best regards...

Charles DeVault

+1(408)839-2412 cell

________________________________
From: <email address hidden> <email address hidden> on behalf of Roger Peartree <email address hidden>
Sent: Friday, December 30, 2016 9:43 AM
To: <email address hidden>
Subject: [Bug 1620483] Re: package virtualbox-ext-pack 5.0.24-0ubuntu1.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Yes this is the correct solution for now. Go to Oracle's site, navigate
to Old Builds and then select the virtualbox-ext-pack, version 5.0.24,
it's the same file for all Architectures, download it then open it with
VirtualBox, using the context menu and then VirtualBox will happily
download it and install it. I think it would be advisable to return the
ownership of /usr/share to root, because of keeping the system safe. If
you have taken ownership of /usr/share/sounds because of playing the
Login sound or System sounds you'll have to take ownership of that
folder only again.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1620483
Bug #1620483 "package virtualbox-ext-pack 5.0.24-0ubuntu1.16.04...." : Bugs : virtualbox-ext-pack package : Ubuntu<https://bugs.launchpad.net/bugs/1620483>
bugs.launchpad.net
package virtualbox-ext-pack 5.0.24-0ubuntu1.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 ProblemType: Package DistroRelease: Ubuntu 16.04 Package: virtualbox-ext-pack 5.0.24-0ubuntu1.16.04.1 ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16 Uname: Linux 4.4.0-36-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.1 AptOrdering: virtualbox-ext-pack: Install virtualbox-ext-pack: Configure NULL: ConfigurePending Architecture: a...

Title:
  package virtualbox-ext-pack 5.0.24-0ubuntu1.16.04.1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

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

Bug description:
  package virtualbox-ext-pack 5.0.24-0ubuntu1.16.04.1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: virtualbox-ext-pack 5.0.24-0ubuntu1.16.04.1
  ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
  Uname: Linux 4.4.0-36-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.1
  AptOrdering:
   virtualbox-ext-pack: Install
   virtualbox-ext-pack: Configure
   NULL: ConfigurePending
  Architecture: amd64
  Date: Tue Sep 6 07:55:25 2016
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2016-08-26 (10 days ago)
  InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
  PackageArchitecture: all
  Relat...

Read more...

Revision history for this message
lewis pusey (lpusey) wrote :

This is from the terminal in synaptic:
Preconfiguring packages ...
Selecting previously unselected package virtualbox-ext-pack.
(Reading database ... 323708 files and directories currently installed.)
Preparing to unpack .../virtualbox-ext-pack_5.0.24-0ubuntu1.16.04.2_all.deb ...
License has already been accepted.
Unpacking virtualbox-ext-pack (5.0.24-0ubuntu1.16.04.2) ...
Setting up virtualbox-ext-pack (5.0.24-0ubuntu1.16.04.2) ...
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: error processing package virtualbox-ext-pack (--configure):
 subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up virtualbox-ext-pack (5.0.24-0ubuntu1.16.04.2) ...
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: error processing package virtualbox-ext-pack (--configure):
 subprocess installed post-installation script returned error exit status 1

Revision history for this message
lewis pusey (lpusey) wrote :

So the latest virtualbox and the virtualbox ext pack are a version mismatch.
I'm running 64 bit virtual box latest so the ext pack is out of date.
You can't run a virtual appliance without it.

Revision history for this message
Roy Bettle (roy-bettle) wrote :

I've been able to get the correct extension pack to manually install.
There's some interesting USB wierdness afterwards where I had to downshift
to USB1, but that's the only thing I've noticed so far.

On Wed, Jan 18, 2017 at 8:11 AM, lewis pusey <email address hidden>
wrote:

> So the latest virtualbox and the virtualbox ext pack are a version
> mismatch.
> I'm running 64 bit virtual box latest so the ext pack is out of date.
> You can't run a virtual appliance without it.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1620483
>
> Title:
> package virtualbox-ext-pack 5.0.24-0ubuntu1.16.04.1 failed to
> install/upgrade: subprocess installed post-installation script
> returned error exit status 1
>
> Status in virtualbox-ext-pack package in Ubuntu:
> Expired
>
> Bug description:
> package virtualbox-ext-pack 5.0.24-0ubuntu1.16.04.1 failed to
> install/upgrade: subprocess installed post-installation script
> returned error exit status 1
>
> ProblemType: Package
> DistroRelease: Ubuntu 16.04
> Package: virtualbox-ext-pack 5.0.24-0ubuntu1.16.04.1
> ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
> Uname: Linux 4.4.0-36-generic x86_64
> ApportVersion: 2.20.1-0ubuntu2.1
> AptOrdering:
> virtualbox-ext-pack: Install
> virtualbox-ext-pack: Configure
> NULL: ConfigurePending
> Architecture: amd64
> Date: Tue Sep 6 07:55:25 2016
> ErrorMessage: subprocess installed post-installation script returned
> error exit status 1
> InstallationDate: Installed on 2016-08-26 (10 days ago)
> InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64
> (20160719)
> 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: subprocess installed post-installation script returned
> error exit status 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/1620483/+subscriptions
>

--

--Roy
____________________________________________

Roy Bettle
<email address hidden>

(949) 201-9762 Cell

"Opportunity is missed by most people because it comes dressed in overalls
and looks like work."
-- Thomas Edison

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.