I can confirm, experiencing the same.

So from what I understand is that apt executes

if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli;
then appstreamcli refresh-cache > /dev/null; fi

which fails. It checks whether the two files /var/cache/app-info and
/usr/bin/appstreamcli both exist and if so it attempts to run
appstreamcli. appstreamcli handles AppStream metadata and the AppStream
index.

/var/cache/app-info does not exist on my system. Not sure if it is
supposed to be there all the time or just during the uggrade process.

Leaving my VM in the current condition so I can gather more information
if needed.

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

Title:
  Crash on Upgrade to 18.10 from 18.04 Network Not Available

Status in appstream package in Ubuntu:
  Confirmed

Bug description:
  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
  The above error is in the small box.  The information below is in the 
terminal window that I thought might give clues on what happened on disto 
upgrade to 18.10 from command line.

   
  QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
  kdeinit5: Got EXEC_NEW 
'/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/http.so' from launcher.
  kdeinit5: preparing to launch 
'/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/http.so'
  QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
  kdeinit5: Got EXT_EXEC '/usr/bin/firefox' from launcher.
  kdeinit5: preparing to launch '/usr/bin/firefox'
  kdeinit5: PID 5799 terminated.

  (appstreamcli:6926): GLib-CRITICAL **: 21:59:50.626:
  g_variant_builder_end: assertion '!GVSB(builder)->uniform_item_types
  || GVSB(builder)->prev_item_type != NULL || g_variant_type_is_definite
  (GVSB(builder)->type)' failed

  (appstreamcli:6926): GLib-CRITICAL **: 21:59:50.626:
  g_variant_new_variant: assertion 'value != NULL' failed

  (appstreamcli:6926): GLib-ERROR **: 21:59:50.626: g_variant_new_parsed: 
11-13:invalid GVariant format string
  Trace/breakpoint trap (core dumped)
  QXcbConnection: XCB error: 3 (BadWindow), sequence: 792, resource id: 
39845978, major code: 40 (TranslateCoords), minor code: 0

  (appstreamcli:8091): GLib-CRITICAL **: 22:00:11.961:
  g_variant_builder_end: assertion '!GVSB(builder)->uniform_item_types
  || GVSB(builder)->prev_item_type != NULL || g_variant_type_is_definite
  (GVSB(builder)->type)' failed

  (appstreamcli:8091): GLib-CRITICAL **: 22:00:11.961:
  g_variant_new_variant: assertion 'value != NULL' failed

  (appstreamcli:8091): GLib-ERROR **: 22:00:11.961: g_variant_new_parsed: 
11-13:invalid GVariant format string
  Trace/breakpoint trap (core dumped)

  (appstreamcli:8899): GLib-CRITICAL **: 22:00:17.376:
  g_variant_builder_end: assertion '!GVSB(builder)->uniform_item_types
  || GVSB(builder)->prev_item_type != NULL || g_variant_type_is_definite
  (GVSB(builder)->type)' failed

  (appstreamcli:8899): GLib-CRITICAL **: 22:00:17.376:
  g_variant_new_variant: assertion 'value != NULL' failed

  (appstreamcli:8899): GLib-ERROR **: 22:00:17.376: g_variant_new_parsed: 
11-13:invalid GVariant format string
  Trace/breakpoint trap (core dumped)

  (appstreamcli:9701): GLib-CRITICAL **: 22:00:21.530:
  g_variant_builder_end: assertion '!GVSB(builder)->uniform_item_types
  || GVSB(builder)->prev_item_type != NULL || g_variant_type_is_definite
  (GVSB(builder)->type)' failed

  (appstreamcli:9701): GLib-CRITICAL **: 22:00:21.530:
  g_variant_new_variant: assertion 'value != NULL' failed

  (appstreamcli:9701): GLib-ERROR **: 22:00:21.530: g_variant_new_parsed: 
11-13:invalid GVariant format string
  Trace/breakpoint trap (core dumped)
  kdeinit5: PID 6868 terminated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1794213/+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