Gnome软件中心无法打开-16.04


5

16.04 Gnome软件中心将无法打开。当我单击启动器上的图标时,它所做的就是显示加载图标,然后就是。

我查了一下,没有任何反应。我什至没有做任何事情,只是没有打开。这是从今天开始的全新安装。当我运行它时,我首先单击了“尝试Ubuntu”选项,它会打开,但是由于我实际上已经安装了它,所以它不会打开。

在终端输入之后apt policy software-center gnome-center,我得到了:

software-center:
  Installed: (none)
  Candidate: (none)
  Version table:
gnome-software:
  Installed: 3.20.1+git20160617.1.0440874.ubuntu-xenial-0ubuntu1~16.04.1
  Candidate: 3.20.1+git20160617.1.0440874.ubuntu-xenial-0ubuntu1~16.04.1
  Version table:
 *** 3.20.1+git20160617.1.0440874.ubuntu-xenial-0ubuntu1~16.04.1 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     3.20.1+git20160420.1.ca63436.ubuntu-xenial-0ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages

打字后software-center,它给了我

The program 'software-center' is currently not installed. You can install it by typing:
sudo apt install software-center

并输入后gnome-software,它什么也没显示。

输出gnome-software --verbose是这样的:

(gnome-software:28808): Gs-DEBUG: compatible-project: GNOME
(gnome-software:28808): Gs-DEBUG: compatible-project: KDE
(gnome-software:28808): Gs-DEBUG: compatible-project: XFCE
(gnome-software:28808): As-DEBUG: run GsPlugin::setup
(gnome-software:28808): Gs-DEBUG: searching for plugins in /usr/lib/gs-plugins-9
(gnome-software:28808): Gs-DEBUG: opened plugin /usr/lib/gs-plugins-9/libgs_plugin_provenance.so: provenance
(gnome-software:28808): Gs-DEBUG: opened plugin /usr/lib/gs-plugins-9/libgs_plugin_epiphany.so: epiphany
(gnome-software:28808): Gs-DEBUG: opened plugin /usr/lib/gs-plugins-9/libgs_plugin_moduleset.so: moduleset
(gnome-software:28808): Gs-DEBUG: opened plugin /usr/lib/gs-plugins-9/libgs_plugin_apt.so: apt
(gnome-software:28808): Gs-DEBUG: opened plugin /usr/lib/gs-plugins-9/libgs_plugin_appstream.so: appstream
(gnome-software:28808): Gs-DEBUG: opened plugin /usr/lib/gs-plugins-9/libgs_plugin_dpkg.so: dpkg
(gnome-software:28808): Gs-DEBUG: opened plugin /usr/lib/gs-plugins-9/libgs_plugin_fwupd.so: fwupd
(gnome-software:28808): Gs-DEBUG: opened plugin /usr/lib/gs-plugins-9/libgs_plugin_ubuntu-reviews.so: ubuntu-reviews
(gnome-software:28808): Gs-DEBUG: opened plugin /usr/lib/gs-plugins-9/libgs_plugin_menu-spec-categories.so: menu-spec-categories
(gnome-software:28808): Gs-DEBUG: opened plugin /usr/lib/gs-plugins-9/libgs_plugin_menu-spec-refine.so: menu-spec-refine
(gnome-software:28808): Gs-DEBUG: opened plugin /usr/lib/gs-plugins-9/libgs_plugin_icons.so: icons
(gnome-software:28808): Gs-DEBUG: opened plugin /usr/lib/gs-plugins-9/libgs_plugin_dummy.so: dummy
(gnome-software:28808): Gs-DEBUG: opened plugin /usr/lib/gs-plugins-9/libgs_plugin_snappy.so: snappy
(gnome-software:28808): Gs-DEBUG: opened plugin /usr/lib/gs-plugins-9/libgs_plugin_hardcoded-featured.so: hardcoded-featured
(gnome-software:28808): Gs-DEBUG: opened plugin /usr/lib/gs-plugins-9/libgs_plugin_hardcoded-blacklist.so: hardcoded-blacklist
(gnome-software:28808): Gs-DEBUG: provenance [0.0] to be ordered after apt [0.0] so promoting to [1.0]
(gnome-software:28808): Gs-DEBUG: cannot find plugin 'packagekit-refine'
(gnome-software:28808): Gs-DEBUG: epiphany [0.0] to be ordered after appstream [0.0] so promoting to [1.0]
(gnome-software:28808): Gs-DEBUG: cannot find plugin 'packagekit-refine'
(gnome-software:28808): Gs-DEBUG: moduleset [0.0] to be ordered after menu-spec-categories [0.0] so promoting to [1.0]
(gnome-software:28808): Gs-DEBUG: cannot find plugin 'packagekit-refine'
(gnome-software:28808): Gs-DEBUG: apt [0.0] to be ordered after appstream [0.0] so promoting to [1.0]
(gnome-software:28808): Gs-DEBUG: provenance [1.0] to be ordered after apt [1.0] so promoting to [2.0]
(gnome-software:28808): Gs-DEBUG: cannot find plugin 'packagekit-refine'
(gnome-software:28808): Gs-DEBUG: appstream [0.0] to be ordered after menu-spec-categories [0.0] so promoting to [1.0]
(gnome-software:28808): Gs-DEBUG: cannot find plugin 'packagekit-refine'
(gnome-software:28808): Gs-DEBUG: epiphany [1.0] to be ordered after appstream [1.0] so promoting to [2.0]
(gnome-software:28808): Gs-DEBUG: cannot find plugin 'packagekit-refine'
(gnome-software:28808): Gs-DEBUG: moduleset [1.0] to be ordered after appstream [1.0] so promoting to [2.0]
(gnome-software:28808): Gs-DEBUG: cannot find plugin 'packagekit-refine'
(gnome-software:28808): Gs-DEBUG: apt [1.0] to be ordered after appstream [1.0] so promoting to [2.0]
(gnome-software:28808): Gs-DEBUG: provenance [2.0] to be ordered after apt [2.0] so promoting to [3.0]
(gnome-software:28808): Gs-DEBUG: cannot find plugin 'packagekit-refine'
(gnome-software:28808): Gs-DEBUG: ubuntu-reviews [0.0] to be ordered after appstream [1.0] so promoting to [2.0]
(gnome-software:28808): Gs-DEBUG: cannot find plugin 'packagekit-refine'
(gnome-software:28808): Gs-DEBUG: menu-spec-refine [0.0] to be ordered after appstream [1.0] so promoting to [2.0]
(gnome-software:28808): Gs-DEBUG: cannot find plugin 'packagekit-refine'
(gnome-software:28808): Gs-DEBUG: icons [0.0] to be ordered after appstream [1.0] so promoting to [2.0]
(gnome-software:28808): Gs-DEBUG: cannot find plugin 'packagekit-refine'
(gnome-software:28808): Gs-DEBUG: icons [2.0] to be ordered after epiphany [2.0] so promoting to [3.0]
(gnome-software:28808): Gs-DEBUG: cannot find plugin 'packagekit-refine'
(gnome-software:28808): Gs-DEBUG: hardcoded-blacklist [0.0] to be ordered after appstream [1.0] so promoting to [2.0]
(gnome-software:28808): Gs-DEBUG: cannot find plugin 'packagekit-refine'
(gnome-software:28808): As-DEBUG: run GsPlugin::dpkg(gs_plugin_initialize)
(gnome-software:28808): As-DEBUG: run GsPlugin::fwupd(gs_plugin_initialize)
(gnome-software:28808): As-DEBUG: run GsPlugin::dummy(gs_plugin_initialize)
(gnome-software:28808): GsPlugin-DEBUG: disabling 'dummy' as not in self test
(gnome-software:28808): As-DEBUG: run GsPlugin::snappy(gs_plugin_initialize)
(gnome-software:28808): As-DEBUG: run GsPlugin::appstream(gs_plugin_initialize)
(gnome-software:28808): As-DEBUG: run GsPlugin::epiphany(gs_plugin_initialize)
(gnome-software:28808): GsPlugin-DEBUG: disabling 'epiphany' as epiphany does not exist
(gnome-software:28808): As-DEBUG: run GsPlugin::moduleset(gs_plugin_initialize)
(gnome-software:28808): As-DEBUG: run GsPlugin::apt(gs_plugin_initialize)
(gnome-software:28808): As-DEBUG: run GsPlugin::ubuntu-reviews(gs_plugin_initialize)
(gnome-software:28808): As-DEBUG: run GsPlugin::provenance(gs_plugin_initialize)
(gnome-software:28808): Gs-DEBUG: [enabled] 0.0 ->  dpkg
(gnome-software:28808): Gs-DEBUG: [enabled] 0.0 ->  fwupd
(gnome-software:28808): Gs-DEBUG: [enabled] 0.0 ->  menu-spec-categories
(gnome-software:28808): Gs-DEBUG: [disabled]    0.0 ->  dummy
(gnome-software:28808): Gs-DEBUG: [enabled] 0.0 ->  snappy
(gnome-software:28808): Gs-DEBUG: [enabled] 0.0 ->  hardcoded-featured
(gnome-software:28808): Gs-DEBUG: [enabled] 1.0 ->  appstream
(gnome-software:28808): Gs-DEBUG: [disabled]    2.0 ->  epiphany
(gnome-software:28808): Gs-DEBUG: [enabled] 2.0 ->  moduleset
(gnome-software:28808): Gs-DEBUG: [enabled] 2.0 ->  apt
(gnome-software:28808): Gs-DEBUG: [enabled] 2.0 ->  ubuntu-reviews
(gnome-software:28808): Gs-DEBUG: [enabled] 2.0 ->  menu-spec-refine
(gnome-software:28808): Gs-DEBUG: [enabled] 2.0 ->  hardcoded-blacklist
(gnome-software:28808): Gs-DEBUG: [enabled] 3.0 ->  provenance
(gnome-software:28808): Gs-DEBUG: [enabled] 3.0 ->  icons
Timeout was reached
(gnome-software:28808): Gs-DEBUG: emitting finished(<general>)
(gnome-software:28808): As-DEBUG: run GsPlugin::fwupd(gs_plugin_destroy)
(gnome-software:28808): As-DEBUG: run GsPlugin::snappy(gs_plugin_destroy)
(gnome-software:28808): As-DEBUG: run GsPlugin::appstream(gs_plugin_destroy)
(gnome-software:28808): As-DEBUG: run GsPlugin::moduleset(gs_plugin_destroy)
(gnome-software:28808): As-DEBUG: run GsPlugin::apt(gs_plugin_destroy)
(gnome-software:28808): As-DEBUG: run GsPlugin::ubuntu-reviews(gs_plugin_destroy)
(gnome-software:28808): As-DEBUG: run GsPlugin::provenance(gs_plugin_destroy)

有人可以帮我吗?谢谢。


您能否打开终端并运行:sudo software-center并给我日志文件
Nour Alhadi Mahmoud

须藤:软件中心:命令没有发现这就是它打字,在后说。
一个DERP

然后尝试以下方法:sudo gnome-software-center
Nour Alhadi Mahmoud 2016年

1
命令是旧的“ Ubuntu软件中心” software-center,而现在是GNOME的“ Ubuntu软件” gnome-software。在Ubuntu 16.04中,虽然只预安装了新版本,但是似乎要启动旧版本。请编辑您的问题,并添加的输出apt policy software-center gnome-software来检查安装了哪些软件包,然后尝试同时运行software-center,并gnome-software从终端并增加它们的输出的问题ANS很好。完成后,给我评论“ @ByteCommander”。
字节指挥官

1
这是链接:pastebin.com/CbUgyZ4b
Derp

Answers:


6

通过删除文件可以解决此问题~/.local/share/gnome-software。启动gnome软件时将重新创建它。因此,只需确保您没有任何正在运行ubuntu-software或的实例gnome-software

$ killall ubuntu软件

$ killall gnome软件

接着:

$ rm -r〜/ .local / share / gnome-软件

此解决方案最初是在这里提出的

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.