OS 16.04 LTS Software center mot working properly

Asked by michael doran

OS 16.04 LTS Software center when opened will display only 7 available new programs for "ALL" available programs. Not much of a selection!
Then when I click on "Installed" programs there is only one item displayed called "Core". That's it. As though I don't have a bunch of things already installed.
I have used the Software Updater and it now says that the system is up to date. Yet the "updates" button in the Software Center shows 1 update- which is comprised of: gnome-software; nome-software-common; python3-update-manager, ubuntu-software; unity-control-center: unity-control-center-faces; update-manager; and update-manager-core.

It seems odd that the Software Center would have updates when the Software Updater indicates that all updates have been made. Is this another glitch or have I been invaded?

Obviously something is going on, needs fixing and I am a neophyte at best.
What must I do to repopulate the programs into the software center or fix the glitch that's blocking it?
And is it OK to update from the Software Center as well as the Software Updater?

I have an HP 8540p laptop with core i7 CPU M 620 @ 2.67GHz × 4 with 3.7G of RAM. I am only using the UBUNTU 16.04 OS on it.
 Thanks,
Mike

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

sudo apt-get update; lsb_release -a; uname -a

Thanks

Revision history for this message
michael doran (mkdoran9) said :
#2

*response for sudo apt-get update is:*
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109
kB]
Get:4 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107
kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11
Metadata [67.7 kB]
Get:6 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64
Icons [68.0 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11
Metadata [318 kB]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/universe amd64
DEP-11 Metadata [107 kB]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11
64x64 Icons [142 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64
Icons [228 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64
DEP-11 Metadata [246 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11
64x64 Icons [331 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64
DEP-11 Metadata [5,964 B]
Get:14 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64
DEP-11 Metadata [3,328 B]
Get:15 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe amd64
DEP-11 Metadata [5,100 B]
Fetched 1,845 kB in 6s (296 kB/s)

AppStream cache update completed, but some metadata was ignored due to
errors.
Reading package lists... Done

*response for lsb_release -a is:*
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial

*response for **uname -a is*:
Linux keats2-HP-EliteBook-8540p 4.4.0-128-generic #154-Ubuntu SMP Fri May
25 14:15:18 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

On Sun, Jul 1, 2018 at 4:17 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #670595 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/670595
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> What is the output of:
>
> sudo apt-get update; lsb_release -a; uname -a
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/670595
>
> You received this question notification because you asked the question.
>

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

The message
"AppStream cache update completed, but some metadata was ignored due to errors."
might be relevant in this case-

What is the output of the commands

apt-cache policy appstream libappstream3
sudo appstreamcli refresh --force --verbose`

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

Oops, sorry, an extra quote character:

What is the output of the commands

apt-cache policy appstream libappstream3
sudo appstreamcli refresh --force --verbose

Revision history for this message
michael doran (mkdoran9) said :
#5

*output for apt-cache policy appstream libappstream3 is:*
  Installed: 0.9.4-1ubuntu3
  Candidate: 0.9.4-1ubuntu3
  Version table:
     0.10.6-1~ubuntu16.04.2 100
        100 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64
Packages
 *** 0.9.4-1ubuntu3 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
libappstream3:
  Installed: 0.9.4-1ubuntu3
  Candidate: 0.9.4-1ubuntu3
  Version table:
 *** 0.9.4-1ubuntu3 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

* and the output for sudo appstreamcli refresh --force --verbose is really
long - actually verbose!:*

** (appstreamcli:4404): DEBUG: Refreshing AppStream cache
** (appstreamcli:4404): DEBUG: Reading:
/usr/share/app-info/xmls/org.freedesktop.fwupd.xml
** (appstreamcli:4404): DEBUG: Reading:
/var/lib/app-info/yaml/security.ubuntu.com_ubuntu_dists_xenial-security_main_dep11_Components-amd64.yml.gz
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: Reading:
/var/lib/app-info/yaml/security.ubuntu.com_ubuntu_dists_xenial-security_restricted_dep11_Components-amd64.yml.gz
** (appstreamcli:4404): DEBUG: Reading:
/var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial_main_dep11_Components-amd64.yml.gz
** (appstreamcli:4404): DEBUG: Reading:
/var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial_restricted_dep11_Components-amd64.yml.gz
** (appstreamcli:4404): DEBUG: Reading:
/var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial_universe_dep11_Components-amd64.yml.gz
** (appstreamcli:4404): DEBUG: Reading:
/var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial_multiverse_dep11_Components-amd64.yml.gz
** (appstreamcli:4404): DEBUG: Reading:
/var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_main_dep11_Components-amd64.yml.gz
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: Reading:
/var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_restricted_dep11_Components-amd64.yml.gz
** (appstreamcli:4404): DEBUG: Reading:
/var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_universe_dep11_Components-amd64.yml.gz
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: Reading:
/var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_multiverse_dep11_Components-amd64.yml.gz
** (appstreamcli:4404): DEBUG: Reading:
/var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-backports_main_dep11_Components-amd64.yml.gz
** (appstreamcli:4404): DEBUG: Reading:
/var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-backports_restricted_dep11_Components-amd64.yml.gz
** (appstreamcli:4404): DEBUG: Reading:
/var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-backports_universe_dep11_Components-amd64.yml.gz
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: Reading:
/var/lib/app-info/yaml/us.archive.ubuntu.com_ubuntu_dists_xenial-backports_multiverse_dep11_Components-amd64.yml.gz
** (appstreamcli:4404): DEBUG: Reading:
/var/lib/app-info/yaml/security.ubuntu.com_ubuntu_dists_xenial-security_universe_dep11_Components-amd64.yml.gz
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: DEP11: Unknown key 'root/Launchable' found.
** (appstreamcli:4404): DEBUG: Reading:
/var/lib/app-info/yaml/security.ubuntu.com_ubuntu_dists_xenial-security_multiverse_dep11_Components-amd64.yml.gz
** (appstreamcli:4404): DEBUG: Reading: /var/cache/app-info/xmls/fwupd.xml
** (appstreamcli:4404): DEBUG: WARNING: Could not parse XML: Entity: line
265: parser error : EntityRef: expecting ';'
        <checksum filename="Firmware_SF30&SN30_Pro_V1.26.dat"
target="content" t
                                                            ^

** (appstreamcli:4404): DEBUG: Detected colliding ids: vim.desktop was
already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids: eog.desktop was
already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
libreoffice-base.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
org.gnome.FileRoller.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
transmission-gtk.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
nm-connection-editor.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids: gvim.desktop was
already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
libreoffice-impress.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
display-im6.q16.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
libreoffice-calc.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids: evince.desktop was
already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
update-manager.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
transmission-qt.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids: shotwell.desktop was
already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
libreoffice-startcenter.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
libreoffice-math.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
libreoffice-draw.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids: display-im6.desktop
was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
libreoffice-writer.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids: emacs24.desktop was
already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids: emacs24-term.desktop
was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids: plan.desktop was
already added with the same priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids: flcheckers.desktop
was already added with the same priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids: flblocks.desktop was
already added with the same priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids: flsudoku.desktop was
already added with the same priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
nm-connection-editor.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
gstreamer1.0-plugins-good was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.gnome.Nautilus.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
libreoffice-draw.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
libreoffice-base.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
libreoffice-math.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids: eog.desktop was
already added with a higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'gnome-session-properties.desktop'
with data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'gnome-system-monitor.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'gnome-system-monitor-kde.desktop'
with data of higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids: emacs24.desktop was
already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids: emacs24-term.desktop
was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
transmission-qt.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'vino-preferences.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced
'software-properties-drivers.desktop' with data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'software-properties-gtk.desktop'
with data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'software-properties-gnome.desktop'
with data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.gnome.Calendar.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
libreoffice-startcenter.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
display-im6.q16.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids: evince.desktop was
already added with a higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'gnome-sudoku.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.gnome.DiskUtility.desktop'
with data of higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids: display-im6.desktop
was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'deja-dup.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.gnome.font-viewer.desktop'
with data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'unity-appearance-panel.desktop'
with data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'unity-mouse-panel.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'unity-bluetooth-panel.desktop'
with data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'unity-sound-panel.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'unity-datetime-panel.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'unity-network-panel.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'unity-wacom-panel.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'unity-region-panel.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'unity-user-accounts-panel.desktop'
with data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'unity-keyboard-panel.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'unity-color-panel.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced
'unity-universal-access-panel.desktop' with data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'xdiagnose.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'upstart-monitor.desktop' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'language-selector.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
org.gnome.FileRoller.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'fcitx-configtool.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'fcitx.desktop' with data of higher
priority.
** (appstreamcli:4404): DEBUG: Replaced 'ubiquity.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids: shotwell.desktop was
already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
openjdk-8-policytool.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
libreoffice-impress.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'gnome-calculator.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'im-config.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'webbrowser-app.desktop' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced
'unity-activity-log-manager-panel.desktop' with data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'activity-log-manager.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
update-manager.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'ibus-setup.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids: gvim.desktop was
already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
transmission-gtk.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
libreoffice-calc.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids: vim.desktop was
already added with a higher priority.
** (appstreamcli:4404): DEBUG: Detected colliding ids:
libreoffice-writer.desktop was already added with a higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.kde.kmail.desktop' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'atril.desktop' with data of higher
priority.
** (appstreamcli:4404): DEBUG: Replaced 'pcmanfm-desktop-pref.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'pcmanfm.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'evolution-ews' with data of higher
priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.gnome.taquin.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'caja-browser.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced
'caja-file-management-properties.desktop' with data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'wpa_gui.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.kde.PartitionManager.desktop'
with data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'mate-session-properties.desktop'
with data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.kde.akregator.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'gufw.desktop' with data of higher
priority.
** (appstreamcli:4404): DEBUG: Replaced
'org.gnome.Weather.Application.desktop' with data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'muse.desktop' with data of higher
priority.
** (appstreamcli:4404): DEBUG: Replaced 'brasero.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'virt-manager.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'boinc-manager.desktop' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.kde.kleopatra.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.kde.ark.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'abiword.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.kde.korganizer.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'chromium-browser.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'tracker-preferences.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'tracker-needle.desktop' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'mscore.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.kde.blogilo.desktop' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'evolution.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'calibre-gui.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'Thunar-bulk-rename.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'Thunar.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'thunar-settings.desktop' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'owncloud.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.gnome.Documents.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.gnome.Books.desktop' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'vlc.desktop' with data of higher
priority.
** (appstreamcli:4404): DEBUG: Replaced 'epiphany.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'comix.desktop' with data of higher
priority.
** (appstreamcli:4404): DEBUG: Replaced 'kodi.desktop' with data of higher
priority.
** (appstreamcli:4404): DEBUG: Replaced 'gimp.desktop' with data of higher
priority.
** (appstreamcli:4404): DEBUG: Replaced 'evolution-spamassassin' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'evolution-bogofilter' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'ccsm.desktop' with data of higher
priority.
** (appstreamcli:4404): DEBUG: Replaced 'lxterminal.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'lshw-gtk.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'light-locker-settings.desktop'
with data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.gnome.Contacts.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'ubuntu-mate-welcome.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'ubuntu-mate-software.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'firewall-config.desktop' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'simple-image-reducer.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'bat.desktop' with data of higher
priority.
** (appstreamcli:4404): DEBUG: Replaced 'yubioath.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'ubiquity-kdeui.desktop' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.gnome.Maps.desktop' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'emacs24-lucid.desktop' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.kde.kalarm.desktop' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'nut-monitor.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'mplayer.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'CMake.desktop' with data of higher
priority.
** (appstreamcli:4404): DEBUG: Replaced 'ettercap.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'htop.desktop' with data of higher
priority.
** (appstreamcli:4404): DEBUG: Replaced 'lubuntu-nexus7-identica.desktop'
with data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'mythtv-setup.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'mythtv.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'virtualbox.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'gstreamer1.0-plugins-bad' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.kde.kmail.desktop' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.kde.importwizard' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'atril.desktop' with data of higher
priority.
** (appstreamcli:4404): DEBUG: Replaced 'pidgin.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'calibre-gui.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'pcmanfm-desktop-pref.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'pcmanfm.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.kde.klipper' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.kde.akonadiconsole' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'wpa_gui.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'vlc.desktop' with data of higher
priority.
** (appstreamcli:4404): DEBUG: Replaced 'epiphany.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'kodi.desktop' with data of higher
priority.
** (appstreamcli:4404): DEBUG: Replaced 'gimp.desktop' with data of higher
priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.kde.akregator.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.kde.korganizer.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'wireshark.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'lxterminal.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.kde.kleopatra.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.kde.kalarm.desktop' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'chromium-browser.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'wireshark-gtk.desktop' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'firewall-config.desktop' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.kde.ark.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'tracker-preferences.desktop' with
data of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'tracker-needle.desktop' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'org.kde.blogilo.desktop' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'emacs24-lucid.desktop' with data
of higher priority.
** (appstreamcli:4404): DEBUG: Replaced 'ettercap.desktop' with data of
higher priority.
** (appstreamcli:4404): DEBUG: zathura-pdf-poppler.desktop extends
zathura.desktop, but zathura.desktop was not found.
** (appstreamcli:4404): DEBUG: Removing old rebuild-dir from previous
database rebuild.
AppStream cache update completed, but some metadata was ignored due to
errors.

Thanks,
Mike

On Mon, Jul 2, 2018 at 7:27 AM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #670595 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/670595
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> The message
> "AppStream cache update completed, but some metadata was ignored due to
> errors."
> might be relevant in this case-
>
> What is the output of the commands
>
> apt-cache policy appstream libappstream3
> sudo appstreamcli refresh --force --verbose`
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/670595
>
> You received this question notification because you asked the question.
>

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

I see two unexpected items in your output:
1. There is a newer version from xenial-backports available, but not installed on your system
2. The error message
** (appstreamcli:4404): DEBUG: Reading: /var/cache/app-info/xmls/fwupd.xml
** (appstreamcli:4404): DEBUG: WARNING: Could not parse XML: Entity: line
265: parser error : EntityRef: expecting ';'
         <checksum filename="Firmware_SF30&SN30_Pro_V1.26.dat"
target="content" t

What output do you receive for the commands

sudo apt-get install appstream
sudo appstreamcli refresh --force

Revision history for this message
michael doran (mkdoran9) said :
#7

OK
*Output for sudo apt-get install appstream is:*
Reading package lists... Done
Building dependency tree
Reading state information... Done
appstream is already the newest version (0.9.4-1ubuntu3).
appstream set to manually installed.
The following packages were automatically installed and are no longer
required:
  libfreetype6:i386 libfuse2:i386 libllvm4.0 libpng12-0:i386 libqmi-glib1
  libqpdf17 libqt5x11extras5 libsdl-image1.2 libva-drm1 libva-x11-1
  libxcb-composite0 libxcb-xv0 linux-headers-4.4.0-101
  linux-headers-4.4.0-101-generic linux-headers-4.4.0-103
  linux-headers-4.4.0-103-generic linux-headers-4.4.0-104
  linux-headers-4.4.0-104-generic linux-headers-4.4.0-109
  linux-headers-4.4.0-109-generic linux-headers-4.4.0-112
  linux-headers-4.4.0-112-generic linux-headers-4.4.0-116
  linux-headers-4.4.0-116-generic linux-headers-4.4.0-119
  linux-headers-4.4.0-119-generic linux-headers-4.4.0-122
  linux-headers-4.4.0-122-generic linux-headers-4.4.0-124
  linux-headers-4.4.0-124-generic linux-headers-4.4.0-96
  linux-headers-4.4.0-96-generic linux-headers-4.4.0-97
  linux-headers-4.4.0-97-generic linux-headers-4.4.0-98
  linux-headers-4.4.0-98-generic linux-image-4.4.0-101-generic
  linux-image-4.4.0-103-generic linux-image-4.4.0-104-generic
  linux-image-4.4.0-109-generic linux-image-4.4.0-112-generic
  linux-image-4.4.0-116-generic linux-image-4.4.0-119-generic
  linux-image-4.4.0-122-generic linux-image-4.4.0-124-generic
  linux-image-4.4.0-96-generic linux-image-4.4.0-97-generic
  linux-image-4.4.0-98-generic linux-image-extra-4.4.0-101-generic
  linux-image-extra-4.4.0-103-generic linux-image-extra-4.4.0-104-generic
  linux-image-extra-4.4.0-109-generic linux-image-extra-4.4.0-112-generic
  linux-image-extra-4.4.0-116-generic linux-image-extra-4.4.0-119-generic
  linux-image-extra-4.4.0-122-generic linux-image-extra-4.4.0-124-generic
  linux-image-extra-4.4.0-96-generic linux-image-extra-4.4.0-97-generic
  linux-image-extra-4.4.0-98-generic vlc-plugin-notify vlc-plugin-samba
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.

*Then the output for sudo appstreamcli refresh --force is:*
AppStream cache update completed, but some metadata was ignored due to
errors.

Thanks,
Mike

On Tue, Jul 3, 2018 at 3:32 AM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #670595 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/670595
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> I see two unexpected items in your output:
> 1. There is a newer version from xenial-backports available, but not
> installed on your system
> 2. The error message
> ** (appstreamcli:4404): DEBUG: Reading: /var/cache/app-info/xmls/fwupd.xml
> ** (appstreamcli:4404): DEBUG: WARNING: Could not parse XML: Entity: line
> 265: parser error : EntityRef: expecting ';'
> <checksum filename="Firmware_SF30&SN30_Pro_V1.26.dat"
> target="content" t
>
> What output do you receive for the commands
>
> sudo apt-get install appstream
> sudo appstreamcli refresh --force
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/670595
>
> You received this question notification because you asked the question.
>

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

ok, the first command did not have the desired results (and consequently the second one as well), try again with

sudo apt-get install appstream/xenial-backports
sudo appstreamcli refresh --force

and report the results.

Revision history for this message
michael doran (mkdoran9) said :
#9

OK
*The output for sudo apt-get install appstream/xenial-backports is: *
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '0.10.6-1~ubuntu16.04.2' (Ubuntu:16.04/xenial-backports
[amd64]) for 'appstream'
Selected version '0.10.6-1~ubuntu16.04.2' (Ubuntu:16.04/xenial-backports
[amd64]) for 'libappstream4' because of 'appstream'
The following packages were automatically installed and are no longer
required:
  libappstream3 linux-headers-4.4.0-127 linux-headers-4.4.0-127-generic
  linux-image-4.4.0-127-generic linux-image-extra-4.4.0-127-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libappstream4 libstemmer0d
The following NEW packages will be installed:
  libappstream4 libstemmer0d
The following packages will be upgraded:
  appstream
1 upgraded, 2 newly installed, 0 to remove and 10 not upgraded.
Need to get 246 kB of archives.
After this operation, 987 kB of additional disk space will be used.
Do you want to continue? [Y/n]

*It looked like a good idea but I did not do anything instead just entered
the next command*
*So *
*The output for **sudo appstreamcli refresh --force is*:
AppStream cache update completed, but some metadata was ignored due to
errors.

Thanks,
Mike

On Wed, Jul 4, 2018 at 3:53 AM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #670595 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/670595
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> ok, the first command did not have the desired results (and consequently
> the second one as well), try again with
>
> sudo apt-get install appstream/xenial-backports
> sudo appstreamcli refresh --force
>
> and report the results.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/670595/+confirm?answer_id=7
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/670595
>
> You received this question notification because you asked the question.
>

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

Did you now install the updated version of appstream or did you abort the installation at the "Do you want to continue? [Y/n]" prompt?

Revision history for this message
michael doran (mkdoran9) said :
#11

I aborted the installation - shall I do the installation?

On Thu, Jul 5, 2018 at 3:17 AM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #670595 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/670595
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Did you now install the updated version of appstream or did you abort
> the installation at the "Do you want to continue? [Y/n]" prompt?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/670595
>
> You received this question notification because you asked the question.
>

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

Yes, of course that was the idea:
Perform the update to the newest version of the appstream packages to check, whether that "some metadata was ignored due to errors" message is still shown. (This would point towards faulty data.)

Revision history for this message
michael doran (mkdoran9) said :
#13

OK I updated the appstream packages and got this:

Do you want to continue? [Y/n] Y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64
libstemmer0d amd64 0+svn585-1 [62.1 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64
libappstream4 amd64 0.10.6-1~ubuntu16.04.2 [87.2 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64
appstream amd64 0.10.6-1~ubuntu16.04.2 [97.0 kB]
Fetched 246 kB in 0s (280 kB/s)
Selecting previously unselected package libstemmer0d:amd64.
(Reading database ... 249282 files and directories currently installed.)
Preparing to unpack .../libstemmer0d_0+svn585-1_amd64.deb ...
Unpacking libstemmer0d:amd64 (0+svn585-1) ...
Selecting previously unselected package libappstream4:amd64.
Preparing to unpack .../libappstream4_0.10.6-1~ubuntu16.04.2_amd64.deb ...
Unpacking libappstream4:amd64 (0.10.6-1~ubuntu16.04.2) ...
Preparing to unpack .../appstream_0.10.6-1~ubuntu16.04.2_amd64.deb ...
Unpacking appstream (0.10.6-1~ubuntu16.04.2) over (0.9.4-1ubuntu3) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libstemmer0d:amd64 (0+svn585-1) ...
Setting up libappstream4:amd64 (0.10.6-1~ubuntu16.04.2) ...
Setting up appstream (0.10.6-1~ubuntu16.04.2) ...
Installing new version of config file /etc/appstream.conf ...
Installing new version of config file /etc/apt/apt.conf.d/50appstream ...
AppStream system cache was updated, but problems were found: Metadata files
have errors: /var/cache/app-info/xmls/fwupd.xml
Processing triggers for libc-bin (2.23-0ubuntu10) ...

Looks like faulty data then. Right?

Thanks
Mike

On Fri, Jul 6, 2018 at 3:19 AM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #670595 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/670595
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Yes, of course that was the idea:
> Perform the update to the newest version of the appstream packages to
> check, whether that "some metadata was ignored due to errors" message is
> still shown. (This would point towards faulty data.)
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/670595/+
> confirm?answer_id=11
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/670595
>
> You received this question notification because you asked the question.
>

Revision history for this message
michael doran (mkdoran9) said :
#14

I also performed this as previously instructed:

sudo appstreamcli refresh --force
AppStream system cache was updated, but problems were found: Metadata files
have errors: /var/cache/app-info/xmls/fwupd.xml

I looked at the fwupd.xml file, opened it, and found this:

XML Parsing Error: not well-formed
Location: file:///var/cache/app-info/xmls/fwupd.xml
Line Number 265, Column 61: <checksum
filename="Firmware_SF30&SN30_Pro_V1.26.dat" target="content"
type="sha1">3ef2bdee8aca2a45b9f53b4d4cce9722523f57f8</checksum>

I hope all of this adds some helpful information.

Mike

On Sun, Jul 8, 2018 at 9:47 PM, Michael Doran <email address hidden> wrote:

> OK I updated the appstream packages and got this:
>
> Do you want to continue? [Y/n] Y
> Get:1 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64
> libstemmer0d amd64 0+svn585-1 [62.1 kB]
> Get:2 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64
> libappstream4 amd64 0.10.6-1~ubuntu16.04.2 [87.2 kB]
> Get:3 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64
> appstream amd64 0.10.6-1~ubuntu16.04.2 [97.0 kB]
> Fetched 246 kB in 0s (280 kB/s)
> Selecting previously unselected package libstemmer0d:amd64.
> (Reading database ... 249282 files and directories currently installed.)
> Preparing to unpack .../libstemmer0d_0+svn585-1_amd64.deb ...
> Unpacking libstemmer0d:amd64 (0+svn585-1) ...
> Selecting previously unselected package libappstream4:amd64.
> Preparing to unpack .../libappstream4_0.10.6-1~ubuntu16.04.2_amd64.deb ...
> Unpacking libappstream4:amd64 (0.10.6-1~ubuntu16.04.2) ...
> Preparing to unpack .../appstream_0.10.6-1~ubuntu16.04.2_amd64.deb ...
> Unpacking appstream (0.10.6-1~ubuntu16.04.2) over (0.9.4-1ubuntu3) ...
> Processing triggers for libc-bin (2.23-0ubuntu10) ...
> Processing triggers for man-db (2.7.5-1) ...
> Setting up libstemmer0d:amd64 (0+svn585-1) ...
> Setting up libappstream4:amd64 (0.10.6-1~ubuntu16.04.2) ...
> Setting up appstream (0.10.6-1~ubuntu16.04.2) ...
> Installing new version of config file /etc/appstream.conf ...
> Installing new version of config file /etc/apt/apt.conf.d/50appstream ...
> AppStream system cache was updated, but problems were found: Metadata
> files have errors: /var/cache/app-info/xmls/fwupd.xml
> Processing triggers for libc-bin (2.23-0ubuntu10) ...
>
>
> Looks like faulty data then. Right?
>
> Thanks
> Mike
>
> On Fri, Jul 6, 2018 at 3:19 AM, Manfred Hampl <question670595@answers.
> launchpad.net> wrote:
>
>> Your question #670595 on Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+question/670595
>>
>> Status: Open => Answered
>>
>> Manfred Hampl proposed the following answer:
>> Yes, of course that was the idea:
>> Perform the update to the newest version of the appstream packages to
>> check, whether that "some metadata was ignored due to errors" message is
>> still shown. (This would point towards faulty data.)
>>
>> --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>> https://answers.launchpad.net/ubuntu/+question/670595/+confi
>> rm?answer_id=11
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https://answers.launchpad.net/ubuntu/+question/670595
>>
>> You received this question notification because you asked the question.
>>
>
>

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

This now seems to be Bug #1780520 (or Bug #1780442 ).

There are some comments on the web recommending the following as a workaround:

Edit the /var/cache/app-info/xmls/fwupd.xml file and change the string
"Firmware_SF30&SN30_Pro_V1.26.dat"
into
"Firmware_SF30&amp;SN30_Pro_V1.26.dat"

Revision history for this message
michael doran (mkdoran9) said :
#16

Never having done this, do I use text editor?

On Mon, Jul 9, 2018 at 3:03 AM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #670595 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/670595
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> This now seems to be Bug #1780520 (or Bug #1780442 ).
>
> There are some comments on the web recommending the following as a
> workaround:
>
> Edit the /var/cache/app-info/xmls/fwupd.xml file and change the string
> "Firmware_SF30&SN30_Pro_V1.26.dat"
> into
> "Firmware_SF30&amp;SN30_Pro_V1.26.dat"
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/670595/+
> confirm?answer_id=14
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/670595
>
> You received this question notification because you asked the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#17

Yes. Run:

sudo cp /var/cache/app-info/xmls/fwupd.xml /var/cache/app-info/xmls/fwupd.xml-20180710

sudo gedit /var/cache/app-info/xmls/fwupd.xml

Then make the change.

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

I've been having this issue also since mid July. I went through and made the change you noted to line 265 of /var/cache/app-info/xmls/fwupd.xml

filename="Firmware_SF30&amp;SN30_Pro_V1.26.dat"
                                                          ^^^^
However, running 'sudo apt update' still gives the same issue:

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

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 appstreamcli refresh --force --verbose
** (appstreamcli:6860): DEBUG: Added /usr/share/app-info/xmls to metadata search path.
** (appstreamcli:6860): DEBUG: Added /var/lib/app-info/yaml to metadata search path.
** (appstreamcli:6860): DEBUG: Added /var/cache/app-info/xmls to metadata search path.
** (appstreamcli:6860): DEBUG: Refreshing AppStream cache
** (appstreamcli:6860): DEBUG: Searching for data in: /usr/share/app-info/xmls
** (appstreamcli:6860): DEBUG: Searching for data in: /var/cache/app-info/xmls
** (appstreamcli:6860): DEBUG: Searching for data in: /var/lib/app-info/yaml
** (appstreamcli:6860): DEBUG: Reading: /usr/share/app-info/xmls/org.freedesktop.fwupd.xml
** (appstreamcli:6860): DEBUG: Reading: /var/cache/app-info/xmls/fwupd.xml
** (appstreamcli:6860): 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">
[......]

This still happens intermittently. It may happen once and the next time sudo apt update is run the issue is gone.

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

@chris pollock: Please do not piggyback on somebody else's question, but create a question document for yourself.
I assume that your problem is caused by an error when trying to edit the faulty fwupd.xml file.
Please create a separate question document and provide the contents of lines 250-280 of that file, together with basic information about your system (like uname -a and lab_release -crid).

Can you help with this problem?

Provide an answer of your own, or ask michael doran for more information if necessary.

To post a message you must log in.