root@localhost:~# apt-get install nginx
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
nginx
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 639 kB of archives.
After this operation, 2,385 kB of additional disk space will be used.
Get:1
http://nginx.org/packages/mainline/ubuntu/ trusty/nginx nginx amd64 1.9.14-1~trusty [639 kB]
Fetched 639 kB in 8s (78.1 kB/s)
E: Can not write log (Is /dev/pts mounted?) - openpty (2: No such file or directory)
Selecting previously unselected package nginx.
(Reading database ... 25850 files and directories currently installed.)
Preparing to unpack .../nginx_1.9.14-1~trusty_amd64.deb ...
----------------------------------------------------------------------
Thanks for using nginx!
Please find the official documentation for nginx here:
*
http://nginx.org/en/docs/
Commercial subscriptions for nginx are available on:
*
http://nginx.com/products/
----------------------------------------------------------------------
Unpacking nginx (1.9.14-1~trusty) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up udev (204-5ubuntu20.19) ...
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: No such file or directory
* udev requires devtmpfs support, not started
...fail!
invoke-rc.d: initscript udev, action "restart" failed.
dpkg: error processing package udev (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of systemd-services:
systemd-services depends on udev (>= 175-0ubuntu23); however:
Package udev is not configured yet.
dpkg: error processing package systemd-services (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpam-systemd:amd64:
libpam-systemd:amd64 depends on systemd-services (= 204-5ubuntu20.19); however:No apport report written because the error message indicates its a followup error from a previous failure.
Package systemd-services is not configured yet.
dpkg: error processing package libpam-systemd:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of initramfs-tools:
initramfs-tools depends on udev (>= 147~-5); however:No apport report written because the error message indicates its a followup error from a previous failure.
Package udev is not configured yet.
dpkg: error processing package initramfs-tools (--configure):
dependency problems - leaving unconfigured
Setting up nginx (1.9.14-1~trusty) ...
No apport report written because MaxReports is reached already
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: No such file or directory
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
udev
systemd-services
libpam-systemd:amd64
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)