using appstreamcli 0.15.2 build from git master
(g...@github.com:ximion/appstream.git) does not result in any error:

david@bee:~/src/appstream/build$ ./tools/appstreamcli --version
AppStream version: 0.15.2
david@bee:~/src/appstream/build$ sudo ./tools/appstreamcli refresh --force

** (appstreamcli:311703): WARNING **: 09:35:44.249: Found icon of
unknown type 'unknown' in 'system/flatpak/flatpak/cc.nift.nsm/*',
skipping it.

** (appstreamcli:311703): WARNING **: 09:35:44.250: Found icon of unknown type 
'unknown' in 'system/flatpak/flatpak/cc.nift.nsm/*', skipping it.
? Metadata cache was updated successfully.

-- 
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/1958721

Title:
  appstreamcli refresh-cache reports MDB_MAP_FULL

Status in appstream package in Ubuntu:
  Fix Released
Status in appstream source package in Impish:
  New
Status in appstream source package in Jammy:
  Fix Released

Bug description:
  On Ubuntu 21.10 aarch64 AppStream version: 0.14.5

  I get the following error:
  % sudo appstreamcli refresh-cache --force
  Unable to add data: MDB_MAP_FULL: Environment mapsize limit reached

  Using: 
      sudo ltrace -f -l liblmdb.so.0 appstreamcli refresh-cache

  I see that the DB is initialized with a 256MB size
  [pid 244512] libappstream.so.4->mdb_env_set_mapsize(0xaaaad38f46e0, 
0x10000000, 0xaaaad38f46e0, 0) = 0

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to