软件中心重新安装后打不开了。
Tofloor
poster avatar
lanhaihe
deepin
2013-11-04 17:52
Author
终端提示如下:
lhh@lhh:~/桌面$ sudo deepin-software-center
[sudo] password for lhh:
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 49, 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 73, 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 75, in join
    if b.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'
lhh@lhh:~/桌面$
因为之前卸载过一次软件中心,重新安装后就变成这样了。请问下这是什么情况。
Reply Favorite View the author
All Replies
cxbii
deepin
2013-11-04 17:58
#1
  1. sudo apt-get update
  2. sudo apt-get --reinstall install deepin-software-center deepin-software-center-data
Copy the Code

先试试重装大法。然后什么软件有问题,先去百科找这个软件页面看看,只要有这个软件,那么常见的问题都收集有。
Reply View the author
lanhaihe
deepin
2013-11-04 18:05
#2
已经好了,我没有执行过安装data这个命令,执行之后就打开页面了。谢谢。
Reply View the author