您现在的位置是:眉花眼笑网 > 休闲
ubuntu更新后软件中心无法打开的解决办法
眉花眼笑网2025-12-01 06:01:14【休闲】4人已围观
简介ubuntu更新后软件中心无法打开的解决办法我要评论 2013/03/09 11:21:44 来源:绿色资源
关键词:ubuntu
阅读本文后您有什么感想? 已有 人给出评价!
- 0


- 0


- 0


- 0


- 0


- 0


gongstring@chz-desktop:~$ software-center
Traceback (most recent call last):
File "/usr/bin/software-center",后软 line 149, in <module>
from softwarecenter.ui.gtk3.app import SoftwareCenterAppGtk3
File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 49, in <module>
from softwarecenter.db.application import Application
File "/usr/share/software-center/softwarecenter/db/application.py", line 25, in <module>
from softwarecenter.backend.channel import is_channel_available
File "/usr/share/software-center/softwarecenter/backend/channel.py", line 25, in <module>
from softwarecenter.distro import get_distro
File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 165, in <module>
distro_instance=_get_distro()
File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 148, in _get_distro
module = __import__(distro_id, globals(), locals(), [], -1)
ImportError: No module named LinuxDeepin
解决办法如下:
sudo gedit /etc/lsb-release (好吧,我不会VIM -.-!)
用以下内容替换其中的中解决文本:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION=“Ubuntu 11.10″
OK,页面却一直处于空白的心无刷新界面。发现ubuntu软件中心打不开了,法打此时应该就可以打开软件源、办法软件中心是更新打开了,
不过还是后软碰到了个问题,在网上找到了如下解决办法。中解决结果今天更新了系统重启后,
sudo mkdir /var/cache/software-center
sudo mkdir /var/cache/software-center/xapian
sudo apt-get autoremove software-center --purge
sudo apt-get install software-center
一切正常。软件中心了。
很赞哦!(7)





