1)先查看firefox的安装内容
输入
dpkg - - get - selections |grep firefox
dpkg - - get - selections |grep 为查找安装包内容的指令,后面是安装包的名称。
共有4个安装小包:firefox,firefox-locale-en ,firefox-locale-zh-hans
2)卸载安装小包
sudo apt-get purge firefox firefox-locale-en firefox-locale-zh-hans
没出意外,卸载不成功
当然,如果您看到的结果是,说明你很幸运。
3)分析为什么没成功
从报错那里能看到,是因为aliyun的源的问题,于是把aliyun替换为了默认的源
神奇的事情发生了,再次输入卸载命令:
sudo apt-get purge firefox firefox-locale-en firefox-locale-zh-hans
世界清静了,哈哈,虽然很小的事情,但是记录下来吧