This bug was fixed in the package appstream - 0.12.10-1

---------------
appstream (0.12.10-1) unstable; urgency=medium

  * New upstream version: 0.12.10
  * appstream: Depend on shared-mime-info explicitly (LP: #1813479)
  * Update build dependencies (added libsoup2.4-dev)
  * Update symbols file
  * less-long-token-noise.patch: Make less noise when encountering
    excessively long search tokens (Closes: #942438)
  * Flag d/rules as not requiring root
  * Bump standards version: No changes needed

 -- Matthias Klumpp <[email protected]>  Sat, 18 Jan 2020 18:58:00 +0100

** Changed in: appstream (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to appstream in Ubuntu.
https://bugs.launchpad.net/bugs/1813479

Title:
  "appstreamcli refresh-cache" does not work without shared-mime-info

Status in appstream package in Ubuntu:
  Fix Released

Bug description:
  Steps to reproduce:

  $ sudo apt-get install appstream
  $ sudo appstreamcli refresh-cache --force --verbose
  AppStream cache update completed successfully.
  # (it works good, because shared-mime-info is installed by default in Ubuntu)

  $ sudo apt-get remove shared-mime-info
  $ sudo apt-get remove --purge shared-mime-info

  $ sudo appstreamcli refresh-cache --force --verbose
  ** (appstreamcli:21810): DEBUG: 15:55:46.549: Reading: 
/var/lib/app-info/yaml/mirror.yandex.ru_ubuntu_dists_bionic_main_dep11_Components-amd64.yml.gz
  ** (appstreamcli:21810): DEBUG: 15:55:46.550: WARNING: Invalid DEP-11 file 
found. Could not parse YAML: control characters are not allowed
  # ... many lines with errors ...
  AppStream system cache was updated, but problems were found: Metadata files 
have errors: [big list of files]

  I think this is just a missing dependency, just add shared-mime-info
  as a dependency for appstream or libappstream4 package

  Ubuntu version (maybe cosmic is also affected, I didn't test it):

  $ lsb_release -rd
  Description:  Ubuntu 18.04.1 LTS
  Release:      18.04

  appstream version:

  $ dpkg -s libappstream4 | grep -i version
  Version: 0.12.0-3ubuntu1
  $ dpkg -s appstream | grep -i version
  Version: 0.12.0-3ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1813479/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to