Ubuntu系统 无法删除 redis-server
家里有一条电脑作为存储,安装了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}
原文地址:Ubuntu系统 无法删除 redis-server
标签:redis ubuntu
智能推荐
即学即码 分享 PHP、Linux、Python、Go,大数据,机器学习,人工智能等技术。马上学习码上学会。www.jixuejima.cn 公众号:learn_master