GLib-Error when using apt-get update











up vote
0
down vote

favorite












(appstreamcli:13767): GLib-CRITICAL **: 08:57:18.126: 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:13767): GLib-CRITICAL **: 08:57:18.126: g_variant_new_variant: assertion 'value != NULL' failed

(appstreamcli:13767): GLib-ERROR **: 08:57:18.126: g_variant_new_parsed: 11-13:invalid GVariant format string
Trace/breakpoint trap (core dumped)
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









share|improve this question




























    up vote
    0
    down vote

    favorite












    (appstreamcli:13767): GLib-CRITICAL **: 08:57:18.126: 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:13767): GLib-CRITICAL **: 08:57:18.126: g_variant_new_variant: assertion 'value != NULL' failed

    (appstreamcli:13767): GLib-ERROR **: 08:57:18.126: g_variant_new_parsed: 11-13:invalid GVariant format string
    Trace/breakpoint trap (core dumped)
    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









    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      (appstreamcli:13767): GLib-CRITICAL **: 08:57:18.126: 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:13767): GLib-CRITICAL **: 08:57:18.126: g_variant_new_variant: assertion 'value != NULL' failed

      (appstreamcli:13767): GLib-ERROR **: 08:57:18.126: g_variant_new_parsed: 11-13:invalid GVariant format string
      Trace/breakpoint trap (core dumped)
      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









      share|improve this question















      (appstreamcli:13767): GLib-CRITICAL **: 08:57:18.126: 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:13767): GLib-CRITICAL **: 08:57:18.126: g_variant_new_variant: assertion 'value != NULL' failed

      (appstreamcli:13767): GLib-ERROR **: 08:57:18.126: g_variant_new_parsed: 11-13:invalid GVariant format string
      Trace/breakpoint trap (core dumped)
      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 package-management updates error-handling






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 30 at 18:32









      abu_bua

      3,16081023




      3,16081023










      asked Oct 30 at 15:05









      Marco Castro

      12




      12






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          I had the same problem in debian buster and found this to work: this





          1. Purge appstream and gnome packages (to be safe, make a list of packages to re-install latter on):



            # apt-get remove --purge appstream gnome*



          You can use the command tasksel --list-tasks to see available desktop options to install.






          share|improve this answer





















          • are you sure to run apt-get remove --purge gnome*? that's will remove all gnome packages which to handle Ubuntu Packages Graphical and your link reference is not yet get response another users, is it an good answer or an bad answer!!!
            – abu-ahmed al-khatiri
            Nov 28 at 15:43










          • That's what I did, remove all gnome packages and reinstalled the task-gnome-desktop, that will reinstall the desktop environment back. That fixed the problem.
            – user1694490
            Nov 28 at 17:46











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1088606%2fglib-error-when-using-apt-get-update%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          I had the same problem in debian buster and found this to work: this





          1. Purge appstream and gnome packages (to be safe, make a list of packages to re-install latter on):



            # apt-get remove --purge appstream gnome*



          You can use the command tasksel --list-tasks to see available desktop options to install.






          share|improve this answer





















          • are you sure to run apt-get remove --purge gnome*? that's will remove all gnome packages which to handle Ubuntu Packages Graphical and your link reference is not yet get response another users, is it an good answer or an bad answer!!!
            – abu-ahmed al-khatiri
            Nov 28 at 15:43










          • That's what I did, remove all gnome packages and reinstalled the task-gnome-desktop, that will reinstall the desktop environment back. That fixed the problem.
            – user1694490
            Nov 28 at 17:46















          up vote
          0
          down vote













          I had the same problem in debian buster and found this to work: this





          1. Purge appstream and gnome packages (to be safe, make a list of packages to re-install latter on):



            # apt-get remove --purge appstream gnome*



          You can use the command tasksel --list-tasks to see available desktop options to install.






          share|improve this answer





















          • are you sure to run apt-get remove --purge gnome*? that's will remove all gnome packages which to handle Ubuntu Packages Graphical and your link reference is not yet get response another users, is it an good answer or an bad answer!!!
            – abu-ahmed al-khatiri
            Nov 28 at 15:43










          • That's what I did, remove all gnome packages and reinstalled the task-gnome-desktop, that will reinstall the desktop environment back. That fixed the problem.
            – user1694490
            Nov 28 at 17:46













          up vote
          0
          down vote










          up vote
          0
          down vote









          I had the same problem in debian buster and found this to work: this





          1. Purge appstream and gnome packages (to be safe, make a list of packages to re-install latter on):



            # apt-get remove --purge appstream gnome*



          You can use the command tasksel --list-tasks to see available desktop options to install.






          share|improve this answer












          I had the same problem in debian buster and found this to work: this





          1. Purge appstream and gnome packages (to be safe, make a list of packages to re-install latter on):



            # apt-get remove --purge appstream gnome*



          You can use the command tasksel --list-tasks to see available desktop options to install.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 28 at 15:25









          user1694490

          11




          11












          • are you sure to run apt-get remove --purge gnome*? that's will remove all gnome packages which to handle Ubuntu Packages Graphical and your link reference is not yet get response another users, is it an good answer or an bad answer!!!
            – abu-ahmed al-khatiri
            Nov 28 at 15:43










          • That's what I did, remove all gnome packages and reinstalled the task-gnome-desktop, that will reinstall the desktop environment back. That fixed the problem.
            – user1694490
            Nov 28 at 17:46


















          • are you sure to run apt-get remove --purge gnome*? that's will remove all gnome packages which to handle Ubuntu Packages Graphical and your link reference is not yet get response another users, is it an good answer or an bad answer!!!
            – abu-ahmed al-khatiri
            Nov 28 at 15:43










          • That's what I did, remove all gnome packages and reinstalled the task-gnome-desktop, that will reinstall the desktop environment back. That fixed the problem.
            – user1694490
            Nov 28 at 17:46
















          are you sure to run apt-get remove --purge gnome*? that's will remove all gnome packages which to handle Ubuntu Packages Graphical and your link reference is not yet get response another users, is it an good answer or an bad answer!!!
          – abu-ahmed al-khatiri
          Nov 28 at 15:43




          are you sure to run apt-get remove --purge gnome*? that's will remove all gnome packages which to handle Ubuntu Packages Graphical and your link reference is not yet get response another users, is it an good answer or an bad answer!!!
          – abu-ahmed al-khatiri
          Nov 28 at 15:43












          That's what I did, remove all gnome packages and reinstalled the task-gnome-desktop, that will reinstall the desktop environment back. That fixed the problem.
          – user1694490
          Nov 28 at 17:46




          That's what I did, remove all gnome packages and reinstalled the task-gnome-desktop, that will reinstall the desktop environment back. That fixed the problem.
          – user1694490
          Nov 28 at 17:46


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1088606%2fglib-error-when-using-apt-get-update%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

          ComboBox Display Member on multiple fields

          Is it possible to collect Nectar points via Trainline?