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 do UK politicians seemingly ignore opinion polls on Brexit?

Is there a symbol for a right arrow with a square in the middle?

Geography at the pixel level

Do these rules for Critical Successes and Critical Failures seem Fair?

What is the accessibility of a package's `Private` context variables?

Where to refill my bottle in India?

What does "fetching by region is not available for SAM files" means?

Aging parents with no investments

How to notate time signature switching consistently every measure

What is the most effective way of iterating a std::vector and why?

How technical should a Scrum Master be to effectively remove impediments?

FPGA - DIY Programming

What is the meaning of Triage in Cybersec world?

Return to UK after being refused entry years previously

Multiply Two Integer Polynomials

Is this app Icon Browser Safe/Legit?

Why was M87 targetted for the Event Horizon Telescope instead of Sagittarius A*?

Is there any way to tell whether the shot is going to hit you or not?

How to manage monthly salary

How come people say “Would of”?

What tool would a Roman-age civilization have for the breaking of silver and other metals into dust?

Why not take a picture of a closer black hole?

Are there incongruent pythagorean triangles with the same perimeter and same area?

Are there any other methods to apply to solving simultaneous equations?



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 Apr 7 at 12:07









        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







            Popular posts from this blog

            getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

            Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

            Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.