Gnome 软件中心无法打开 - 16.04

A D*_*erp 5 16.04 gnome-software

16.04 Gnome 软件中心将不会打开。当我点击启动器上的图标时,它所做的只是显示加载图标,......就是这样。

我查了一下,没有任何工作。我什至没有做任何事情,它只是没有打开。这是今天的全新安装。当我开始工作时,我首先点击了“Try 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
Run Code Online (Sandbox Code Playgroud)

打字后software-center,它给了我

The program 'software-center' is currently not installed. You can install it by typing:
sudo apt install software-center
Run Code Online (Sandbox Code Playgroud)

输入后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)
Run Code Online (Sandbox Code Playgroud)

有人可以帮我吗?谢谢你。

sal*_*nap 6

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

$ killall ubuntu 软件

$ killall gnome 软件

进而:

$ rm -r ~/.local/share/gnome-software

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