软件中心无响应,两天了
Tofloor
poster avatar
刀锋
deepin
2013-05-20 06:50
Author
软件中心自前天晚上更新之后,就一直无响应,打开软件中心,3到5秒左右就暗了下去,一直处于无响应状态!想用Kill 杀,又在PS 内看不出进程是哪个?谁能告诉我一下,怎么解决应问题和进程名?
深度截图20130519225314.png
Reply Favorite View the author
All Replies
cxbii
deepin
2013-05-20 07:20
#1
  1. sudo killall deepin-software-center
Copy the Code

这样应该可以.
或者 xkill
然后鼠标变成一个X,然后去点击软件中心的窗口
Reply View the author
刀锋
deepin
2013-05-20 07:27
#2
好的,谢谢,我发现更新的时候未正常更新,用更新管理器重新更新软件中心了
Reply View the author
cxbii
deepin
2013-05-20 07:30
#3
好的,谢谢,我发现更新的时候未正常更新,用更新管理器重新更新软件中心了
最近这两天,软件中心应该是有问题...

这个帖子明天移动到深度软件
Reply View the author
刀锋
deepin
2013-05-20 07:48
#4
[quote]好的,谢谢,我发现更新的时候未正常更新,用更新管理器重新更新软件中心了
最近这两天,软件中心应该是有问题...

这个帖子明天移动到深度软件[/quote]
更新到最新版后,重启机器还是一个样子,软件中心错误,重启程序,报告错误!应该程序有问题!
Reply View the author
electricface
deepin
2013-05-20 17:44
#5
你换到最新的官方测试源,还是会有问题,只不过出错信息不一样,目前的错误有解决方法.
在终端用命令行先卸载软件中心,然后从测试源安装最新的软件中心   (如果你刚刚卸载再安装过就不用进行了)
  1. sudo apt-get remove deepin-software-center
  2. sudo apt-get update
  3. sudo apt-get install deepin-software-center
Copy the Code
之后再在终端输入命令 (如果没有按着 gvim编辑器 ,用命令行安装 sudo apt-get install gvim)
  1. sudo mkdir /usr/share/deepin-software-center/mirrors
  2. gksu gvim mirror-test.ini
Copy the Code
在mirror-test.ini文件中写入:
  1. [mirror]
  2. name = 官方测试
  3. url = http://test.packages.linuxdeepin.com/deepin
Copy the Code
[color=#FF0000:3exxfgol]注意root下不能使用输入法,只能复制粘贴了[/color:3exxfgol]
保存之后就可以单击软件中心的图标启动了

如果你不懂什么命令行,也不想去理会它,可以暂时不使用软件中心,做些其他事情,等待官方的更新,也许今天下午就会修复这个问题.不好意思前两天是周末.
之后再终端敲上这一小段命令就够重启软件中心的了.
  1. sudo apt-get update
  2. sudo apt-get upgrade
Copy the Code

我建议官方在系统中加入远程修复的功能.这样就不怕吓跑小白了.
Reply View the author
electricface
deepin
2013-05-20 21:12
#6
果然是修好了深度截图20130520131330.png
Reply View the author
刀锋
deepin
2013-05-21 00:52
#7
你换到最新的官方测试源,还是会有问题,只不过出错信息不一样,目前的错误有解决方法.
在终端用命令行先卸载软件中心,然后从测试源安装最新的软件中心   (如果你刚刚卸载再安装过就不用进行了)
  1. sudo apt-get remove deepin-software-center
  2. sudo apt-get update
  3. sudo apt-get install deepin-software-center
Copy the Code
之后再在终端输入命令 (如果没有按着 gvim编辑器 ,用命令行安装 sudo apt-get install gvim)
  1. sudo mkdir /usr/share/deepin-software-center/mirrors
  2. gksu gvim mirror-test.ini
Copy the Code
在mirror-test.ini文件中写入:
  1. [mirror]
  2. name = 官方测试
  3. url = http://test.packages.linuxdeepin.com/deepin
Copy the Code
[color=#FF0000:yg5i62mp]注意root下不能使用输入法,只能复制粘贴了[/color:yg5i62mp]
保存之后就可以单击软件中心的图标启动了

如果你不懂什么命令行,也不想去理会它,可以暂时不使用软件中心,做些其他事情,等待官方的更新,也许今天下午就会修复这个问题.不好意思前两天是周末.
之后再终端敲上这一小段命令就够重启软件中心的了.
  1. sudo apt-get update
  2. sudo apt-get upgrade
Copy the Code

我建议官方在系统中加入远程修复的功能.这样就不怕吓跑小白了.

可能会吓跑小白,但吓不跑我,虽然我也是小白,我是决了心用Linux的了,笔记本都装成LD了,当然单位的不能装LD,有很多不便,自己的电脑就以Linux到底!看我能走到什么时候!
找了N多的书看,正在学习命令行!
Reply View the author
4***8@qq.com
deepin
2013-05-21 04:14
#8
我的仍然无法启动啊,终端输出信息为:
zhao@zhao-J50:~$ deepin-software-center
data init
function get got error: No section: 'newest'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deepin_utils/config.py", line 96, in get
    return self.config_parser.get(section, option)
  File "/usr/lib/python2.7/ConfigParser.py", line 330, in get
    raise NoSectionError(section)
NoSectionError: No section: 'newest'
Traceback (most recent call last):
  File "/usr/bin/deepin-software-center", line 23, in
    from software_center import DeepinSoftwareCenter
  File "/usr/share/deepin-software-center/ui/software_center.py", line 28, in
    from icon_window import IconWindow
  File "/usr/share/deepin-software-center/ui/icon_window.py", line 27, in
    from item_render import get_icon_pixbuf_path
  File "/usr/share/deepin-software-center/ui/item_render.py", line 27, in
    from constant import ICON_DIR
  File "/usr/share/deepin-software-center/ui/constant.py", line 35, in
    ICON_DIR = os.path.join(get_parent_dir(__file__, 2), "data", "update", DATA_ID, "app_icon")
  File "/usr/lib/python2.7/posixpath.py", line 66, in join
    if b.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'
zhao@zhao-J50:~$
不知道为什么啊!
Reply View the author
electricface
deepin
2013-05-21 05:24
#9
要不你重装一下软件中心

我猜你的这个文件有问题
/usr/share/deepin-software-center/data/data_newest_id.ini

你看看这个文件的内容,把它贴出来看看.
我的是这样的
  1. [newest]
  2. data_id = 93389002-a947-4b2f-9a73-e12f67f16b04
  3. update_date = 2013-04-25
Copy the Code
Reply View the author
cxbii
deepin
2013-05-21 06:37
#10
我的仍然无法启动啊,终端输出信息为:
zhao@zhao-J50:~$ deepin-software-center
data init
function get got error: No section: 'newest'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deepin_utils/config.py", line 96, in get
    return self.config_parser.get(section, option)
  File "/usr/lib/python2.7/ConfigParser.py", line 330, in get
    raise NoSectionError(section)
NoSectionError: No section: 'newest'
Traceback (most recent call last):
  File "/usr/bin/deepin-software-center", line 23, in
    from software_center import DeepinSoftwareCenter
  File "/usr/share/deepin-software-center/ui/software_center.py", line 28, in
    from icon_window import IconWindow
  File "/usr/share/deepin-software-center/ui/icon_window.py", line 27, in
    from item_render import get_icon_pixbuf_path
  File "/usr/share/deepin-software-center/ui/item_render.py", line 27, in
    from constant import ICON_DIR
  File "/usr/share/deepin-software-center/ui/constant.py", line 35, in
    ICON_DIR = os.path.join(get_parent_dir(__file__, 2), "data", "update", DATA_ID, "app_icon")
  File "/usr/lib/python2.7/posixpath.py", line 66, in join
    if b.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'
zhao@zhao-J50:~$
不知道为什么啊!
http://www.linuxdeepin.com/forum/23/13639 看五楼的可以解决
Reply View the author