Ubuntu 21.04-Ubuntu 软件无法打开

Ubuntu 21.04-Ubuntu 软件无法打开

昨天 Ubuntu 软件还可以运行,但今天却不行了。运行snap-store显示以下错误

/snap/snap-store/518/usr/bin/snap-store: symbol lookup error: /snap/snap-store/518/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3.so.0: undefined symbol: atk_plug_set_child

这两次更新是自上次运行以来发生的(昨天我安装了 Spotify)

Start-Date: 2021-06-08  09:27:43
Commandline: /usr/bin/unattended-upgrade
Upgrade: libgnome-autoar-0-0:amd64 (0.3.1-1, 0.3.1-1ubuntu0.1)
End-Date: 2021-06-08  09:27:43

Start-Date: 2021-06-08  15:06:56
Commandline: aptdaemon role='role-commit-packages' sender=':1.223'
Upgrade: python3-distupgrade:amd64 (1:21.04.11, 1:21.04.12), libgoa-1.0-common:amd64 (3.38.1-1ubuntu1, 3.38.1-1ubuntu1.1), ubuntu-release-upgrader-gtk:amd64 (1:21.04.11, 1:21.04.12), libgoa-1.0-0b:amd64 (3.38.1-1ubuntu1, 3.38.1-1ubuntu1.1), libgoa-backend-1.0-1:amd64 (3.38.1-1ubuntu1, 3.38.1-1ubuntu1.1), gnome-online-accounts:amd64 (3.38.1-1ubuntu1, 3.38.1-1ubuntu1.1), gir1.2-goa-1.0:amd64 (3.38.1-1ubuntu1, 3.38.1-1ubuntu1.1), ubuntu-release-upgrader-core:amd64 (1:21.04.11, 1:21.04.12)
End-Date: 2021-06-08  15:06:57

另外snap-changes给我今天的一个条目

7    Done    today at 15:36 -05  today at 15:36 -05  Auto-refresh snap "gnome-3-34-1804"

snap tasks 7表演

Status  Spawn               Ready               Summary
Done    today at 15:36 -05  today at 15:36 -05  Ensure prerequisites for "gnome-3-34-1804" are available
Done    today at 15:36 -05  today at 15:36 -05  Download snap "gnome-3-34-1804" (72) from channel "latest/stable/ubuntu-21.04"
Done    today at 15:36 -05  today at 15:36 -05  Fetch and check assertions for snap "gnome-3-34-1804" (72)
Done    today at 15:36 -05  today at 15:36 -05  Mount snap "gnome-3-34-1804" (72)
Done    today at 15:36 -05  today at 15:36 -05  Run pre-refresh hook of "gnome-3-34-1804" snap if present
Done    today at 15:36 -05  today at 15:36 -05  Stop snap "gnome-3-34-1804" services
Done    today at 15:36 -05  today at 15:36 -05  Remove aliases for snap "gnome-3-34-1804"
Done    today at 15:36 -05  today at 15:36 -05  Make current revision for snap "gnome-3-34-1804" unavailable
Done    today at 15:36 -05  today at 15:36 -05  Copy snap "gnome-3-34-1804" data
Done    today at 15:36 -05  today at 15:36 -05  Setup snap "gnome-3-34-1804" (72) security profiles
Done    today at 15:36 -05  today at 15:36 -05  Make snap "gnome-3-34-1804" (72) available to the system
Done    today at 15:36 -05  today at 15:36 -05  Automatically connect eligible plugs and slots of snap "gnome-3-34-1804"
Done    today at 15:36 -05  today at 15:36 -05  Set automatic aliases for snap "gnome-3-34-1804"
Done    today at 15:36 -05  today at 15:36 -05  Setup snap "gnome-3-34-1804" aliases
Done    today at 15:36 -05  today at 15:36 -05  Run post-refresh hook of "gnome-3-34-1804" snap if present
Done    today at 15:36 -05  today at 15:36 -05  Start snap "gnome-3-34-1804" (72) services
Done    today at 15:36 -05  today at 15:36 -05  Clean up "gnome-3-34-1804" (72) install
Done    today at 15:36 -05  today at 15:36 -05  Run configure hook of "gnome-3-34-1804" snap if present
Done    today at 15:36 -05  today at 15:36 -05  Run health check of "gnome-3-34-1804" snap
Done    today at 15:36 -05  today at 15:36 -05  Consider re-refresh of "gnome-3-34-1804"

......................................................................
Consider re-refresh of "gnome-3-34-1804"

2021-06-08T15:36:57-05:00 INFO No re-refreshes found.

我尝试重新安装 snap-store 和 gnome-3-34-1804,但没有成功。

答案1

尝试安装候选版本。对我来说,它有效。

snap remove snap-store
snap install snap-store --candidate

笔记:错误 1931380得到修复后,您将需要切换回默认频道。

更新:默认频道已修复该错误。您应该会在 24 小时内自动获得稳定更新。如果您切换到候选频道,则需要切换回默认频道。

$ snap refresh

在此处输入图片描述

相关内容