binstats 日志确定很多库未使用。仅两个库的示例
unused:
/usr/lib/liblsp-r3d-glx-lib-1.0.16.so (lsp-plugins-r3d-glx)
/usr/lib/x86_64-linux-gnu/liba52-0.7.4.so (liba52-0.7.4)
如何确定该库是否不是真正需要并且可以安全删除。
binstats 日志确定很多库未使用。仅两个库的示例
unused:
/usr/lib/liblsp-r3d-glx-lib-1.0.16.so (lsp-plugins-r3d-glx)
/usr/lib/x86_64-linux-gnu/liba52-0.7.4.so (liba52-0.7.4)
如何确定该库是否不是真正需要并且可以安全删除。
这里是 Ubuntu 24.04,snapd 版本是 2.62。每次我启动时,我都会在日志中看到这个Task "refresh" returned an error: livepatch check failed: POST request to "https://livepatch.canonical.com/v1/client/"ID"/updates" failed, retrying in 30s.
查看日志
journalctl -f -t canonical-livepatch.canonical-livepatchd
May 02 08:04:39 Desktop canonical-livepatch.canonical-livepatchd[1532]: Failed to refresh patch information: livepatch check failed: POST request to "https://livepatch.canonical.com/v1/client/"ID"/updates" failed.
May 02 08:04:39 Desktop canonical-livepatch.canonical-livepatchd[1532]: Task "refresh" returned an error: livepatch check failed: POST request to "https://livepatch.canonical.com/v1/client/"ID"/updates" failed, retrying in 30s.
May 02 08:05:09 Desktop canonical-livepatch.canonical-livepatchd[1532]: Client information is recent, not refreshing.
May 02 08:05:09 Desktop canonical-livepatch.canonical-livepatchd[1532]: Error in livepatch check state: check-failed.
May 02 08:05:10 Desktop canonical-livepatch.canonical-livepatchd[1532]: Task "refresh" completed succesfully after 1 retries.
May 02 08:22:03 Desktop canonical-livepatch.canonical-livepatchd[1532]: Client information is recent, not refreshing.
May 02 08:22:03 Desktop canonical-livepatch.canonical-livepatchd[1532]: Processing machine status.
May 02 08:22:03 Desktop canonical-livepatch.canonical-livepatchd[1532]: Sending status update the livepatch server.
May 02 08:22:03 Desktop canonical-livepatch.canonical-livepatchd[1532]: No updates available at this time.
May 02 08:22:03 Desktop canonical-livepatch.canonical-livepatchd[1532]: No patch payload available.
当我尝试在 Firefox 中发布请求时,我得到Method Not Allowed
canonical-livepatch status
last check: 6 minutes ago
kernel: 6.8.0-31.31-generic
server check-in: succeeded
kernel state: ✓ kernel series 6.8 is covered by Livepatch
patch state: ✓ no livepatches available for kernel 6.8.0-31.31-generic
tier: updates (Free usage; This machine beta tests new patches.)
machine id:
我需要了解这一点,是否是由于测试版所致,并且因为客户端是 24.04,我可以安装一个稳定的客户端吗?这似乎接近我的错误https://bugs.launchpad.net/snapd/+bug/2044335?欣赏任何见解。
我那里有很多错误,只是在 atm 上发布了其中 2 个
2024-04-27T09:00:03.860270+02:00 Desktop gnome-shell[1659]: Extension [email protected]: Error: No signal connection 10 found#012#012Stack trace:#012 _disconnect@resource:///org/gnome/gjs/modules/core/_signals.js:58:15#012 disable@file:///usr/share/gnome-shell/extensions/[email protected]/extension.js:33:35#012 _callExtensionDisable@resource:///org/gnome/shell/ui/extensionSystem.js:211:49#012 _onEnabledExtensionsChanged@resource:///org/gnome/shell/ui/extensionSystem.js:644:24#012 _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:736:18#012 createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:730:46#012 disableExtension@resource:///org/gnome/shell/ui/extensionSystem.js:305:29#012 DisableExtension@resource:///org/gnome/shell/ui/shellDBus.js:457:38#012 _handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:329:38#012 _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34#012 @resource:///org/gnome/shell/ui/init.js:21:20#012
2024-04-27T09:00:03.993348+02:00 Desktop gnome-shell[1659]: Extension [email protected]: Error: No signal connection 10 found#012#012Stack trace:#012 _disconnect@resource:///org/gnome/gjs/modules/core/_signals.js:58:15#012 disable@file:///usr/share/gnome-shell/extensions/[email protected]/extension.js:33:35#012 _enable@file:///home/amir/.local/share/gnome-shell/extensions/[email protected]/extension.js:112:29#012 enable@file:///home/amir/.local/share/gnome-shell/extensions/[email protected]/extension.js:71:16#012 _callExtensionDisable@resource:///org/gnome/shell/ui/extensionSystem.js:230:55#012 async*_onEnabledExtensionsChanged@resource:///org/gnome/shell/ui/extensionSystem.js:644:24#012 _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:736:18#012 createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:730:46#012 disableExtension@resource:///org/gnome/shell/ui/extensionSystem.js:305:29#012 DisableExtension@resource:///org/gnome/shell/ui/shellDBus.js:457:38#012 _handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:329:38#012 _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34#012 @resource:///org/gnome/shell/ui/init.js:21:20#012
我也有很多关于 gnome shell 的警告(如果相关的话),我可以获得帮助来追踪问题吗?
我运行的是 Ubuntu 22.04。当我尝试安装 Skype 时,我得到以下信息:Run configure hook of "skype" snap if present (run hook "configure": cannot locate base snap core18: No such file or directory)
。如果我必须重新安装 snapd,我从商店获得的所有应用程序会怎样?
core18 20231027 2812 latest/stable canonical✓ base
core20 20240111 2182 latest/stable canonical✓ base
core22 20240111 1122 latest/stable canonical✓ base
cups 2.4.7-3 1024 latest/stable openprinting✓ -
firefox 124.0.2-1 4090 latest/stable mozilla✓ -```
$ sudo snap remove core18 error: cannot remove "core18": snap "core18" is not removable: snap is being used by snaps gnome-3-28-1804, wine-platform-6-stable and wine-platform-runtime.
我有 Ubuntu 22.04 并nemo
作为文件管理器安装,还有nemo-fileroller
5.2.0-2。在 /usr/share/nemo/actions 中,您可以定义额外的操作。我发现“提取到”有两种不同的操作,并且两者似乎都有效,但我想将“提取到”设置为特殊文件夹/media/hd1/extracted
。我尝试添加路径,但它不起作用,感谢任何帮助。
[Nemo Action]
Active=true
Name=Extract here NoSub
Comment=Extract here without creating a subfolder
Exec=bash -c 'file-roller --extract-to="$(dirname %F)" %F'
Icon-Name=gnome-mime-application-x-compress
Selection=s
Extensions=zip;7z;ar;cbz;cpio;exe;iso;jar;tar;tar;7z;tar.Z;tar.bz2;tar.gz;tar.lz;tar.lzma;tar.xz;
和
[Nemo Action]
Active=true
Name=Extract to...
Comment=Extract to...
Exec=file-roller -f %F
Icon-Name=gnome-mime-application-x-compress
#Stock-Id=gtk-cdrom
Selection=any
Extensions=zip;7z;ar;cbz;cpio;exe;iso;jar;tar;tar;7z;tar.Z;tar.bz2;tar.gz;tar.lz;tar.lzma;tar.xz;apk;
Quote=double