真心希望deepin能出一个系统修复的功能
Tofloor
poster avatar
十万火急
deepin
2016-12-04 05:35
Author
都已经在用deepin到工作生活的各方面了,这得益于能支持安卓应用和deepin深度定制或选用的工具类软件工具。

差点就把Windows系统抛弃了,今天在安装卸载lanm和lumanager这两PHP开发环境软件时候,发生了一个把系统“净化”的很干净,一个能进系统,但是净化的只有桌面没有其他。无奈只好重新安装deepin,因为没有办法通过什么命令修复系统组件。

这实在太痛苦了,安装选用那么多软件花时间不说,系统中存在的文件也随之覆灭。


希望官方能再人性一些,可以实现livecd或者其他方式进行修复安装系统。

Reply Favorite View the author
All Replies
1 / 2
To page
avatar
kaile
deepin
2016-12-04 05:55
#1
应该在做了,慢慢等
Reply View the author
avatar
jingle
deepin
2016-12-05 17:52
#2
lanmp相关的应用最好不要按章,会导致系统挂掉,live系统已经计划了17年时候
Reply View the author
avatar
勾刃丿伤痕
deepin
2016-12-05 19:24
#3
同意,这功能很实用
Reply View the author
avatar
188******76
deepin
2016-12-05 20:42
#4
https://bbs.deepin.org/post/132698
lanmp相关的应用最好不要按章,会导致系统挂掉,live系统已经计划了17年时候 ...

一个是live和系统修复,一个是系统备份,挂了好还原回去
Reply View the author
avatar
allern
deepin
2017-03-19 09:34
#5
我来挖一下坟,这个功能真心太重要了,我的电脑借同学用了几天不知道怎么搞的就出现各种问题,没办法只能重装了,如果可以系统修复就好了
Reply View the author
avatar
cybo0o
deepin
2017-05-27 17:03
#6
我同楼主一样 挂掉了
Reply View the author
avatar
sxycmqh
deepin
2018-01-15 21:01
#7
楼主太伟大了!我就是用了一下深度显卡驱动管理器,切换了闭源驱动彻底挂了!五体投地给deein团体叩头了!
Reply View the author
avatar
wangyong
deepin
2018-01-15 21:19
#8
https://bbs.deepin.org/post/132698
楼主太伟大了!我就是用了一下深度显卡驱动管理器,切换了闭源驱动彻底挂了!五体投地给deein团体叩头了! ...

显卡驱动管理器检测到系统挂的时候,会自动回滚,请问你的挂是什么状态,能否说明下?
Reply View the author
avatar
135******79
deepin
2018-01-15 21:58
#9
16 年的坟 17 年挖了一把,18 年还在挖,看来确实是刚需
Reply View the author
avatar
int_max
deepin
2018-01-15 23:03
#10
https://bbs.deepin.org/post/132698
显卡驱动管理器检测到系统挂的时候,会自动回滚,请问你的挂是什么状态,能否说明下? ...

话说AMD独显+Intel核显显卡驱动管理器只认核显卡呀
Reply View the author
avatar
int_max
deepin
2018-01-15 23:04
#11
是的,希望能通过外部重新安装一些包,之前升级gcc8把各种lib搞炸了2333,没法进系统重新安装lib
Reply View the author
avatar
duanyao
deepin
2018-01-15 23:48
#12
https://bbs.deepin.org/post/132698
显卡驱动管理器检测到系统挂的时候,会自动回滚,请问你的挂是什么状态,能否说明下? ...

我这里也是自动回滚不成功的:
http://feedback.deepin.org/feedback/detail/10560
不过这应该就是显卡驱动管理器的bug吧。
Reply View the author
avatar
emofode
deepin
2018-01-16 01:31
#13
https://bbs.deepin.org/post/132698
我这里也是自动回滚不成功的:
http://feedback.deepin.org/feedback/detail/10560
不过这应该就是显卡驱 ...

能上传一下日志不
  1. /var/log/dgradvrmgr.log
Copy the Code
  1. sudo journalctl -r -u driver-installer.service
Copy the Code


在壶界面上网络应该已经启动了,是可以 ssh 的
Reply View the author
avatar
duanyao
deepin
2018-01-16 01:39
#14
本帖最后由 duanyao 于 2018-1-15 17:44 编辑
https://bbs.deepin.org/post/132698
能上传一下日志不

dgradvrmgr.log.zip

$ sudo journalctl -r -u driver-installer.service
-- Logs begin at Fri 2017-12-15 13:43:09 CST, end at Mon 2018-01-15 17:42:03 CST. --
1月 06 17:30:20 duanyao-laptop systemd[1]: driver-installer.service: Failed with result 'signal'.
1月 06 17:30:20 duanyao-laptop systemd[1]: driver-installer.service: Unit entered failed state.
1月 06 17:30:20 duanyao-laptop systemd[1]: Stopped Deepin Graphics Driver Manager - Installer.
1月 06 17:30:20 duanyao-laptop systemd[1]: driver-installer.service: Main process exited, code=killed, status=15/TERM
1月 06 17:30:19 duanyao-laptop dgradvrmgr.sh[1398]: /usr/lib/deepin-graphics-driver-manager/dgradvrmgr-post.sh: line 3: /tmp/exe.sh: No such file or dir
1月 06 17:30:18 duanyao-laptop dgradvrmgr.sh[1398]: Xorg: no process found
1月 06 17:30:18 duanyao-laptop dgradvrmgr.sh[1398]: waiting for X server to shut down .(II) Server terminated successfully (0). Closing log file.
1月 06 17:30:16 duanyao-laptop dgradvrmgr.sh[1398]: [1B blob data]
1月 06 17:30:16 duanyao-laptop dgradvrmgr.sh[1398]: /usr/bin/xinit: connection to X server lost
1月 06 17:29:51 duanyao-laptop dgradvrmgr.sh[1398]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
1月 06 17:29:51 duanyao-laptop dgradvrmgr.sh[1398]: (==) Using config directory: "/etc/X11/xorg.conf.d"
1月 06 17:29:51 duanyao-laptop dgradvrmgr.sh[1398]: (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan  6 17:29:51 2018
1月 06 17:29:51 duanyao-laptop dgradvrmgr.sh[1398]:         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
1月 06 17:29:51 duanyao-laptop dgradvrmgr.sh[1398]:         (++) from command line, (!!) notice, (II) informational,
1月 06 17:29:51 duanyao-laptop dgradvrmgr.sh[1398]: Markers: (--) probed, (**) from config file, (==) default setting,
1月 06 17:29:51 duanyao-laptop dgradvrmgr.sh[1398]:         to make sure that you have the latest version.
1月 06 17:29:51 duanyao-laptop dgradvrmgr.sh[1398]:         Before reporting problems, check http://wiki.x.org
1月 06 17:29:51 duanyao-laptop dgradvrmgr.sh[1398]: Current version of pixman: 0.34.0
1月 06 17:29:51 duanyao-laptop dgradvrmgr.sh[1398]: xorg-server 2:1.19.3-2deepin (https://www.debian.org/support)
1月 06 17:29:51 duanyao-laptop dgradvrmgr.sh[1398]: Build Date: 29 September 2017  03:42:47AM
1月 06 17:29:51 duanyao-laptop dgradvrmgr.sh[1398]: Kernel command line: BOOT_IMAGE=/vmlinuz overlayroot=disabled root=LABEL=SYSX modules=sd-mod,usb-sto
1月 06 17:29:51 duanyao-laptop dgradvrmgr.sh[1398]: Current Operating System: Linux duanyao-laptop 4.14.0-deepin1-amd64 #1 SMP PREEMPT Deepin 4.14.2-3 (
1月 06 17:29:51 duanyao-laptop dgradvrmgr.sh[1398]: Build Operating System: Linux 4.11.0-deepin1-amd64 x86_64 Deepin
1月 06 17:29:51 duanyao-laptop dgradvrmgr.sh[1398]: X Protocol Version 11, Revision 0
1月 06 17:29:51 duanyao-laptop dgradvrmgr.sh[1398]: Release Date: 2017-03-15
1月 06 17:29:51 duanyao-laptop dgradvrmgr.sh[1398]: X.Org X Server 1.19.3
1月 06 17:29:43 duanyao-laptop dgradvrmgr.sh[1398]: /usr/lib/deepin-graphics-driver-manager/dgradvrmgr.sh: line 21: /tmp/exe.sh: No such file or directo
1月 06 17:29:43 duanyao-laptop dgradvrmgr.sh[1398]: /usr/lib/deepin-graphics-driver-manager/dgradvrmgr.sh: line 11: /media/root-ro/var/log/dgradvrmgr.lo
1月 06 17:29:43 duanyao-laptop dgradvrmgr.sh[1398]: mount: mount point /media/root-ro does not exist
1月 06 17:29:41 duanyao-laptop xset[1355]: /usr/bin/xset:  unable to open display ""
1月 06 17:29:41 duanyao-laptop xset[1350]: /usr/bin/xset:  unable to open display ""
1月 06 17:29:40 duanyao-laptop overlayroot-chroot[1340]: ERROR: Unable to find an overlayroot filesystem
1月 06 17:29:40 duanyao-laptop overlayroot-disable[1333]: ERROR: overlayroot is disabled already
1月 06 17:29:39 duanyao-laptop systemd[1]: Starting Deepin Graphics Driver Manager - Installer...
Reply View the author
avatar
emofode
deepin
2018-01-16 03:13
#15
https://bbs.deepin.org/post/132698
$ sudo journalctl -r -u driver-installer.service
-- Logs begin at Fri 2017-12-15 13:43:09 CST, en ...

现在还是一开机就到了壶那里了吗?
请执行一下
  1. sudo systemctl status driver-installer.service
Copy the Code

然后上传一下输出。

顺便请上传一下这个文件
  1. /usr/bin/deepin-graphics-driver-installer.sh
Copy the Code


解决一直到壶的正确方法是执行
  1. sudo overlayroot-disable
  2. sudo rm -f /usr/bin/deepin-graphics-driver-installer.sh
Copy the Code
Reply View the author
avatar
六七八九十
deepin
2018-01-16 03:31
#16
应该出个删除文件警告
Reply View the author
avatar
iminto
deepin
2018-01-16 05:18
#17
我很怀疑那个驱动切换,开发人员测试过吗..我的也是开源切换到闭源,闭源效果不好,切换回去不成功,差点搞坏软件系统.

后来照着wiki一步一步敲命令和百度解决的.
Reply View the author
avatar
tmacy
deepin
2018-01-16 06:46
#18
这种情况下,最好还是找个志愿者帮忙,不是有个志愿者地图么?
Reply View the author
avatar
duanyao
deepin
2018-01-16 06:53
#19
本帖最后由 duanyao 于 2018-1-15 22:54 编辑
https://bbs.deepin.org/post/132698
现在还是一开机就到了壶那里了吗?
请执行一下

出问题以后我已经通过在单用户模式删除 /etc/systemd/system/getty.target.wants/driver-installer.service  并修改 /etc/overlayroot.conf 修复了开机死循环。后来卸载了驱动管理器。

$ sudo systemctl status driver-installer.service
● driver-installer.service
   Loaded: masked (/dev/null; bad)
   Active: inactive (dead)

deepin-graphics-driver-installer.sh.zip

overlayroot-disable 我之前也试过,但因为根文件系统是 overlay 的,任何修改都不能持久到下次重启,所以没什么用。只能在grub kernel 参数里加入 overlayroot=disabled single init=/bin/bash 来取消 overlay 状态。

Reply View the author
avatar
sxycmqh
deepin
2018-01-16 07:56
#20
wangyong 发表于 2018-1-15 13:19
显卡驱动管理器检测到系统挂的时候,会自动回滚,请问你的挂是什么状态,能否说明下? ...

用手机拍了一张图,不知能看清楚
Reply View the author
1 / 2
To page