Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./hack/redis_install.sh failed to install Redis on ubuntu 20.04 #59

Closed
sonyafenge opened this issue Jun 29, 2022 · 1 comment
Closed
Assignees

Comments

@sonyafenge
Copy link
Collaborator

run ./hack/redis_install.sh on ubuntu20.04, got error as below:

The following packages have unmet dependencies:
 redis : Depends: redis-server (< 6:7.0.0-1rl1~focal1.1~) but 6:7.0.2-1rl1~focal1 is to be installed
E: Unable to correct problems, you have held broken packages.
End to install on Ubuntu ......

2. Enable and Run Redis ......
===============================
ls: cannot access '/etc/redis/redis.conf': No such file or directory
sed: can't read /etc/redis/redis.conf: No such file or directory
grep: /etc/redis/redis.conf: No such file or directory
sed: can't read /etc/redis/redis.conf: No such file or directory
grep: /etc/redis/redis.conf: No such file or directory
Failed to restart redis-server.service: Unit redis-server.service not found.
Unit redis-server.service could not be found.

Sleeping for 5 seconds after Redis installation ......

3. Simply Test Redis ......
===============================
3.1) Test ping ......
./hack/redis_install.sh: line 120: redis-cli: command not found

3.2) Test write key and value ......
./hack/redis_install.sh: line 124: redis-cli: command not found

3.3) Test write queue ......
./hack/redis_install.sh: line 131: redis-cli: command not found

Sleep 5 seconds after Redis tests ...

************************************************************
*                                                          *
* You are successful to install and configure Redis Server *
*                                                          *
************************************************************
@q131172019
Copy link
Collaborator

The PR#61 fixes this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants