clear-code / statistics

Statistics of ClearCode Inc. activity
Other
0 stars 2 forks source link

Ubuntu: 18.04でvirtualbox-ext-packのインストールに失敗する #164

Closed kenhys closed 6 years ago

kenhys commented 6 years ago

以下のような情報があると、issueを見た人がスムーズに作業できるはず。

:thought_balloon: 時間がないときは書かなくても :ok:

 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 10.1 kB of archives.
After this operation, 128 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 virtualbox-ext-pack all 5.2.10-3 [10.1 kB]
Fetched 10.1 kB in 0s (20.4 kB/s)               
yPreconfiguring packages ...
Selecting previously unselected package virtualbox-ext-pack.
(Reading database ... 87741 files and directories currently installed.)
Preparing to unpack .../virtualbox-ext-pack_5.2.10-3_all.deb ...
License has already been accepted.
Unpacking virtualbox-ext-pack (5.2.10-3) ...
Setting up virtualbox-ext-pack (5.2.10-3) ...
virtualbox-ext-pack: downloading: http://download.virtualbox.org/virtualbox/5.2.10/Oracle_VM_VirtualBox_Extension_Pack-5.2.10.vbox-extpack
The file will be downloaded into /usr/share/virtualbox-ext-pack
Hash mismatch Oracle_VM_VirtualBox_Extension_Pack-5.2.10.vbox-extpack: expected 8c31bc1d0337e6668e0d9140defc6deaf265087f855783dd09b873a064a70703, or wrong accept-license key
dpkg: error processing package virtualbox-ext-pack (--configure):
 installed virtualbox-ext-pack package post-installation 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)
   sudo apt install virtualbox-ext-pack
okkez commented 6 years ago

試したらインストールできたので、不具合は解消された模様。

$ vagrant init bento/ubuntu-18.04
$ vagrant up
$ vagrant ssh
$ sudo apt install -y virtualbox-ext-pack