Problem with appstreamcli when running apt update The 2019 Stack Overflow Developer Survey Results Are InError when doing apt-get updateapt-get has unmet dependencies, but apt-get -f install doesn't solve problemUpdate is telling me my package system is broken - the instruction to fix it doesn't work - what to do?Debian pinning - Use stable but install from testing/unstable when necessary | Also install deps from stable, backports when availableWhat does apt need to be healed of a bad setup?Install Java 8 on ARM Nas (Debian Wheezy)how to update cURL openssl version for paypal IPNHas roxterm been removed from Debian 9 (stretch)?Failed to start MariaDB database server after upgrade to debian 9debian9 can't install python packages with pip3 or uninstall packages with apt

Why can Shazam do this?

Falsification in Math vs Science

What is the motivation for a law requiring 2 parties to consent for recording a conversation

How was Skylab's orbit inclination chosen?

What can other administrators access on my machine?

Time travel alters history but people keep saying nothing's changed

Deadlock Graph and Interpretation, solution to avoid

Why don't Unix/Linux systems traverse through directories until they find the required version of a linked library?

How to change the limits of integration

Realistic Alternatives to Dust: What Else Could Feed a Plankton Bloom?

Is there a name of the flying bionic bird?

Unbreakable Formation vs. Cry of the Carnarium

aging parents with no investments

Is "plugging out" electronic devices an American expression?

Geography at the pixel level

How to manage monthly salary

What does "sndry explns" mean in one of the Hitchhiker's guide books?

Why is my p-value correlated to difference between means in two sample tests?

Should I use my personal or workplace e-mail when registering to external websites for work purpose?

It's possible to achieve negative score?

JSON.serialize: is it possible to suppress null values of a map?

Inflated grade on resume at previous job, might former employer tell new employer?

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

Understanding the implication of what "well-defined" means for the operation in quotient group



Problem with appstreamcli when running apt update



The 2019 Stack Overflow Developer Survey Results Are InError when doing apt-get updateapt-get has unmet dependencies, but apt-get -f install doesn't solve problemUpdate is telling me my package system is broken - the instruction to fix it doesn't work - what to do?Debian pinning - Use stable but install from testing/unstable when necessary | Also install deps from stable, backports when availableWhat does apt need to be healed of a bad setup?Install Java 8 on ARM Nas (Debian Wheezy)how to update cURL openssl version for paypal IPNHas roxterm been removed from Debian 9 (stretch)?Failed to start MariaDB database server after upgrade to debian 9debian9 can't install python packages with pip3 or uninstall packages with apt



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








6















I had a problem with debian testing today when I was running an apt update with following return:



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



















  • 2





    Hello, and welcome to U&L. You should probably reformulate this into both a question and an answer separately. Move the solution into an Answer below, and mark it as accepted.

    – DopeGhoti
    Aug 23 '18 at 16:10

















6















I had a problem with debian testing today when I was running an apt update with following return:



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



















  • 2





    Hello, and welcome to U&L. You should probably reformulate this into both a question and an answer separately. Move the solution into an Answer below, and mark it as accepted.

    – DopeGhoti
    Aug 23 '18 at 16:10













6












6








6








I had a problem with debian testing today when I was running an apt update with following return:



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
















I had a problem with debian testing today when I was running an apt update with following return:



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






debian apt upgrade






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 23 '18 at 16:12







JonLord

















asked Aug 23 '18 at 15:59









JonLordJonLord

30111




30111







  • 2





    Hello, and welcome to U&L. You should probably reformulate this into both a question and an answer separately. Move the solution into an Answer below, and mark it as accepted.

    – DopeGhoti
    Aug 23 '18 at 16:10












  • 2





    Hello, and welcome to U&L. You should probably reformulate this into both a question and an answer separately. Move the solution into an Answer below, and mark it as accepted.

    – DopeGhoti
    Aug 23 '18 at 16:10







2




2





Hello, and welcome to U&L. You should probably reformulate this into both a question and an answer separately. Move the solution into an Answer below, and mark it as accepted.

– DopeGhoti
Aug 23 '18 at 16:10





Hello, and welcome to U&L. You should probably reformulate this into both a question and an answer separately. Move the solution into an Answer below, and mark it as accepted.

– DopeGhoti
Aug 23 '18 at 16:10










1 Answer
1






active

oldest

votes


















8














After Googling I found some people saying that removing the package appstream will fix the problem.



This solution will work but in many cases this approach will remove packages that you may not want to remove.



An alternate solution is to comment the three last lines in /etc/apt/apt.conf.d/50appstream file like this:



...
#APT::Update::Post-Invoke-Success true; fi";
#;


and then save the file and run apt-get update again.



After running a system upgrade there is a chance that the package appstream will have a upgrade that can fix this error and a message like this may appear:



Configuration file '/etc/apt/apt.conf.d/50appstream'
==> Modified (by yourself or by a script) since the installation.
==> The package distributor has released an updated version.
What do you want to do? Your options are:
Y or I: install the version of the maintainer package
N or O: keep the currently installed version
D: Show differences between versions
Z: start a shell to examine the situation


You should say Y to upgrade the file you have modified.



I'm posting this to help others that may search for this error.






share|improve this answer

























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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%2funix.stackexchange.com%2fquestions%2f464445%2fproblem-with-appstreamcli-when-running-apt-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









    8














    After Googling I found some people saying that removing the package appstream will fix the problem.



    This solution will work but in many cases this approach will remove packages that you may not want to remove.



    An alternate solution is to comment the three last lines in /etc/apt/apt.conf.d/50appstream file like this:



    ...
    #APT::Update::Post-Invoke-Success true; fi";
    #;


    and then save the file and run apt-get update again.



    After running a system upgrade there is a chance that the package appstream will have a upgrade that can fix this error and a message like this may appear:



    Configuration file '/etc/apt/apt.conf.d/50appstream'
    ==> Modified (by yourself or by a script) since the installation.
    ==> The package distributor has released an updated version.
    What do you want to do? Your options are:
    Y or I: install the version of the maintainer package
    N or O: keep the currently installed version
    D: Show differences between versions
    Z: start a shell to examine the situation


    You should say Y to upgrade the file you have modified.



    I'm posting this to help others that may search for this error.






    share|improve this answer





























      8














      After Googling I found some people saying that removing the package appstream will fix the problem.



      This solution will work but in many cases this approach will remove packages that you may not want to remove.



      An alternate solution is to comment the three last lines in /etc/apt/apt.conf.d/50appstream file like this:



      ...
      #APT::Update::Post-Invoke-Success true; fi";
      #;


      and then save the file and run apt-get update again.



      After running a system upgrade there is a chance that the package appstream will have a upgrade that can fix this error and a message like this may appear:



      Configuration file '/etc/apt/apt.conf.d/50appstream'
      ==> Modified (by yourself or by a script) since the installation.
      ==> The package distributor has released an updated version.
      What do you want to do? Your options are:
      Y or I: install the version of the maintainer package
      N or O: keep the currently installed version
      D: Show differences between versions
      Z: start a shell to examine the situation


      You should say Y to upgrade the file you have modified.



      I'm posting this to help others that may search for this error.






      share|improve this answer



























        8












        8








        8







        After Googling I found some people saying that removing the package appstream will fix the problem.



        This solution will work but in many cases this approach will remove packages that you may not want to remove.



        An alternate solution is to comment the three last lines in /etc/apt/apt.conf.d/50appstream file like this:



        ...
        #APT::Update::Post-Invoke-Success true; fi";
        #;


        and then save the file and run apt-get update again.



        After running a system upgrade there is a chance that the package appstream will have a upgrade that can fix this error and a message like this may appear:



        Configuration file '/etc/apt/apt.conf.d/50appstream'
        ==> Modified (by yourself or by a script) since the installation.
        ==> The package distributor has released an updated version.
        What do you want to do? Your options are:
        Y or I: install the version of the maintainer package
        N or O: keep the currently installed version
        D: Show differences between versions
        Z: start a shell to examine the situation


        You should say Y to upgrade the file you have modified.



        I'm posting this to help others that may search for this error.






        share|improve this answer















        After Googling I found some people saying that removing the package appstream will fix the problem.



        This solution will work but in many cases this approach will remove packages that you may not want to remove.



        An alternate solution is to comment the three last lines in /etc/apt/apt.conf.d/50appstream file like this:



        ...
        #APT::Update::Post-Invoke-Success true; fi";
        #;


        and then save the file and run apt-get update again.



        After running a system upgrade there is a chance that the package appstream will have a upgrade that can fix this error and a message like this may appear:



        Configuration file '/etc/apt/apt.conf.d/50appstream'
        ==> Modified (by yourself or by a script) since the installation.
        ==> The package distributor has released an updated version.
        What do you want to do? Your options are:
        Y or I: install the version of the maintainer package
        N or O: keep the currently installed version
        D: Show differences between versions
        Z: start a shell to examine the situation


        You should say Y to upgrade the file you have modified.



        I'm posting this to help others that may search for this error.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 2 days ago









        GAD3R

        28.1k1958114




        28.1k1958114










        answered Aug 23 '18 at 16:12









        JonLordJonLord

        30111




        30111



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • 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%2funix.stackexchange.com%2fquestions%2f464445%2fproblem-with-appstreamcli-when-running-apt-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







            -apt, debian, upgrade

            Popular posts from this blog

            Frič See also Navigation menuinternal link

            Identify plant with long narrow paired leaves and reddish stems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?What is this plant with long sharp leaves? Is it a weed?What is this 3ft high, stalky plant, with mid sized narrow leaves?What is this young shrub with opposite ovate, crenate leaves and reddish stems?What is this plant with large broad serrated leaves?Identify this upright branching weed with long leaves and reddish stemsPlease help me identify this bulbous plant with long, broad leaves and white flowersWhat is this small annual with narrow gray/green leaves and rust colored daisy-type flowers?What is this chilli plant?Does anyone know what type of chilli plant this is?Help identify this plant

            fontconfig warning: “/etc/fonts/fonts.conf”, line 100: unknown “element blank” The 2019 Stack Overflow Developer Survey Results Are In“tar: unrecognized option --warning” during 'apt-get install'How to fix Fontconfig errorHow do I figure out which font file is chosen for a system generic font alias?Why are some apt-get-installed fonts being ignored by fc-list, xfontsel, etc?Reload settings in /etc/fonts/conf.dTaking 30 seconds longer to boot after upgrade from jessie to stretchHow to match multiple font names with a single <match> element?Adding a custom font to fontconfigRemoving fonts from fontconfig <match> resultsBroken fonts after upgrading Firefox ESR to latest Firefox