运行“unity --replace”后 Unity 无法运行

运行“unity --replace”后 Unity 无法运行

unity --replace我该如何解决这个问题?有人告诉我在这个问题上这样做( )为什么升级到 13.04 后我的桌面背景是黑色的?现在它已经塞满了。

当我运行时unity出现以下错误:

compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
unity-panel-service: no process found
Killed

我运行的输出sudo apt-get install --reinstall unity-servicessudo apt-get install ubuntu-desktop

[sudo] password for brentonhorne: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 29.5 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ raring/main unity-services i386 7.0.0daily13.04.18~13.04-0ubuntu1 [29.5 kB]
Fetched 29.5 kB in 1s (20.1 kB/s)       
(Reading database ... 517097 files and directories currently installed.)
Preparing to replace unity-services 7.0.0daily13.04.18~13.04-0ubuntu1 (using .../unity-services_7.0.0daily13.04.18~13.04-0ubuntu1_i386.deb) ...
Unpacking replacement unity-services ...
Processing triggers for man-db ...
Setting up unity-services (7.0.0daily13.04.18~13.04-0ubuntu1) ...

Reading package lists... Done
Building dependency tree       
Reading state information... Done
ubuntu-desktop is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

分别。

跑步sudo apt-get install dconf-editor可得:

[sudo] password for brentonhorne: 
Sorry, try again.
[sudo] password for brentonhorne: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package dconf-editor

编辑:

unity-panel-service: no process found
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
Killed

答案1

缺少 unity-services 包?

似乎你缺少该unity-services软件包或未正确安装。只需在终端上执行以下操作:

sudo apt-get install --reinstall unity-services

为了确保没有丢失更多包,请尝试以下操作:

sudo apt-get install ubuntu-desktop

用户配置文件配置不正确?

创建新用户并测试其会话。如果该用户一切正常,则问题出在您的用户配置文件上。要正确重置所有与 Unity 相关的设置,请执行以下操作:

sudo apt-get install dconf-tools
dconf reset -f /org/compiz/
unity --reset-icons

相关内容