Public bug reported: I have uninstalled redis-server previously rebooted the system when i tried to installed it again it failed with following response
Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: redis-server 0 upgraded, 1 newly installed, 0 to remove and 18 not upgraded. Need to get 35.4 kB of archives. After this operation, 172 kB of additional disk space will be used. Get:1 http://in.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 redis-server amd64 5:4.0.9-1ubuntu0.2 [35.4 kB] Fetched 35.4 kB in 0s (79.5 kB/s) Selecting previously unselected package redis-server. (Reading database ... 176215 files and directories currently installed.) Preparing to unpack .../redis-server_5%3a4.0.9-1ubuntu0.2_amd64.deb ... Unpacking redis-server (5:4.0.9-1ubuntu0.2) ... Setting up redis-server (5:4.0.9-1ubuntu0.2) ... dpkg-statoverride: error: user 'redis' does not exist dpkg: error processing package redis-server (--configure): installed redis-server package post-installation script subprocess returned error exit status 2 Processing triggers for systemd (237-3ubuntu10.28) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for ureadahead (0.100.0-21) ... ureadahead will be reprofiled on next reboot Errors were encountered while processing: redis-server E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 18.04 Package: redis-server 5:4.0.9-1ubuntu0.2 ProcVersionSignature: Ubuntu 4.15.0-60.67-generic 4.15.18 Uname: Linux 4.15.0-60-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.7 AptOrdering: redis-server:amd64: Install NULL: ConfigurePending Architecture: amd64 Date: Mon Sep 9 10:46:09 2019 DuplicateSignature: package:redis-server:5:4.0.9-1ubuntu0.2 Setting up redis-server (5:4.0.9-1ubuntu0.2) ... dpkg-statoverride: error: user 'redis' does not exist dpkg: error processing package redis-server (--configure): installed redis-server package post-installation script subprocess returned error exit status 2 ErrorMessage: installed redis-server package post-installation script subprocess returned error exit status 2 InstallationDate: Installed on 2019-09-03 (5 days ago) InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) Python3Details: /usr/bin/python3.6, Python 3.6.8, python3-minimal, 3.6.7-1~18.04 PythonDetails: /usr/bin/python2.7, Python 2.7.15+, python-minimal, 2.7.15~rc1-1 RelatedPackageVersions: dpkg 1.19.0.5ubuntu2.2 apt 1.6.11 SourcePackage: redis Title: package redis-server 5:4.0.9-1ubuntu0.2 failed to install/upgrade: installed redis-server package post-installation script subprocess returned error exit status 2 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: redis (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package bionic third-party-packages -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1843220 Title: package redis-server 5:4.0.9-1ubuntu0.2 failed to install/upgrade: installed redis-server package post-installation script subprocess returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/redis/+bug/1843220/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs