Whenever I update my Ubuntu software or run the command sudo dpkg --configure -a, it gets stuck at the line Setting up redis-server (5:4.0.9-1ubuntu0.1) .... I don't know why this is happening.

Update Manager screenshot

  • I'm using 18.04 – Ham Ar Jan 22 at 19:52

I faced the same problem so I remove

rm -rf /run/systemd/generator.late/redis-server.service

Now it's working fine. Maybe this will help you

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.