Snap Store 不显示类别

Snap Store 不显示类别

我从 Ubuntu 18.04 LTS 升级到 20.04,当我打开 Snap Store 时,它​​没有显示应用程序类别,也没有显示发行版中安装的所有应用程序(重新安装 Snap Store 并不能解决问题)。

下面是开始屏幕和应用程序启动期间出现的错误的附加图片。

在此处输入图片描述

19:54:45:0907 Gs  failed to create an app for */*/*/*/system/*
19:54:45:0912 Gs  updates-shell: failed to get updates: no plugin could handle get-updates
19:54:45:0913 Gs  failed to create an app for */*/*/*/system/*
19:54:45:0913 Gs  failed to get system app
19:54:45:0914 Gs  Only 0 apps for recent list, hiding
19:54:46:0728 Gs  hiding category graphics featured applications: found only 0 to show, need at least 9
19:54:46:0762 Gs  not GsPlugin error snapd-error-quark:10: cannot sections: got unexpected HTTP status code 403 via GET to "https://api.snapcraft.io/api/v1/snaps/sections"
19:54:46:0762 Gs  failed to get categories: no categories to show
19:54:46:0763 Gs  not handling error failed for action get-categories: cannot sections: got unexpected HTTP status code 403 via GET to "https://api.snapcraft.io/api/v1/snaps/sections"
19:54:46:0768 Gs  hiding category games featured applications: found only 0 to show, need at least 9
19:54:46:0888 GsPluginSnap Failed to load snap icon: local snap has no icon
19:54:47:0068 GsPluginSnap Failed to load snap icon: local snap has no icon
19:54:47:0139 Gs  not GsPlugin error g-io-error-quark:35: Invalid string value converting to GVariant
19:54:47:0142 Gs  not handling error failed for action refine: Invalid string value converting to GVariant
19:54:47:0180 GsPluginSnap Failed to load snap icon: local snap has no icon
19:54:47:0544 GsPluginSnap Failed to load snap icon: local snap has no icon
19:54:48:0020 GsPluginSnap Failed to load snap icon: local snap has no icon
19:54:48:0615 GsPluginSnap Failed to load snap icon: local snap has no icon
bart@zarathustra-ubuntu:~$ snap-store > temp.txt
20:06:18:0890 Gs  failed to create an app for */*/*/*/system/*
20:06:18:0894 Gs  updates-shell: failed to get updates: no plugin could handle get-updates
20:06:18:0895 Gs  failed to create an app for */*/*/*/system/*
20:06:18:0895 Gs  failed to get system app
20:06:18:0896 Gs  Only 0 apps for recent list, hiding
20:06:19:0772 Gs  hiding category games featured applications: found only 0 to show, need at least 9
20:06:19:0774 Gs  not GsPlugin error snapd-error-quark:10: cannot sections: got unexpected HTTP status code 403 via GET to "https://api.snapcraft.io/api/v1/snaps/sections"
20:06:19:0775 Gs  not handling error failed for action get-categories: cannot sections: got unexpected HTTP status code 403 via GET to "https://api.snapcraft.io/api/v1/snaps/sections"
20:06:19:0775 Gs  failed to get categories: no categories to show
20:06:19:0797 Gs  hiding category graphics featured applications: found only 0 to show, need at least 9
20:06:19:0919 GsPluginSnap Failed to load snap icon: local snap has no icon
20:06:20:0036 GsPluginSnap Failed to load snap icon: local snap has no icon
20:06:20:0152 GLib g_variant_new_variant: assertion 'value != NULL' failed
20:06:20:0152 GLib g_variant_new_variant: assertion 'value != NULL' failed
20:06:20:0154 Gs  not GsPlugin error g-io-error-quark:35: Invalid string value converting to GVariant
20:06:20:0154 Gs  not handling error failed for action refine: Invalid string value converting to GVariant
20:06:21:0116 GsPluginSnap Failed to load snap icon: local snap has no icon
20:06:21:0355 GsPluginSnap Failed to load snap icon: local snap has no icon
20:06:21:0626 GsPluginSnap Failed to load snap icon: local snap has no icon
20:06:21:0904 GsPluginSnap Failed to load snap icon: local snap has no icon

答案1

如果这是您第一次打开 Ubuntu 软件(snap-store),它可能需要索引并加载应用程序。只需将其打开一段时间即可。

有时刷新快照可能会有所帮助

sudo snap refresh snap-store

如果没有,你可能需要重新安装 snap-store

sudo snap remove snap-store && sudo snap install snap-store

答案2

我也遇到了同样的问题。当我进入 snap 商店类别时,它们都是空白的。我必须点击一个类别并让它保持打开状态约 30-45 秒,然后它才会为我填充。虽然很乏味,但确实有效。

答案3

哈哈:)

https://status.snapcraft.io/

4天前 离线(未工作)

  • Snap 下载(默认)
  • api.snapcraft.io-搜索
  • api.snapcraft.io-刷新

不是最好的解决方案!

相关内容