When running sudo apt update I receive this error - Metadata files have errors: /var/cache/app-info/xmls/fwupd.xml

Asked by chris pollock

This issue started for me sometime around the middle of July this year. When initially run I'm presented with this error:

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

Running again within a few minutes and the error is gone.

This is:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial

uname -a
Linux localhost 4.15.0-30-generic #32~16.04.1-Ubuntu SMP Thu Jul 26 20:25:39 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Output of - apt-cache policy appstream libappstream3
appstream:
  Installed: 0.10.6-1~ubuntu16.04.2
  Candidate: 0.10.6-1~ubuntu16.04.2
  Version table:
 *** 0.10.6-1~ubuntu16.04.2 100
        100 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages
        100 /var/lib/dpkg/status
     0.9.4-1ubuntu4 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
     0.9.4-1 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
libappstream3:
  Installed: 0.9.4-1ubuntu4
  Candidate: 0.9.4-1ubuntu4
  Version table:
 *** 0.9.4-1ubuntu4 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.9.4-1 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

Running 'sudo appstream refresh --refresh --force gives:

chris@localhost:~$ sudo appstreamcli refresh --force --verbose
[sudo] password for chris:
** (appstreamcli:31561): DEBUG: Added /usr/share/app-info/xmls to metadata search path.
** (appstreamcli:31561): DEBUG: Added /var/lib/app-info/yaml to metadata search path.
** (appstreamcli:31561): DEBUG: Added /var/cache/app-info/xmls to metadata search path.
** (appstreamcli:31561): DEBUG: Refreshing AppStream cache
** (appstreamcli:31561): DEBUG: Searching for data in: /usr/share/app-info/xmls
** (appstreamcli:31561): DEBUG: Searching for data in: /var/cache/app-info/xmls
** (appstreamcli:31561): DEBUG: Searching for data in: /var/lib/app-info/yaml
** (appstreamcli:31561): DEBUG: Reading: /usr/share/app-info/xmls/org.freedesktop.fwupd.xml
** (appstreamcli:31561): DEBUG: Reading: /var/cache/app-info/xmls/fwupd.xml
** (appstreamcli:31561): DEBUG: WARNING: Could not parse XML data: Entity: line 265: parser error : attributes construct error
        <checksum filename="Firmware_SF30&amp;SN30_Pro_V1.26.dat"target="content
                                                                 ^
Entity: line 265: parser error : Couldn't find end of Start Tag checksum line 265
        <checksum filename="Firmware_SF30&amp;SN30_Pro_V1.26.dat"target="content
                                                                 ^
Entity: line 265: parser error : Opening and ending tag mismatch: release line 262 and checksum
"target="content" type="sha1">3ef2bdee8aca2a45b9f53b4d4cce9722523f57f8</checksum
                                                                               ^
Entity: line 269: parser error : Opening and ending tag mismatch: releases line 261 and release
      </release>
                ^
Entity: line 270: parser error : Opening and ending tag mismatch: component line 247 and releases
    </releases>
               ^
Entity: line 278: parser error : Opening and ending tag mismatch: components line 2 and component
  </component>
              ^
Entity: line 279: parser error : Extra content at the end of the document
  <component type="firmware">
  ^

** (appstreamcli:31561): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_multiverse_dep11_Components-amd64.yml.gz
** (appstreamcli:31561): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial_main_dep11_Components-amd64.yml.gz
** (appstreamcli:31561): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial_multiverse_dep11_Components-amd64.yml.gz
** (appstreamcli:31561): DEBUG: Reading: /var/lib/app-info/yaml/security.ubuntu.com_ubuntu_dists_xenial-security_main_dep11_Components-amd64.yml.gz
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: Reading: /var/lib/app-info/yaml/security.ubuntu.com_ubuntu_dists_xenial-security_restricted_dep11_Components-amd64.yml.gz
** (appstreamcli:31561): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial_restricted_dep11_Components-amd64.yml.gz
** (appstreamcli:31561): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial_universe_dep11_Components-amd64.yml.gz
** (appstreamcli:31561): DEBUG: Reading: /var/lib/app-info/yaml/security.ubuntu.com_ubuntu_dists_xenial-security_universe_dep11_Components-amd64.yml.gz
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: Reading: /var/lib/app-info/yaml/security.ubuntu.com_ubuntu_dists_xenial-security_multiverse_dep11_Components-amd64.yml.gz
** (appstreamcli:31561): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_main_dep11_Components-amd64.yml.gz
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_restricted_dep11_Components-amd64.yml.gz
** (appstreamcli:31561): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_universe_dep11_Components-amd64.yml.gz
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-backports_main_dep11_Components-amd64.yml.gz
** (appstreamcli:31561): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-backports_restricted_dep11_Components-amd64.yml.gz
** (appstreamcli:31561): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-backports_multiverse_dep11_Components-amd64.yml.gz
** (appstreamcli:31561): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-backports_universe_dep11_Components-amd64.yml.gz
** (appstreamcli:31561): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/virtualbox.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/mythtv.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/mythtv-setup.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/nm-connection-editor.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/libreoffice-base.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/libreoffice-draw.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/eog.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/libreoffice-math.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/org.gnome.FileRoller.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/shotwell.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/libreoffice-impress.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/emacs24.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/emacs24-term.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/transmission-gtk.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/transmission-qt.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/gvim.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/update-manager.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/vim.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/libreoffice-startcenter.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/evince.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/display-im6.q16.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/libreoffice-calc.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/libreoffice-writer.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/display-im6.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/plan.desktop was already added with the same priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/flcheckers.desktop was already added with the same priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/flblocks.desktop was already added with the same priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/flsudoku.desktop was already added with the same priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/org.kde.kmail.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/atril.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/calibre-gui.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/pcmanfm-desktop-pref.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/pcmanfm.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/epiphany.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/gimp.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/vlc.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/lxterminal.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/kodi.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/org.kde.akregator.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/org.kde.korganizer.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/wpa_gui.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/firewall-config.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/org.kde.kleopatra.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/chromium-browser.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/org.kde.kalarm.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/tracker-preferences.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/tracker-needle.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/org.kde.ark.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/ettercap.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/org.kde.blogilo.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/emacs24-lucid.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/libreoffice-base.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/nm-connection-editor.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/org.gnome.Nautilus.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/gstreamer1.0-plugins-good was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/libreoffice-draw.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/eog.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/libreoffice-math.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/gnome-system-monitor.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/gnome-system-monitor-kde.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/org.gnome.Calendar.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/emacs24.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/emacs24-term.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/transmission-qt.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/vino-preferences.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/gnome-session-properties.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/software-properties-drivers.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/software-properties-gtk.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/software-properties-gnome.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/libreoffice-startcenter.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/evince.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/display-im6.q16.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/display-im6.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/org.gnome.DiskUtility.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/deja-dup.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/org.gnome.font-viewer.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/gnome-sudoku.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/unity-appearance-panel.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/unity-mouse-panel.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/unity-bluetooth-panel.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/unity-sound-panel.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/unity-datetime-panel.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/unity-network-panel.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/unity-wacom-panel.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/unity-region-panel.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/unity-user-accounts-panel.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/unity-keyboard-panel.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/unity-color-panel.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/unity-universal-access-panel.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/xdiagnose.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/upstart-monitor.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/fcitx-configtool.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/fcitx.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/ubiquity.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/language-selector.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/gnome-calculator.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.gnome.FileRoller.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/unity-activity-log-manager-panel.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/activity-log-manager.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/shotwell.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/openjdk-8-policytool.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/ibus-setup.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/libreoffice-impress.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/im-config.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/gvim.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/webbrowser-app.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/transmission-gtk.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/update-manager.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/vim.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/libreoffice-calc.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/libreoffice-writer.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.kde.kmail.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.kde.importwizard was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/atril.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/pcmanfm-desktop-pref.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/pcmanfm.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/evolution-ews' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/org.gnome.taquin.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.kde.klipper was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/caja-browser.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/caja-file-management-properties.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/wpa_gui.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/org.kde.PartitionManager.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/xpdf.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/mate-session-properties.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/gufw.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/org.gnome.Weather.Application.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/muse.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/brasero.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/wireshark-gtk.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/virt-manager.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.kde.kleopatra.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.kde.ark.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/chromium-browser.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.kde.korganizer.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/tracker-preferences.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/tracker-needle.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.kde.akregator.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/mscore.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/abiword.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.kde.blogilo.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/boinc-manager.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/evolution.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/calibre-gui.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/pidgin.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/gstreamer1.0-plugins-bad was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/Thunar-bulk-rename.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/Thunar.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/thunar-settings.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/owncloud.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/comix.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/ubuntu-mate-welcome.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/ubuntu-mate-software.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/vlc.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/epiphany.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/org.gnome.Documents.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/org.gnome.Books.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/lxterminal.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/wireshark.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/kodi.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.kde.akonadiconsole was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/evolution-spamassassin' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/evolution-bogofilter' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/org.gnome.Contacts.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/light-locker-settings.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/CMake.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/firewall-config.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/ubiquity-kdeui.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/gimp.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/lshw-gtk.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/bat.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.kde.kalarm.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/emacs24-lucid.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/mplayer.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/simple-image-reducer.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/org.gnome.Maps.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/yubioath.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/ccsm.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/nut-monitor.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/ettercap.desktop was already added with a higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/lubuntu-nexus7-identica.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: Replaced 'system/os/package/htop.desktop' with data of higher priority.
** (appstreamcli:31561): DEBUG: system/os/package/zathura-pdf-poppler.desktop extends system/os/package/zathura.desktop, but system/os/package/zathura.desktop was not found.
** (appstreamcli:31561): DEBUG: Error while updating the in-memory data pool: Metadata files have errors: /var/cache/app-info/xmls/fwupd.xml
** (appstreamcli:31561): DEBUG: Stemming language is: en
AppStream system cache was updated, but problems were found: Metadata files have errors: /var/cache/app-info/xmls/fwupd.xml
chris@localhost:~$

Having done a lot of searching with Google on this issue I found that there is a problem in line 265 of the file /var/cache/app-info/xmls/fwupd.xml. The fix appears to be to change this portion of the line from this - Firmware_SF30&SN30_Pro_V1.26.dat to this - Firmware_SF30&amp;SN30_Pro_V1.26.dat I have done that as shown below by pasting lines 250->280

<summary>Firmware for the 8Bitdo SF30/SN30 Pro Game Controller</summary>
    <developer_name>8Bitdo</developer_name>
    <description><p>Updating the firmware on your SF30/SN30 Pro device improves performance and adds new features.</p></description>
    <project_license>Proprietary</project_license>
    <url type="homepage">http://www.8bitdo.com/sn30pro-sf30pro/</url>
    <screenshots>
      <screenshot type="default">
        <caption>Unplug the controller, hold down L1 + R1 + START until the red LED on top of the controller is flashing and then reconnect the controller.</caption>
        <image type="source">https://raw.githubusercontent.com/hughsie/8bitdo-firmware/master/screenshots/sn30-pro.svg</image>
      </screenshot>
    </screenshots>
    <releases>
      <release version="1.26" urgency="medium" timestamp="1526688000">
        <location>https://fwupd.org/downloads/3d3a65ee2e8581647fb09d752fa7e21ee1566481-8Bitdo-SF30_Pro-SN30_Pro-1.26.cab</location>
        <checksum filename="3d3a65ee2e8581647fb09d752fa7e21ee1566481-8Bitdo-SF30_Pro-SN30_Pro-1.26.cab" target="container" type="sha1">c33b8487ae9eb332061245a3986e29669f8e82b3</checksum>
        <checksum filename="Firmware_SF30&amp;SN30_Pro_V1.26.dat"target="content" type="sha1">3ef2bdee8aca2a45b9f53b4d4cce9722523f57f8</checksum>
        <description><p>This stable release fixes the following issues:</p><ul><li>Enhance the accuracy of vibration and analog in SWITCH mode</li></ul></description>
        <size type="installed">81436</size>
        <size type="download">83857</size>
      </release>
    </releases>
    <provides>
      <firmware type="flashed">269b3121-097b-50d8-b9ba-d1f64f9cd241</firmware>
      <firmware type="flashed">50afc861-c345-56d2-b4be-8a54e6a1ed12</firmware>
      <firmware type="flashed">81becceb-f87b-5c66-b30a-b0958043d65d</firmware>
      <firmware type="flashed">b3850dd5-a010-5d5c-8834-2ff809e95869</firmware>
      <firmware type="flashed">e5f6e0cf-c156-58e6-94e5-10ef2dff807c</firmware>
    </provides>
  </component>
  <component type="firmware">
    <id>com.8bitdo.sfc30.firmware</id>

Line 265 - <checksum filename="Firmware_SF30&amp;SN30_Pro_V1.26.dat"target="content as it is now.

This will probably be marked as a duplicate of question https://answers.launchpad.net/ubuntu/+question/670595

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Manfred Hampl (m-hampl) said :
#1

I assume that in your attempt to change line 265 of /var/cache/app-info/xmls/fwupd.xml you introduced another error.

Try inserting a space character before the word "target" in that line and re-run the "appstream refresh" command.
What output do you receive now?

Revision history for this message
chris pollock (cpollock) said :
#2

That did the trick Manfred and so far 'sudo apt update' is running without error.

chris@localhost:~$ sudo appstreamcli refresh --force --verbose
[sudo] password for chris:
** (appstreamcli:23132): DEBUG: Added /usr/share/app-info/xmls to metadata search path.
** (appstreamcli:23132): DEBUG: Added /var/lib/app-info/yaml to metadata search path.
** (appstreamcli:23132): DEBUG: Added /var/cache/app-info/xmls to metadata search path.
** (appstreamcli:23132): DEBUG: Refreshing AppStream cache
** (appstreamcli:23132): DEBUG: Searching for data in: /usr/share/app-info/xmls
** (appstreamcli:23132): DEBUG: Searching for data in: /var/cache/app-info/xmls
** (appstreamcli:23132): DEBUG: Searching for data in: /var/lib/app-info/yaml
** (appstreamcli:23132): DEBUG: Reading: /usr/share/app-info/xmls/org.freedesktop.fwupd.xml
** (appstreamcli:23132): DEBUG: Reading: /var/cache/app-info/xmls/fwupd.xml
** (appstreamcli:23132): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_multiverse_dep11_Components-amd64.yml.gz
** (appstreamcli:23132): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial_main_dep11_Components-amd64.yml.gz
** (appstreamcli:23132): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial_multiverse_dep11_Components-amd64.yml.gz
** (appstreamcli:23132): DEBUG: Reading: /var/lib/app-info/yaml/security.ubuntu.com_ubuntu_dists_xenial-security_main_dep11_Components-amd64.yml.gz
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: Reading: /var/lib/app-info/yaml/security.ubuntu.com_ubuntu_dists_xenial-security_restricted_dep11_Components-amd64.yml.gz
** (appstreamcli:23132): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial_restricted_dep11_Components-amd64.yml.gz
** (appstreamcli:23132): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial_universe_dep11_Components-amd64.yml.gz
** (appstreamcli:23132): DEBUG: Reading: /var/lib/app-info/yaml/security.ubuntu.com_ubuntu_dists_xenial-security_universe_dep11_Components-amd64.yml.gz
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: Reading: /var/lib/app-info/yaml/security.ubuntu.com_ubuntu_dists_xenial-security_multiverse_dep11_Components-amd64.yml.gz
** (appstreamcli:23132): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_main_dep11_Components-amd64.yml.gz
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_restricted_dep11_Components-amd64.yml.gz
** (appstreamcli:23132): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_universe_dep11_Components-amd64.yml.gz
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-backports_main_dep11_Components-amd64.yml.gz
** (appstreamcli:23132): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-backports_restricted_dep11_Components-amd64.yml.gz
** (appstreamcli:23132): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-backports_multiverse_dep11_Components-amd64.yml.gz
** (appstreamcli:23132): DEBUG: Reading: /var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-backports_universe_dep11_Components-amd64.yml.gz
** (appstreamcli:23132): DEBUG: YAML: Unknown field 'root/Launchable' found.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/virtualbox.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/mythtv.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/mythtv-setup.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/libreoffice-base.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/libreoffice-draw.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/nm-connection-editor.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/eog.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/libreoffice-math.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/org.gnome.FileRoller.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/shotwell.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/libreoffice-impress.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/emacs24.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/emacs24-term.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/update-manager.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/transmission-qt.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/transmission-gtk.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/gvim.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/vim.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/libreoffice-startcenter.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/evince.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/display-im6.q16.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/libreoffice-calc.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/libreoffice-writer.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/display-im6.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/plan.desktop was already added with the same priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/flcheckers.desktop was already added with the same priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/flblocks.desktop was already added with the same priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/flsudoku.desktop was already added with the same priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/calibre-gui.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/org.kde.kmail.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/atril.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/pcmanfm-desktop-pref.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/pcmanfm.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/epiphany.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/gimp.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/vlc.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/lxterminal.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/kodi.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/org.kde.akregator.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/org.kde.korganizer.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/chromium-browser.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/org.kde.kalarm.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/firewall-config.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/org.kde.ark.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/wpa_gui.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/ettercap.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/tracker-preferences.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/tracker-needle.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/org.kde.kleopatra.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/org.kde.blogilo.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/emacs24-lucid.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/nm-connection-editor.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/gstreamer1.0-plugins-good was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/libreoffice-base.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/libreoffice-draw.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/org.gnome.Nautilus.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/eog.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/libreoffice-math.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/gnome-system-monitor.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/gnome-system-monitor-kde.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/org.gnome.Calendar.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/transmission-qt.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/emacs24.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/emacs24-term.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/software-properties-drivers.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/software-properties-gtk.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/software-properties-gnome.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/gnome-session-properties.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/libreoffice-startcenter.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/evince.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/org.gnome.DiskUtility.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/gnome-sudoku.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/display-im6.q16.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/display-im6.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/vino-preferences.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/deja-dup.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/org.gnome.font-viewer.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/unity-appearance-panel.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/unity-mouse-panel.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/unity-bluetooth-panel.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/unity-sound-panel.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/unity-datetime-panel.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/unity-network-panel.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/unity-wacom-panel.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/unity-region-panel.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/unity-user-accounts-panel.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/unity-keyboard-panel.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/unity-color-panel.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/unity-universal-access-panel.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/xdiagnose.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/upstart-monitor.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/language-selector.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/fcitx-configtool.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/fcitx.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/gnome-calculator.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/ubiquity.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/shotwell.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/ibus-setup.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/unity-activity-log-manager-panel.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/activity-log-manager.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/libreoffice-impress.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/webbrowser-app.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/update-manager.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/openjdk-8-policytool.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/im-config.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/transmission-gtk.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/gvim.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.gnome.FileRoller.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/vim.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/libreoffice-calc.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/libreoffice-writer.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.kde.kmail.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.kde.importwizard was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/pcmanfm-desktop-pref.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/pcmanfm.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/atril.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/org.gnome.taquin.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.kde.klipper was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/evolution-ews' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/caja-browser.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/caja-file-management-properties.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/gufw.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/wpa_gui.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/wireshark-gtk.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/xpdf.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/mate-session-properties.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.kde.akregator.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/org.gnome.Weather.Application.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/muse.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/abiword.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/org.kde.PartitionManager.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/virt-manager.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.kde.kleopatra.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/boinc-manager.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.kde.ark.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/brasero.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/tracker-preferences.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/tracker-needle.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/chromium-browser.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/mscore.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/evolution.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.kde.korganizer.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.kde.blogilo.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/gstreamer1.0-plugins-bad was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/calibre-gui.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/Thunar-bulk-rename.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/Thunar.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/thunar-settings.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/owncloud.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/pidgin.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/comix.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/epiphany.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/wireshark.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/vlc.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/gimp.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/org.gnome.Documents.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/org.gnome.Books.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/lxterminal.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/kodi.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/ccsm.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/ubuntu-mate-welcome.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/ubuntu-mate-software.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/org.gnome.Contacts.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/light-locker-settings.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/CMake.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/lshw-gtk.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/evolution-spamassassin' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/evolution-bogofilter' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/ubiquity-kdeui.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.kde.akonadiconsole was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/org.kde.kalarm.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/firewall-config.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/bat.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/emacs24-lucid.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/mplayer.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/yubioath.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/simple-image-reducer.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/org.gnome.Maps.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/nut-monitor.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Metadata ignored: Detected colliding ids: system/os/package/ettercap.desktop was already added with a higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/lubuntu-nexus7-identica.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: Replaced 'system/os/package/htop.desktop' with data of higher priority.
** (appstreamcli:23132): DEBUG: system/os/package/zathura-pdf-poppler.desktop extends system/os/package/zathura.desktop, but system/os/package/zathura.desktop was not found.
** (appstreamcli:23132): DEBUG: Stemming language is: en
AppStream cache update completed successfully.
chris@localhost:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

This looks good. If you do not see any further problem with appstreamcli and updating, you should set the status of this question document to "solved".

Remark: It might be required to repeat the modification "Firmware_SF30&SN30_Pro_V1.26.dat" -> "Firmware_SF30&amp;SN30_Pro_V1.26.dat" after certain package updates, as long as the related program correction has not been published for Ubuntu xenial.

Revision history for this message
chris pollock (cpollock) said :
#4

So far this morning there are no problems with running 'sudo apt update'. I'll mark this as solved and thank you for the help.

Revision history for this message
chris pollock (cpollock) said :
#5

Thanks Manfred Hampl, that solved my question.

Revision history for this message
chris pollock (cpollock) said :
#6

There is still an issue with this. The fix provided worked for a few days now the problem has returned:

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

Also note that for some reason running 'sudo apt update' a 2nd time even several minutes apart the error had disappeared.

Line 265 of /var/cache/app-info/xmls/fwupd.xml has reverted back to what it was before I made the two changes to it:

<checksum filename="Firmware_SF30&SN30_Pro_V1.26.dat" target="content" type="sha1">3ef2bdee8aca2a45b9f53b4d4cce9722523f57f8</checksum>

Searching back through my syslog hourly snippets after I saw the above I noticed:

Aug 12 06:02:33 localhost gnome-session[3104]: (gnome-software:3306): GsPlugin-WARNING **: Failed to download https://cdn.fwupd.org/downloads/firmware.xml.gz.asc, ignoring: Cannot resolve hostname

Aug 13 06:02:07 localhost fwupd[3361]: (fwupd:3361): As-WARNING **: failed to rescan: Failed to parse /var/cache/app-info/xmls/fwupd.xml file: Error on line 265: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity - escape ampersand as &amp;

The file fwupd.xml was changed at
-rw-r--r-- 1 root root 275847 Aug 13 06:02 fwupd.xml

When going to the link noted above - https://cdn.fwupd.org/downloads/firmware.xml.gz.asc, all that is downloaded is the gpg signature apparently for the fwupd.xml file. Backing up to https://cdn.fwupd.org/downloads/ gives a:

403 Forbidden

So, question is how was the fwupd.xml file changed? I see nothing in my syslog that shows a new file was downloaded however it was changed at 6:02 this morning. Do I change the file again to fix it?

I'm going to tag this as 'I still need an answer' because the file has reverted back to it's original state somehow.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#7

This seems to confirm what I already wrote at the end of my comment #3:

It might be required to repeat the modification "Firmware_SF30&SN30_Pro_V1.26.dat" -> "Firmware_SF30&amp;SN30_Pro_V1.26.dat" after certain package updates, as long as the related program correction has not been published for Ubuntu xenial.

I have no knowledge what exactly the package update is that reverts the contents back to the wrong version with an unescaped ampersand.

Revision history for this message
chris pollock (cpollock) said :
#8

Apologies Manfred I saw that comment but I guess it didn't sink in. I'll change the file back again with the fixes. Just not sure how the file got changed back. Just another mystery I guess. I'll again mark this as solved and your comment above as 'This solved my problem'.

Revision history for this message
chris pollock (cpollock) said :
#9

Thanks Manfred Hampl, that solved my question.