Preparing to unpack .../libcurl4_7.58.0-2ubuntu3.3_amd64.deb ... Unpacking libcurl4:amd64 (7.58.0-2ubuntu3.3) ... Selecting previously unselected package php7.2-curl. Preparing to unpack .../php7.2-curl_7.2.10-0ubuntu0.18.04.1_amd64.deb ... Unpacking php7.2-curl (7.2.10-0ubuntu0.18.04.1) ... Selecting previously unselected package curl. Preparing to unpack .../curl_7.58.0-2ubuntu3.3_amd64.deb ... Unpacking curl (7.58.0-2ubuntu3.3) ... Setting up libcurl4:amd64 (7.58.0-2ubuntu3.3) ... Processing triggers for php7.0-fpm (7.0.32-0ubuntu0.16.04.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2) ... Processing triggers for libapache2-mod-php7.2 (7.2.10-0ubuntu0.18.04.1) ... Setting up redis-server (5:4.0.9-1) ... Job for redis-server.service failed because a timeout was exceeded. See "systemctl status redis-server.service" and "journalctl -xe" for details. invoke-rc.d: initscript redis-server, action "restart" failed. ● redis-server.service - Advanced key-value store Loaded: loaded (/lib/systemd/system/redis-server.service; disabled; vendor preset: enabled) Active: activating (auto-restart) (Result: timeout) since Mon 2018-10-01 14:16:46 IST; 8ms ago Docs: http://redis.io/documentation, man:redis-server(1) Process: 30335 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exited, status=0/SUCCESS) dpkg: error processing package redis-server (--configure): installed redis-server package post-installation script subprocess returned error exit status 1