有没有办法卸载掉360安全卫士?
Tofloor
poster avatar
星罗秋旻
deepin
2020-05-26 00:37
Author
今天安装了个360安全卫士,但是只有图标,点不出来程序 ,就想卸载了,但是卸载提示完成,但是始终在系统里面。
如下:


Reply Favorite View the author
All Replies
1 / 2
To page
avatar
星罗秋旻
deepin
2020-05-26 00:45
#1
还有取消开机自启动也取消不了


Reply View the author
avatar
msan
deepin
2020-05-26 00:52
#2
你可以百度安装360的命令行把install改成remove就好了,然后应用后边加-*
Reply View the author
avatar
残念
deepin
2020-05-26 00:55
#3
卸载命令
  1. sudo apt purge 360safe
Copy the Code
Reply View the author
avatar
星罗秋旻
deepin
2020-05-26 01:34
#4
hm@hm-PC:~$ sudo apt purge 360safe
[sudo] hm 的密码:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
下列软件包将被【卸载】:
  360safe*
升级了 0 个软件包,新安装了 0 个软件包,要卸载 1 个软件包,有 0 个软件包未被升级。
解压缩后将会空出 24.2 MB 的空间。
您希望继续执行吗? [Y/n] y
(正在读取数据库 ... 系统当前共安装有 277304 个文件和目录。)
正在卸载 360safe (1.0.0.1013) ...
/var/lib/dpkg/info/360safe.prerm: 行 55:  3408 段错误               $InstallPath/360safed uninstall
dpkg: 处理软件包 360safe (--remove)时出错:
installed 360safe package pre-removal script subprocess returned error exit status 139
在处理时有错误发生:
360safe
E: Sub-process /usr/bin/dpkg returned an error code (1)
hm@hm-PC:~$

-------------------

中间出错,还是没有成功。

Reply View the author
avatar
星罗秋旻
deepin
2020-05-26 01:43
#5
深度应用也卸载不了
Reply View the author
avatar
kirin2018
deepin
2020-05-26 01:46
#6
霸道软件???
Reply View the author
avatar
SamLukeYes
deepin
2020-05-26 02:29
#7

老流氓了
Reply View the author
avatar
神末shenmo
deepin
Spark-App
Q&A Team
2020-05-26 02:46
#8
看起来是prerm脚本有问题
请把/var/lib/dpkg/info/360safe.prerm发上来
360祖传垃圾打包
Reply View the author
Comments
nowave
2020-05-26 19:07
兄弟你这么实诚,不怕隔壁老周不高兴么?
zrz444
2020-05-26 17:39
祖传垃圾打包-----经典语录
avatar
luzhishen
deepin
2020-05-26 16:45
#9
https://bbs.deepin.org/post/195053
hm@hm-PC:~$ sudo apt purge 360safe
[sudo] hm 的密码:
正在读取软件包列表... 完成

再安装一次,再用这个命令拆卸一次试试
Reply View the author
avatar
星罗秋旻
deepin
2020-05-26 22:19
#10
https://bbs.deepin.org/post/195053
看起来是prerm脚本有问题
请把/var/lib/dpkg/info/360safe.prerm发上来
360祖传垃圾打包 ...
是不是这个?



#! /bin/bash

#set -e

InstallPath="/opt/360safeforcnos"
m360safe_files="/360safeforcnos
                /360safed"

stop360safe()
{
    pid=`pgrep -f "start360safe"`
    if [ ! -z "$pid" ]; then
        kill -9 $pid
    fi

    for item in $m360safe_files; do
        pid=`pgrep -f "$InstallPath$item"`
        if [ ! -z "$pid" ]; then
            kill -9 $pid
        fi
    done
}

remove_file_not_in_package()
{
        if [ -e "/etc/360safe/360safeforcnos.pid" ];then
            kill -9 `cat /etc/360safe/360safeforcnos.pid` 2>/dev/null
            echo $? >/dev/null
        fi
        rc=`lsmod | grep "rk360" | xargs echo`
        if [ -n "$rc" ];then
            rmmod rk360 2>/dev/null 1>&2
            rm -rf /etc/360safe/360safe.ko 2>/dev/null 1>&2
        fi

        rc=`lsmod | grep "immu" | xargs echo`
        if [ -n "$rc" ];then
            rmmod immu 2>/dev/null 1>&2
            rm -rf /etc/360safe/immu.ko 2>/dev/null 1>&2
        fi

    if [ -e "/etc/360safe" ]
    then
        chattr -R -i /etc/360safe 2>/dev/null 1>&2
    fi


    if [ -e "/opt/360safeforcnos" ]
    then
        chattr -R -i /opt/360safeforcnos 2>/dev/null 1>&2
    fi
}

uninstall_report()
{
    if [ -x "$InstallPath/360safed" ]
    then
                export LD_LIBRARY_PATH=/opt/360safeforcnos/lib/depends/LD_LIBRARY_PATH
                $InstallPath/360safed uninstall
    fi
}

case "$1" in
    remove)
                stop360safe
        remove_file_not_in_package
        uninstall_report
    ;;

    upgrade)
        echo "not support upgrade" >&2
        exit -1
        #remove_file_not_in_package
    ;;

    deconfigure)
        remove_file_not_in_package
    ;;

    failed-upgrade)
        echo "upgrade failed ,please start 360safe manually" >&2
        exit -1
    ;;

    *)
        echo "prerm called with unknown argument \`$1'" >&2
        exit -1
    ;;
esac

Reply View the author
avatar
星罗秋旻
deepin
2020-05-26 22:25
#11
https://bbs.deepin.org/post/195053
再安装一次,再用这个命令拆卸一次试试

重新安装提示失败



Reply View the author
avatar
走钢丝
deepin
2020-05-26 22:40
#12
https://bbs.deepin.org/post/195053
重新安装提示失败

通过 deb 安装的?

重新安装
sudo apt install ./xxx.deb --reinstall
Reply View the author
avatar
星罗秋旻
deepin
2020-05-26 23:00
#13
https://bbs.deepin.org/post/195053
通过 deb 安装的?

重新安装

hm@hm-PC:/media/hm/本地磁盘/应用软件linux/360 for linux/360安全卫士$ sudo apt install ./360safe_1.0.0.1013_amd64.deb --reinstall
[sudo] hm 的密码:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
注意,选中 '360safe' 而非 './360safe_1.0.0.1013_amd64.deb'
升级了 0 个软件包,新安装了 0 个软件包,重新安装了 1 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
解压缩后会消耗 0 B 的额外空间。
获取:1 /media/hm/本地磁盘/应用软件linux/360 for linux/360安全卫士/360safe_1.0.0.1013_amd64.deb 360safe amd64 1.0.0.1013 [45.9 MB]
(正在读取数据库 ... 系统当前共安装有 277293 个文件和目录。)
正准备解包 .../360safe_1.0.0.1013_amd64.deb  ...
not support upgrade
dpkg: 警告: old 360safe package pre-removal script subprocess returned error exit status 255
dpkg: 现在尝试使用新软件包所带的脚本...
upgrade failed ,please start 360safe manually
dpkg: 处理归档 /media/hm/本地磁盘/应用软件linux/360 for linux/360安全卫士/360safe_1.0.0.1013_amd64.deb (--unpack)时出错:
new 360safe package pre-removal script subprocess returned error exit status 255
在处理时有错误发生:
/media/hm/本地磁盘/应用软件linux/360 for linux/360安全卫士/360safe_1.0.0.1013_amd64.deb
N: 由于文件'/media/hm/本地磁盘/应用软件linux/360 for linux/360安全卫士/360safe_1.0.0.1013_amd64.deb'无法被用户'_apt'访问,已脱离沙盒并提权为根用户来进行下载。 - pkgAcquire::Run (13: 权限不够)
E: Sub-process /usr/bin/dpkg returned an error code (1)
hm@hm-PC:/media/hm/本地磁盘/应用软件linux/360 for linux/360安全卫士$
Reply View the author
avatar
走钢丝
deepin
2020-05-27 00:08
#14
本帖最后由 lidanger 于 2020-5-26 17:17 编辑
https://bbs.deepin.org/post/195053
hm@hm-PC:/media/hm/本地磁盘/应用软件linux/360 for linux/360安全卫士$ sudo apt install ./360safe_1. ...

看起来还挺麻烦,似乎没有简单的办法。楼主可以先去 360 的论坛上问问看看再说。
实在不行就修改 /var/lib/dpkg/info/360safe.prerm 55 行
或者自己复制一个 360safed 文件到 /opt/360safeforcnos 中。。这个文件应该可以在你的 deb 包找到,对 deb 执行
dpkg -x xxx.deb output 即可解压

Reply View the author
avatar
神末shenmo
deepin
Spark-App
Q&A Team
2020-05-27 01:06
#15
本帖最后由 shenmo 于 2020-5-26 17:07 编辑

你这是自己找到包的吧?
这应该是是远古360了,这还真就不是360的锅了
你把/opt/360safeforcnos删掉应该就可以了
用商店不好么?
Reply View the author
avatar
153******31
deepin
2020-05-27 02:09
#16
Linux系统又没有病毒,装什么安全卫士啊。
Reply View the author
Comments
mycctv
2020-05-28 23:45
我只是好奇,看到软件就想去试一下而已哈!
avatar
jfshen
deepin
2020-05-27 17:45
#17
勇士啊! 360都敢装。
Reply View the author
avatar
angelfind
deepin
2020-05-27 18:39
#18
楼主典型的 no zuo no dai, why still try? 送你两字4个字,重装系统。如果可以的话。
Reply View the author
avatar
iceyer
deepin
2020-05-27 18:45
#19
请从商店安装360软件,有做过兼容适配,不要自己随便下载。
Reply View the author
avatar
iceyer
deepin
2020-05-27 19:05
#20
另外可以考虑把/var/lib/dpkg/info/360safe.prerm内容改成exit 0,不保证系统不会出问题 :<
Reply View the author
1 / 2
To page