AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1283372
Accepted
Random Person
Random Person
Asked: 2020-10-14 00:09:46 +0800 CST2020-10-14 00:09:46 +0800 CST 2020-10-14 00:09:46 +0800 CST

日志中提到“未安装设置架构'org.gnome.software'”

  • 772

日志中提到

未安装设置架构“org.gnome.software”

日志截图

阅读此日志后,我有点困惑/担心,因为它属于“重要”类别,属于“安全”。为什么它属于“重要”类别并属于“安全”?
所以我决定gnome-software使用命令安装sudo apt install gnome-software。我做对了吗?

我发现每当我从gnome-software应用程序启动 Snap Store 时,gnome-software 应用程序中的 Snap Store 应用程序日志都会提到

未安装设置架构“org.gnome.software”

再次出现。

还有一点需要注意的是 Ubuntu Software 应用程序没有打开。我执行apt list --installed | grep ubuntu-software了命令,输出为:


WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

所以看起来 Ubuntu 软件应用程序没有安装,但它仍然显示在应用程序中。这和日志有关系吗?我一无所知,请解释一下这里的确切问题。

输出apt policy ubuntu-software:

ubuntu-software:
  Installed: (none)
  Candidate: 3.36.1-0ubuntu0.20.04.0
  Version table:
     3.36.1-0ubuntu0.20.04.0 500
        500 http://in.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages
        500 http://in.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages
     3.36.0-0ubuntu3 500
        500 http://in.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        500 http://in.archive.ubuntu.com/ubuntu focal/universe i386 Packages

输出apt policy ubuntu-software | grep Installed:


WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

  Installed: (none)

输出snap-store:

11:06:47:0922 Gtk Failed to load module "canberra-gtk-module"
11:06:47:0927 Gtk Failed to load module "canberra-gtk-module"
11:06:47:0936 GLib-GIO Settings schema 'org.gnome.software' is not installed
Trace/breakpoint trap (core dumped)

输出snap list:

Name               Version                      Rev    Tracking         Publisher   Notes
core               16-2.47                      10126  latest/stable    canonical✓  core
core18             20200724                     1885   latest/stable    canonical✓  base
gnome-3-28-1804    3.28.0-19-g98f9e67.98f9e67   145    latest/stable    canonical✓  -
gnome-3-34-1804    0+git.3556cb3                60     latest/stable/…  canonical✓  -
gtk-common-themes  0.1-36-gc75f853              1506   latest/stable/…  canonical✓  -
inkscape           1.0.1-3bc2e813f5-2020-09-07  7947   latest/stable    inkscape✓   -
pycharm-community  2020.2.3                     214    latest/stable    jetbrains✓  classic
snap-store         3.36.0-82-g80486d0           481    latest/stable/…  canonical✓  -
snapd              2.46.1                       9279   latest/stable    canonical✓  snapd
vlc                3.0.11                       1700   latest/stable    videolan✓   -
log gnome-software
  • 2 2 个回答
  • 3102 Views

2 个回答

  • Voted
  1. karel
    2020-10-14T00:22:07+08:002020-10-14T00:22:07+08:00

    你做了正确的事情。

    如果 ubuntu-software 软件包安装在 Ubuntu 20.04 中,该ubuntu-software命令返回以下结果:

    ubuntu-software: command not found
    

    该gnome-software命令启动软件应用程序。

    Snap Store 应用程序是另一个仅适用于 snap 包的软件中心应用程序。

    可以使用以下命令在 Ubuntu 20.04 中将Snap Store 应用程序与软件应用程序一起安装:

    sudo snap install snap-store
    

    当我从 Ubuntu 18.04 升级到 Ubuntu 20.04 时,安装在 Ubuntu 18.04 中的 Snap Store 已从 Ubuntu 20.04 中删除。当我注意到 Snap Store 丢失时,我重新安装了它,从那以后它就没有问题了。

    • 2
  2. Best Answer
    Random Person
    2020-10-14T04:33:25+08:002020-10-14T04:33:25+08:00

    snap-store已安装在 PC 中,但名为 Snap Store 的“显示应用程序”中没有应用程序。

    snap-store我使用以下命令卸载:

    sudo snap remove snap-store
    

    卸载后snap-store,Ubuntu 软件图标消失了。

    然后我snap-store使用命令安装:

    sudo snap install snap-store
    

    然后 Snap Store 应用程序显示在“显示应用程序”中。

    Snap Store 应用程序图标

    现在没有日志提到

    未安装设置架构“org.gnome.software”


    所以看起来 Snap Store 应用程序有一些问题,但我不知道是什么导致了这个问题,因为我没有搞砸关于snap-store.

    另一个需要注意的细节是snap list卸载和安装后的输出发生了一些变化snap-store。的输出snap list:

    Name               Version                      Rev    Tracking         Publisher   Notes
    core               16-2.47                      10126  latest/stable    canonical✓  core
    core18             20200724                     1885   latest/stable    canonical✓  base
    gnome-3-28-1804    3.28.0-19-g98f9e67.98f9e67   145    latest/stable    canonical✓  -
    gnome-3-34-1804    0+git.3556cb3                60     latest/stable/…  canonical✓  -
    gtk-common-themes  0.1-36-gc75f853              1506   latest/stable/…  canonical✓  -
    inkscape           1.0.1-3bc2e813f5-2020-09-07  7947   latest/stable    inkscape✓   -
    pycharm-community  2020.2.3                     214    latest/stable    jetbrains✓  classic
    snap-store         3.31.1+git187.84b64e0b       415    latest/stable    canonical✓  -
    snapd              2.46.1                       9279   latest/stable    canonical✓  snapd
    vlc                3.0.11                       1700   latest/stable    videolan✓   -
    

    snap-store卸载前的版本是3.36.0-82-g80486d0(测试版)。snap-store再次安装后的版本为3.31.1+git187.84b64e0b(稳定版)。

    Snap Store 网站截图 截图(2020 年 10 月 13 日)来自https://snapcraft.io/snap-store


    更新:
    几天后,Snap Store 图标不见了,Ubuntu 软件图标又回来了。我想这主要发生在一些更新之后。

    当我snap-store在终端中执行命令时,会打开 Ubuntu 软件应用程序。所以我猜Snap Store 只是更名为 Ubuntu Software。

    还有一点需要注意的是snap list.

    Name               Version                      Rev    Tracking         Publisher   Notes
    core               16-2.47.1                    10185  latest/stable    canonical✓  core
    core18             20200724                     1885   latest/stable    canonical✓  base
    gnome-3-28-1804    3.28.0-19-g98f9e67.98f9e67   145    latest/stable    canonical✓  -
    gnome-3-34-1804    0+git.3556cb3                60     latest/stable/…  canonical✓  -
    gtk-common-themes  0.1-36-gc75f853              1506   latest/stable/…  canonical✓  -
    inkscape           1.0.1-0767f8302a-2020-10-17  8049   latest/stable    inkscape✓   -
    pycharm-community  2020.2.3                     214    latest/stable    jetbrains✓  classic
    snap-store         3.36.0-82-g80486d0           481    latest/stable    canonical✓  -
    snapd              2.47.1                       9721   latest/stable    canonical✓  snapd
    

    现在的版本snap-store是3.36.0-82-g80486d0。

    Snap Store 网站截图,截至 2020 年 10 月 23 日 截图(2020 年 10 月 23 日)来自https://snapcraft.io/snap-store

    但奇怪的是,大多数频道(稳定版、测试版和候选版)在网站上都有相同的版本号。但由于我没有搞砸任何snap-store东西,我希望我在稳定的频道。

    输出snap info snap-store:

    name:    snap-store
    summary: Snap Store is a graphical desktop application for discovering, installing and managing
      snaps on Linux.
    publisher: Canonical✓
    store-url: https://snapcraft.io/snap-store
    contact:   https://bugs.launchpad.net/snap-store/
    license:   unset
    description: |
      Snap Store showcases featured and popular applications with useful descriptions, ratings, reviews
      and screenshots.
      
      
      Applications can be found either through browsing categories
      or by searching.
      
      
      Snap Store can also be used to switch channels, view and alter snap permissions and view and
      submit reviews and ratings.
      
      
      Snap Store is based on GNOME Software, optimized for the Snap experience.
    commands:
      - snap-store
      - snap-store.ubuntu-software
      - snap-store.ubuntu-software-local-file
    snap-id:      gjf3IPXoRiipCu9K0kVu52f0H56fIksg
    tracking:     latest/stable
    refresh-date: 3 days ago, at 06:55 IST
    channels:
      latest/stable:    3.36.0-82-g80486d0 2020-10-19 (481) 53MB -
      latest/candidate: 3.36.0-82-g80486d0 2020-10-19 (481) 53MB -
      latest/beta:      3.36.0-82-g80486d0 2020-09-11 (481) 53MB -
      latest/edge:      20200414.ac9047f   2020-04-14 (375) 50MB -
    installed:          3.36.0-82-g80486d0            (481) 53MB -
    
    • 1

相关问题

  • Apache 和 PHP 日志文件在哪里?

  • 是否有以图形方式记录/显示文件系统 I/O 的应用程序?

  • 当应用程序崩溃而没有输出错误时,是否有我可以检查的日志?

  • 如何更改确定有效用户密码的规则?[关闭]

  • 我如何知道 Ubuntu 的安装日期?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve