Virtual Box had been already installed by:
sudo apt install virtualbox
Then I went on installing the extension pack:
sudo apt install virtualbox-ext-pack
This runs into the error:
sudo apt install virtualbox-ext-pack Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: virtualbox-ext-pack 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/11,6 kB of archives. After this operation, 127 kB of additional disk space will be used. Preconfiguring packages ... Selecting previously unselected package virtualbox-ext-pack. (Reading database ... 169888 files and directories currently installed.) Preparing to unpack .../virtualbox-ext-pack_5.1.34-0ubuntu184.108.40.206_all.deb ... License has already been accepted. Unpacking virtualbox-ext-pack (5.1.34-0ubuntu220.127.116.11) ... Setting up virtualbox-ext-pack (5.1.34-0ubuntu18.104.22.168) ... virtualbox-ext-pack: downloading: http://download.virtualbox.org/virtualbox/5.1.34/Oracle_VM_VirtualBox_Extension_Pack-5.1.34.vbox-extpack The file will be downloaded into /usr/share/virtualbox-ext-pack dpkg: error processing package virtualbox-ext-pack (--configure): subprocess installed post-installation script returned error exit status 4 Errors were encountered while processing: virtualbox-ext-pack E: Sub-process /usr/bin/dpkg returned an error code (1)
I already tried to reboot and re-install using 'apt purge ...'. Nevertheless the problem is still remains.
How to install Virtual Box's Extension Pack via default repository in Ubuntu 17.10?
I just noticed that the directory
/usr/share/virtualbox-ext-pack is empty. On a reference system the folder contains the
*.vbox-extpack file. Maybe this is a proxy problem here?