Closed zoosky closed 9 years ago
I connected to the box vagrant ssh
and tried to install hhvm manually.
~ $ apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" install 'hhvm'
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
~ $ sudo apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" install 'hhvm' ⏎
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
hhvm
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
24 not fully installed or removed.
Need to get 0 B/16.5 MB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 67782 files and directories currently installed.)
Preparing to unpack .../hhvm_3.7.1~trusty_amd64.deb ...
invoke-rc.d: unknown initscript, /etc/init.d/hhvm not found.
dpkg: error processing archive /var/cache/apt/archives/hhvm_3.7.1~trusty_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 100
Errors were encountered while processing:
/var/cache/apt/archives/hhvm_3.7.1~trusty_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The packaged version no longer seems to ship with the init.d/hhvm file.
Pleas try the lates version containing this commit: https://github.com/Tuurlijk/TYPO3.Homestead/commit/bf51deca02d9fd4f0bde0332e21defefdd9b7e3d