我使用本手册安装了MATE桌面,但是现在我无法打开Ubuntu软件中心,也无法通过更新管理器打开设置。
我删除了mate桌面,但不能解决问题,我还使用以下命令重新安装了软件中心,software-properties-gtk和software-properties-common
sudo apt-get update; sudo apt-get --purge --reinstall install software-center software-properties-common software-properties-gtk
。
但是当使用此行时,出现以下错误:
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/735 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 304824 files and directories currently installed.)
Preparing to replace software-center 5.0.2 (using .../software-center_5.0.2_all.deb) ...
Unpacking replacement software-center ...
Preparing to replace software-properties-common 0.81.13.1 (using .../software-properties-common_0.81.13.1_all.deb) ...
Unpacking replacement software-properties-common ...
Preparing to replace software-properties-gtk 0.81.13.1 (using .../software-properties-gtk_0.81.13.1_all.deb) ...
Unpacking replacement software-properties-gtk ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
Processing triggers for shared-mime-info ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'interface/x-winamp-skin'
Setting up software-center (5.0.2) ...
Traceback (most recent call last):
File "/usr/sbin/update-software-center", line 38, in <module>
from softwarecenter.db.update import rebuild_database
File "/usr/share/software-center/softwarecenter/db/update.py", line 59, in <module>
from softwarecenter.db.database import parse_axi_values_file
File "/usr/share/software-center/softwarecenter/db/database.py", line 26, 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 LinuxMint
Setting up software-properties-common (0.81.13.1) ...
Setting up software-properties-gtk (0.81.13.1) ...
$
有没有一种方法可以解决此问题而不必重新安装Ubuntu 11.10?
在此先感谢tinuz