点击安装更新没用怎么办啊!!!
Tofloor
poster avatar
a59742
deepin
2018-06-15 23:13
Author
我用apt-get upgrade更新后,重启提示更新到15.6了,但是设置里面还有些没更新的,点击安装更新又没用,怎么办啊!!!这里点击了没用
而且我的设置里面换源的换不了,深度商店下不了东西,有人知道为什么吗?
说一下之前一个问题,可能跟这有关:之前我的电脑只有一个叫deepin的用户(root用户之前忘记设置密码),然后我不小心把deepin这个用户换成了别的组了(现在的组是deepin组),导致deepin这个用户连sudo都用不了,然后我在恢复模式下在/etc/sudoers文件中加了deepin  ALL=(ALL:ALL) ALL才把sudo的权限拿到,然后好像自那之后就出了这个问题了。
不然有人能把/etc/sudoers文件的内容发出来看看吗?

Reply Favorite View the author
All Replies
avatar
Dracarys
deepin
2018-06-15 23:19
#1
#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults        env_reset
Defaults        mail_badpass
Defaults        secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root        ALL=(ALL:ALL) ALL

# Allow members of group sudo to execute any command
%sudo        ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d
Reply View the author
avatar
arlly
deepin
2018-06-15 23:21
#2
顶!  我全新安装完毕 。省得出花园里最美丽的幺蛾子。
Reply View the author
avatar
Dracarys
deepin
2018-06-15 23:21
#3
sudo apt-get update && sudo apt-get dist-upgrade   
用命令再升级一下呢?
界面上改不了源,直接去改配置文件吧
Reply View the author
avatar
a59742
deepin
2018-06-15 23:22
#4
https://bbs.deepin.org/post/158185
#
# This file MUST be edited with the 'visudo' command as root.
#

咦,你平时就是用root用户的吗?
Reply View the author
avatar
21wmd
deepin
2018-06-15 23:35
#5
本帖最后由 21wmd 于 2018-6-15 15:37 编辑

1.请从控制中心升级,确保升级过程无断网断电情况发升
2.如果出现升级失败,可以尝试从终端执行:
sudo apt-get update && sudo apt-get -f install && sudo  dpkg --configure -a && sudo apt-get install dde
3.如果1,2,都无法正常完成版本升级,请终端执行: sudo deepin-feedback-cli 生成日志文件反馈给官方。(support@deepin.org ? 或者其他方式) 这个你们自己引导用户
4.如果升级失败,重启系统后无法进入桌面,可以通过ctrl + alt + f2 进如tty2 输入用户名密码后,登录tty执行2, 3步骤。
Reply View the author
avatar
Dracarys
deepin
2018-06-15 23:36
#6
不是,也是sudo,只是贴了一下我的sudoers文件的内容
Reply View the author
avatar
a59742
deepin
2018-06-16 00:06
#7
https://bbs.deepin.org/post/158185
顶!  我全新安装完毕 。省得出花园里最美丽的幺蛾子。

我也更新完了哈哈
Reply View the author
avatar
a59742
deepin
2018-06-16 00:06
#8
https://bbs.deepin.org/post/158185
sudo apt-get update && sudo apt-get dist-upgrade   
用命令再升级一下呢?
界面上改不了源,直接去改配 ...

谢谢,用你的命令更新完了,而且源也可以换了,是我没把当前用户加在sudo组里导致的
Reply View the author
avatar
a59742
deepin
2018-06-16 00:07
#9
https://bbs.deepin.org/post/158185
不是,也是sudo,只是贴了一下我的sudoers文件的内容

可以了,谢谢,我把我文件改成跟你一样,然后把当前的用户加到sudo组里就全部正常了
Reply View the author
avatar
a59742
deepin
2018-06-16 00:08
#10
https://bbs.deepin.org/post/158185
1.请从控制中心升级,确保升级过程无断网断电情况发升2.如果出现升级失败,可以尝试从终端执行:sudo apt-g ...

谢谢更完了!
Reply View the author