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 / 问题

问题[appstream](ubuntu)

Martin Hope
Cool_Omar
Asked: 2019-09-24 23:54:16 +0800 CST

如何在 Ubuntu 中处理 appstream:// 链接?

  • 1

我有一些要打开的 AppStream 链接(例如:appstream://org.kde.k3b.desktop),我试图找到一个应用程序来打开它们,但找不到任何东西,所以关于如何打开它们的任何想法做这个 ?

18.04 appstream
  • 1 个回答
  • 573 Views
Martin Hope
DK Bose
Asked: 2018-12-14 02:34:31 +0800 CST

Discover 如何决定它应该使用哪些应用程序?

  • 1

Kubuntu 的软件管理套件称为Discover(如果您使用的是终端,则称为Plasma-discover),类似于Ubuntu 软件中心(或gnome-software)。其主面板显示特色应用程序列表。这个列表是如何产生的?

software-center kubuntu 18.04 appstream
  • 1 个回答
  • 149 Views
Martin Hope
Vineet Jain
Asked: 2018-08-02 12:16:03 +0800 CST

更新时元数据和 appstream 错误

  • 2

以 root 身份更新时出现错误。更新日志后,终端中显示以下错误。

AppStream system cache was updated, but problems were found: Metadata files have errors: /var/cache/app-info/xmls/fwupd.xml
Reading package lists... Done
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi'
E: Sub-process returned an error code

我按照这个答案执行了sudo apt install appstream/xenial-backports。

我的appstream包裹已经更新:-

$ appstreamcli --version
AppStream CLI tool version: 0.10.6

之后,强制刷新缓存数据。我收到以下错误:-

$ sudo appstreamcli refresh --force
AppStream system cache was updated, but problems were found: Metadata files have errors: /var/cache/app-info/xmls/fwupd.xml
package-management updates apt 16.04 appstream
  • 1 个回答
  • 1517 Views
Martin Hope
Hannu
Asked: 2018-07-03 07:10:52 +0800 CST

appstreamcli:AppStream系统缓存已更新,但发现问题:元数据文件有错误:/var/cache/app-info/xmls/fwupd.xml

  • 13

我该如何摆脱这个?

$ sudo apt-get 更新
点击:1 http://se.archive.ubuntu.com/ubuntu xenial InRelease
点击:2 http://se.archive.ubuntu.com/ubuntu xenial-updates InRelease                                                                                             
点击:3 http://download.virtualbox.org/virtualbox/debian xenial InRelease                                                                                        
点击:4 http://se.archive.ubuntu.com/ubuntu xenial-backports InRelease                                                        
点击:5 http://ppa.launchpad.net/freecad-community/ppa/ubuntu xenial InRelease                  
获取:6 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
点击:7 http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu xenial InRelease                     
点击:8 http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu xenial InRelease                      
点击:9 http://ppa.launchpad.net/geany-dev/ppa/ubuntu xenial InRelease         
获取:10 http://security.ubuntu.com/ubuntu xenial-security/main amd64 包 [517 kB]               
点击:11 http://ppa.launchpad.net/gezakovacs/ppa/ubuntu xenial InRelease                                        
点击:12 http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu xenial InRelease                            
点击:13 http://ppa.launchpad.net/pmjdebruijn/darktable-release/ubuntu xenial InRelease                          
点击:14 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease                                       
获取:15 http://security.ubuntu.com/ubuntu xenial-security/main i386 包 [455 kB]
获取:16 http://security.ubuntu.com/ubuntu xenial-security/main 翻译-en [221 kB]
获取:17 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 元数据 [67,7 kB]
获取:18 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 图标 [68,0 kB]
获取:19 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 元数据 [107 kB]
获取:20 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 图标 [142 kB]
在 1 秒内获取 1 685 kB (969 kB/s)                                  
AppStream系统缓存已更新,但发现问题:元数据文件有错误:/var/cache/app-info/xmls/fwupd.xml
阅读包裹清单...完成
E: 执行脚本时出现问题 APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; 然后 appstreamcli 刷新缓存 > /dev/null; 菲'
E:子进程返回错误码

$ sudo appstreamcli --version
AppStream CLI 工具版本:0.10.6

$ sudo appstreamcli 刷新缓存 --force --verbose
** (appstreamcli:13014):调试:将 /usr/share/app-info/xmls 添加到元数据搜索路径。
** (appstreamcli:13014):调试:将 /var/lib/app-info/yaml 添加到元数据搜索路径。
** (appstreamcli:13014):调试:将 /var/cache/app-info/xmls 添加到元数据搜索路径。
** (appstreamcli:13014):调试:刷新 AppStream 缓存
** (appstreamcli:13014):调试:在 /usr/share/app-info/xmls 中搜索数据
** (appstreamcli:13014):调试:在 /var/cache/app-info/xmls 中搜索数据
** (appstreamcli:13014):调试:在 /var/lib/app-info/yaml 中搜索数据
** (appstreamcli:13014):调试:阅读:/usr/share/app-info/xmls/org.freedesktop.fwupd.xml
** (appstreamcli:13014):调试:阅读:/var/cache/app-info/xmls/fwupd.xml
** (appstreamcli:13014):调试:警告:无法解析 XML 数据:实体:第 265 行:解析器错误:EntityRef:期待“;”
        <校验和文件名="Firmware_SF30&SN30_Pro_V1.26.dat" target="content" t
                                                            ^

---剪辑-------

** (appstreamcli:13014):调试:system/os/package/zathura-pdf-poppler.desktop 扩展了 system/os/package/zathura.desktop,但未找到 system/os/package/zathura.desktop。
** (appstreamcli:13014):调试:更新内存数据池时出错:元数据文件有错误:/var/cache/app-info/xmls/fwupd.xml
** (appstreamcli:13014):调试:词干语言为:en
AppStream系统缓存已更新,但发现问题:元数据文件有错误:/var/cache/app-info/xmls/fwupd.xml

正在查看: apt-get update 期间的库损坏错误 “补救措施”没有帮助,问题仍然存在。

阅读本文: Ubuntu 16.04: appstreamcli error while get-update ... 遗憾的是,有一个旧版本可供下载和安装作为补救措施。

updates apt 16.04 appstream
  • 2 个回答
  • 8588 Views
Martin Hope
Oli
Asked: 2016-05-21 00:22:35 +0800 CST

什么是 AppStream?为什么要安装它?它在做什么?

  • 28

还有一个关于 AppStream的问题——无论好坏——集中在 AppStream 中似乎是一个特定的错误上,但这让我意识到我不知道这件事到底是什么。

man appstreamcli(应用程序将 CPU 从最深处移除)在混乱中抛出了一些技术术语:

appstreamcli 是一个小型辅助工具,用于处理 AppStream 元数据并从命令行访问 AppStream 组件索引。AppStream 组件索引包含适用于您的分发的所有可用软件组件的列表,与它们的包名称匹配。它是使用您的分销商提供的 AppStream XML 或 Debian DEP-11 数据生成的。

所以......它实际上是为了什么?所有桌面(及其相关的包管理器)都使用它吗?

我实际上的意思是:当我用牙齿把它撕掉时会破裂什么?

appstream
  • 2 个回答
  • 10568 Views

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