配置文件残留怎么办
Tofloor
poster avatar
^9星守辰^
Moderator
2017-06-07 23:14
Author
如题,卸载软件配置文件残留怎么办啊
Reply Favorite View the author
All Replies
avatar
jingle
deepin
2017-06-07 23:40
#1
咋出来的?
Reply View the author
avatar
^9星守辰^
Moderator
2017-06-07 23:42
#2

这个就是安装deepin.com.wechat后又用apt remove --purge 卸载然后用sudo apt search wechat 就看见这个了
Reply View the author
avatar
jingle
deepin
2017-06-07 23:47
#3
https://bbs.deepin.org/post/140681
这个就是安装deepin.com.wechat后又用apt remove --purge 卸载然后用sudo apt search wechat 就看见这个了 ...

jingle@jingle:~$ sudo apt-get purge deepin.com.wechat
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
下列软件包将被【卸载】:
  deepin.com.wechat:i386*
升级了 0 个软件包,新安装了 0 个软件包,要卸载 1 个软件包,有 1 个软件包未被升级。
解压缩后将会空出 53.0 MB 的空间。
您希望继续执行吗? [Y/n] y
(正在读取数据库 ... 系统当前共安装有 193605 个文件和目录。)
正在卸载 deepin.com.wechat:i386 (2.4.1.79deepin2) ...
(正在读取数据库 ... 系统当前共安装有 193596 个文件和目录。)
正在清除 deepin.com.wechat:i386 (2.4.1.79deepin2) 的配置文件 ...
jingle@jingle:~$ apt-cache search deepin.com.wechat
deepin.com.wechat - Tencent WeChat Client on Deepin Wine
deepin.com.wechat.devtools - WeChat web development tools  client on Deepin Wine
jingle@jingle:~$
Reply View the author
avatar
^9星守辰^
Moderator
2017-06-07 23:51
#4
https://bbs.deepin.org/post/140681
jingle@jingle:~$ sudo apt-get purge deepin.com.wechat
正在读取软件包列表... 完成
正在分析软件包的 ...

好吧,我这一安装卸载软件就会报samba的错
正在设置 samba (2:4.5.8+dfsg-2) ...
Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
Job for smbd.service failed because the control process exited with error code.
See "systemctl status smbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript smbd, action "start" failed.
● smbd.service - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since 三 2017-06-07 15:50:13 CST; 9ms ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 4075 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=1/FAILURE)
Main PID: 4075 (code=exited, status=1/FAILURE)

6月 07 15:50:13 DONG systemd[1]: Starting Samba SMB Daemon...
6月 07 15:50:13 DONG systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
6月 07 15:50:13 DONG systemd[1]: Failed to start Samba SMB Daemon.
6月 07 15:50:13 DONG systemd[1]: smbd.service: Unit entered failed state.
6月 07 15:50:13 DONG systemd[1]: smbd.service: Failed with result 'exit-code'.
dpkg: 处理软件包 samba (--configure)时出错:
子进程 已安装 post-installation 脚本 返回错误状态 1
在处理时有错误发生:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reply View the author
avatar
jingle
deepin
2017-06-07 23:55
#5
https://bbs.deepin.org/post/140681
好吧,我这一安装卸载软件就会报samba的错
正在设置 samba (2:4.5.8+dfsg-2) ...
Failed to preset  ...

sudo dpkg --configure -a 试试
Reply View the author
avatar
Lyvnee
deepin
2017-06-08 00:20
#6
dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P
Reply View the author
avatar
^9星守辰^
Moderator
2017-06-08 00:25
#7
https://bbs.deepin.org/post/140681
sudo dpkg --configure -a 试试

不行,还是这样,是因为我的系统是32位的么
Reply View the author
avatar
^9星守辰^
Moderator
2017-06-08 00:26
#8
https://bbs.deepin.org/post/140681
dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P

这个用了,还是有
Reply View the author