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
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
redis (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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://
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-
Unpacking redis-server (5:4.0.
Setting up redis-server (5:4.0.
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
ProcVersionSign
Uname: Linux 4.15.0-60-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.7
AptOrdering:
redis-
NULL: ConfigurePending
Architecture: amd64
Date: Mon Sep 9 10:46:09 2019
DuplicateSignature:
package:
Setting up redis-server (5:4.0.
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
RelatedPackageV
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)
tags: | removed: need-duplicate-check |
Status changed to 'Confirmed' because the bug affects multiple users.