家里有一条电脑作为存储,安装了redis 服务,但是后面发现redis服务经常有问题,想卸载无法卸载
sudo apt remove redis-server
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
redis-server
0 upgraded, 0 newly installed, 1 to remove and 202 not upgraded.
After this operation, 919 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 300372 files and directories currently installed.)
Removing redis-server (2:3.0.6-1ubuntu0.3) ...
一直这样卡着,后面就想到强制删除的命令 试了下真可以
sudo dpkg --purge --force-all {package name}
不错
回复 @ apanly: 非常不错