I am trying to install Redis on a fresh Bullseye OS on a Raspberry Pi Zero.
The first thing I do after installing the OS on the SD card and pwoering up de Pi is run the commands as explained here
but the process fails and ends with an error message about the redis-server. Here is the output
Get:2 https://packages.redis.io/deb bullseye/main armhf redis-server armhf 6:7.0.8-1rl1~bullseye1 [86.7 kB]
Get:3 https://packages.redis.io/deb bullseye/main armhf redis all 6:7.0.8-1rl1~bullseye1 [39.9 kB]
Fetched 1,185 kB in 3s (344 kB/s)
Selecting previously unselected package redis-tools.
(Reading database ... 106127 files and directories currently installed.)
Preparing to unpack .../redis-tools_6%3a7.0.8-1rl1~bullseye1_armhf.deb ...
Unpacking redis-tools (6:7.0.8-1rl1~bullseye1) ...
Selecting previously unselected package redis-server.
Preparing to unpack .../redis-server_6%3a7.0.8-1rl1~bullseye1_armhf.deb ...
Unpacking redis-server (6:7.0.8-1rl1~bullseye1) ...
Selecting previously unselected package redis.
Preparing to unpack .../redis_6%3a7.0.8-1rl1~bullseye1_all.deb ...
Unpacking redis (6:7.0.8-1rl1~bullseye1) ...
Setting up redis-tools (6:7.0.8-1rl1~bullseye1) ...
Setting up redis-server (6:7.0.8-1rl1~bullseye1) ...
Job for redis-server.service failed because a fatal signal was delivered to the control process.
See "systemctl status redis-server.service" and "journalctl -xe" for details.
invoke-rc.d: initscript redis-server, action "start" 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: signal) since Sat 2023-02-18 13:59:53 CET; 229ms ago
Docs: http://redis.io/documentation,
man:redis-server(1)
Process: 1560 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=killed, signal=SEGV)
Main PID: 1560 (code=killed, signal=SEGV)
CPU: 509ms
Feb 18 13:59:53 raspberrypi systemd[1]: redis-server.service: Scheduled restart job, restart counter is at 1.
Feb 18 13:59:54 raspberrypi systemd[1]: Stopped Advanced key-value store.
Feb 18 13:59:54 raspberrypi systemd[1]: Starting Advanced key-value store...
dpkg: error processing package redis-server (--configure):
installed redis-server package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of redis:
redis depends on redis-server (<< 6:7.0.8-1rl1~bullseye1.1~); however:
Package redis-server is not configured yet.
redis depends on redis-server (>= 6:7.0.8-1rl1~bullseye1); however:
Package redis-server is not configured yet.
dpkg: error processing package redis (--configure):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.9.4-2) ...
Errors were encountered while processing:
redis-server
redis
E: Sub-process /usr/bin/dpkg returned an error code (1)
I searched for this issue and found that editing the bind in /etc/redis/redis.conf might solve it (remove the -::1) but that did not help. Same error output.
Anyone knows a solution?