Error while moving old database out of the wayRecurring Error in Update Manager - Could Not Initialize The...

Why did Democrats in the Senate oppose the Born-Alive Abortion Survivors Protection Act (2019 S.130)?

Is it possible to grant users sftp access without shell access? If yes, how is it implemented?

Can you tell from a blurry photo if focus was too close or too far?

Move fast ...... Or you will lose

Slow While Loop, Query Improvment Assistance

What is the proper way to reproach a rav?

Variable is not visible

How would an AI self awareness kill switch work?

Crontab: Ubuntu running script (noob)

What is the difference between rolling more dice versus fewer dice?

Early credit roll before the end of the film

When do I have to declare that I want to twin my spell?

"on its way" vs. "in its way"

A curious equality of integrals involving the prime counting function?

Why is working on the same position for more than 15 years not a red flag?

Can we harness gravitational potential energy?

What incentives do banks have to gather up loans into pools (backed by Ginnie Mae)and selling them?

Cat is tipping over bed-side lamps during the night

What's a good word to describe a public place that looks like it wouldn't be rough?

Why avoid shared user accounts?

Why do cars have plastic shrouds over the engine?

How should I handle players who ignore the session zero agreement?

How do you voice extended chords?

How can my powered armor quickly replace its ceramic plates?



Error while moving old database out of the way


Recurring Error in Update Manager - Could Not Initialize The Package ManagerWhy does BADSIG/GPG error keep appearing again and again?Failed to download repository information after updatingUpdate Manager Ubuntu 12.10 (1) Failed to fetch cdrom: (2) Failed to fetch http://ppa.launchpad.net/jonls/update manager giving error messageError while trying to update packagesSoftware manager and update issue“Failed to download repository information” when trying to change mirrorsUbuntu 14.04 LTS apt-get update error : Some index files failed to download. They have been ignored, or old ones used instead“Hash sum mismatch” error when doing apt-get update













3















Every time I try to run sudo apt-get update, I get this error message:



** (appstreamcli:9437): CRITICAL **: Error while moving old database out of the way.
AppStream cache update failed.


What can I check for to solve this problem? The number which comes after the colon in appstreamcli varies, but the rest of the message is always the same.










share|improve this question




















  • 1





    you can try sudo chmod -R 777 /var/cache/app-info/xapian/default you should be able to do the update then ... This isn't a fix ... this may revert back and give you the same error next time you update ... but I ran into this on Ubuntu for Windows for a while and it was the only fix we could come up with ... it has since fixed itself .. well .. it doesn't happen anymore. So this should get you by at least .. but .. don't take it as a fix .. more of a work around.. I was never able to discover the actual cause :(

    – John Orion
    Mar 29 '18 at 23:55













  • Thanks for your help, but I didn't do the trick. I'll keep trying..

    – user3565884
    Mar 30 '18 at 0:33











  • hmm ok .. maybe it wasn't the same thing I was running into .. sorry it was my only idea on this issue :(

    – John Orion
    Mar 30 '18 at 0:35
















3















Every time I try to run sudo apt-get update, I get this error message:



** (appstreamcli:9437): CRITICAL **: Error while moving old database out of the way.
AppStream cache update failed.


What can I check for to solve this problem? The number which comes after the colon in appstreamcli varies, but the rest of the message is always the same.










share|improve this question




















  • 1





    you can try sudo chmod -R 777 /var/cache/app-info/xapian/default you should be able to do the update then ... This isn't a fix ... this may revert back and give you the same error next time you update ... but I ran into this on Ubuntu for Windows for a while and it was the only fix we could come up with ... it has since fixed itself .. well .. it doesn't happen anymore. So this should get you by at least .. but .. don't take it as a fix .. more of a work around.. I was never able to discover the actual cause :(

    – John Orion
    Mar 29 '18 at 23:55













  • Thanks for your help, but I didn't do the trick. I'll keep trying..

    – user3565884
    Mar 30 '18 at 0:33











  • hmm ok .. maybe it wasn't the same thing I was running into .. sorry it was my only idea on this issue :(

    – John Orion
    Mar 30 '18 at 0:35














3












3








3


0






Every time I try to run sudo apt-get update, I get this error message:



** (appstreamcli:9437): CRITICAL **: Error while moving old database out of the way.
AppStream cache update failed.


What can I check for to solve this problem? The number which comes after the colon in appstreamcli varies, but the rest of the message is always the same.










share|improve this question
















Every time I try to run sudo apt-get update, I get this error message:



** (appstreamcli:9437): CRITICAL **: Error while moving old database out of the way.
AppStream cache update failed.


What can I check for to solve this problem? The number which comes after the colon in appstreamcli varies, but the rest of the message is always the same.







update-manager






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 23 '18 at 11:16









Soren A

3,4681924




3,4681924










asked Mar 29 '18 at 23:05









user3565884user3565884

163




163








  • 1





    you can try sudo chmod -R 777 /var/cache/app-info/xapian/default you should be able to do the update then ... This isn't a fix ... this may revert back and give you the same error next time you update ... but I ran into this on Ubuntu for Windows for a while and it was the only fix we could come up with ... it has since fixed itself .. well .. it doesn't happen anymore. So this should get you by at least .. but .. don't take it as a fix .. more of a work around.. I was never able to discover the actual cause :(

    – John Orion
    Mar 29 '18 at 23:55













  • Thanks for your help, but I didn't do the trick. I'll keep trying..

    – user3565884
    Mar 30 '18 at 0:33











  • hmm ok .. maybe it wasn't the same thing I was running into .. sorry it was my only idea on this issue :(

    – John Orion
    Mar 30 '18 at 0:35














  • 1





    you can try sudo chmod -R 777 /var/cache/app-info/xapian/default you should be able to do the update then ... This isn't a fix ... this may revert back and give you the same error next time you update ... but I ran into this on Ubuntu for Windows for a while and it was the only fix we could come up with ... it has since fixed itself .. well .. it doesn't happen anymore. So this should get you by at least .. but .. don't take it as a fix .. more of a work around.. I was never able to discover the actual cause :(

    – John Orion
    Mar 29 '18 at 23:55













  • Thanks for your help, but I didn't do the trick. I'll keep trying..

    – user3565884
    Mar 30 '18 at 0:33











  • hmm ok .. maybe it wasn't the same thing I was running into .. sorry it was my only idea on this issue :(

    – John Orion
    Mar 30 '18 at 0:35








1




1





you can try sudo chmod -R 777 /var/cache/app-info/xapian/default you should be able to do the update then ... This isn't a fix ... this may revert back and give you the same error next time you update ... but I ran into this on Ubuntu for Windows for a while and it was the only fix we could come up with ... it has since fixed itself .. well .. it doesn't happen anymore. So this should get you by at least .. but .. don't take it as a fix .. more of a work around.. I was never able to discover the actual cause :(

– John Orion
Mar 29 '18 at 23:55







you can try sudo chmod -R 777 /var/cache/app-info/xapian/default you should be able to do the update then ... This isn't a fix ... this may revert back and give you the same error next time you update ... but I ran into this on Ubuntu for Windows for a while and it was the only fix we could come up with ... it has since fixed itself .. well .. it doesn't happen anymore. So this should get you by at least .. but .. don't take it as a fix .. more of a work around.. I was never able to discover the actual cause :(

– John Orion
Mar 29 '18 at 23:55















Thanks for your help, but I didn't do the trick. I'll keep trying..

– user3565884
Mar 30 '18 at 0:33





Thanks for your help, but I didn't do the trick. I'll keep trying..

– user3565884
Mar 30 '18 at 0:33













hmm ok .. maybe it wasn't the same thing I was running into .. sorry it was my only idea on this issue :(

– John Orion
Mar 30 '18 at 0:35





hmm ok .. maybe it wasn't the same thing I was running into .. sorry it was my only idea on this issue :(

– John Orion
Mar 30 '18 at 0:35










2 Answers
2






active

oldest

votes


















4














There is a wrong Symbolic Link (confirmed bug).



These commands solved the problem, in my case.



sudo mv /var/cache/app-info/xapian/default /var/cache/app-info/xapian/default_old
sudo mv /var/cache/app-info/xapian/default_old /var/cache/app-info/xapian/default


I think giving full permissions to a software database folder is not a good idea.



You may need to do this every time that you add a new repository.






share|improve this answer


























  • Hi Carlos, can you link to the bug report in your answer?

    – Hee Jin
    May 3 '18 at 15:06











  • Here's the bug report from 2016: bugs.launchpad.net/ubuntu/+source/appstream/+bug/1601971

    – reeeky2001
    6 hours ago



















0














A. My case is solved with the command below :



$ sudo touch /var/cache/app-info/xapian/default


B. The error is as follows :



$ sudo apt update
...
** (appstreamcli:12092): CRITICAL **: Error while moving old database out of the way.
AppStream cache update failed.
...
All packages are up to date.


C. Environment :



Windows 10 Pro, 64 Bit + Ubuntu

$ uname -an
Linux Arthur 4.4.0-17134-Microsoft #345-Microsoft Wed Sep 19 17:47:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux





share|improve this answer























    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',
    autoActivateHeartbeat: false,
    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%2f1020404%2ferror-while-moving-old-database-out-of-the-way%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    4














    There is a wrong Symbolic Link (confirmed bug).



    These commands solved the problem, in my case.



    sudo mv /var/cache/app-info/xapian/default /var/cache/app-info/xapian/default_old
    sudo mv /var/cache/app-info/xapian/default_old /var/cache/app-info/xapian/default


    I think giving full permissions to a software database folder is not a good idea.



    You may need to do this every time that you add a new repository.






    share|improve this answer


























    • Hi Carlos, can you link to the bug report in your answer?

      – Hee Jin
      May 3 '18 at 15:06











    • Here's the bug report from 2016: bugs.launchpad.net/ubuntu/+source/appstream/+bug/1601971

      – reeeky2001
      6 hours ago
















    4














    There is a wrong Symbolic Link (confirmed bug).



    These commands solved the problem, in my case.



    sudo mv /var/cache/app-info/xapian/default /var/cache/app-info/xapian/default_old
    sudo mv /var/cache/app-info/xapian/default_old /var/cache/app-info/xapian/default


    I think giving full permissions to a software database folder is not a good idea.



    You may need to do this every time that you add a new repository.






    share|improve this answer


























    • Hi Carlos, can you link to the bug report in your answer?

      – Hee Jin
      May 3 '18 at 15:06











    • Here's the bug report from 2016: bugs.launchpad.net/ubuntu/+source/appstream/+bug/1601971

      – reeeky2001
      6 hours ago














    4












    4








    4







    There is a wrong Symbolic Link (confirmed bug).



    These commands solved the problem, in my case.



    sudo mv /var/cache/app-info/xapian/default /var/cache/app-info/xapian/default_old
    sudo mv /var/cache/app-info/xapian/default_old /var/cache/app-info/xapian/default


    I think giving full permissions to a software database folder is not a good idea.



    You may need to do this every time that you add a new repository.






    share|improve this answer















    There is a wrong Symbolic Link (confirmed bug).



    These commands solved the problem, in my case.



    sudo mv /var/cache/app-info/xapian/default /var/cache/app-info/xapian/default_old
    sudo mv /var/cache/app-info/xapian/default_old /var/cache/app-info/xapian/default


    I think giving full permissions to a software database folder is not a good idea.



    You may need to do this every time that you add a new repository.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 20 mins ago









    reeeky2001

    1031




    1031










    answered May 3 '18 at 13:19









    Carlos MolinaCarlos Molina

    413




    413













    • Hi Carlos, can you link to the bug report in your answer?

      – Hee Jin
      May 3 '18 at 15:06











    • Here's the bug report from 2016: bugs.launchpad.net/ubuntu/+source/appstream/+bug/1601971

      – reeeky2001
      6 hours ago



















    • Hi Carlos, can you link to the bug report in your answer?

      – Hee Jin
      May 3 '18 at 15:06











    • Here's the bug report from 2016: bugs.launchpad.net/ubuntu/+source/appstream/+bug/1601971

      – reeeky2001
      6 hours ago

















    Hi Carlos, can you link to the bug report in your answer?

    – Hee Jin
    May 3 '18 at 15:06





    Hi Carlos, can you link to the bug report in your answer?

    – Hee Jin
    May 3 '18 at 15:06













    Here's the bug report from 2016: bugs.launchpad.net/ubuntu/+source/appstream/+bug/1601971

    – reeeky2001
    6 hours ago





    Here's the bug report from 2016: bugs.launchpad.net/ubuntu/+source/appstream/+bug/1601971

    – reeeky2001
    6 hours ago













    0














    A. My case is solved with the command below :



    $ sudo touch /var/cache/app-info/xapian/default


    B. The error is as follows :



    $ sudo apt update
    ...
    ** (appstreamcli:12092): CRITICAL **: Error while moving old database out of the way.
    AppStream cache update failed.
    ...
    All packages are up to date.


    C. Environment :



    Windows 10 Pro, 64 Bit + Ubuntu

    $ uname -an
    Linux Arthur 4.4.0-17134-Microsoft #345-Microsoft Wed Sep 19 17:47:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux





    share|improve this answer




























      0














      A. My case is solved with the command below :



      $ sudo touch /var/cache/app-info/xapian/default


      B. The error is as follows :



      $ sudo apt update
      ...
      ** (appstreamcli:12092): CRITICAL **: Error while moving old database out of the way.
      AppStream cache update failed.
      ...
      All packages are up to date.


      C. Environment :



      Windows 10 Pro, 64 Bit + Ubuntu

      $ uname -an
      Linux Arthur 4.4.0-17134-Microsoft #345-Microsoft Wed Sep 19 17:47:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux





      share|improve this answer


























        0












        0








        0







        A. My case is solved with the command below :



        $ sudo touch /var/cache/app-info/xapian/default


        B. The error is as follows :



        $ sudo apt update
        ...
        ** (appstreamcli:12092): CRITICAL **: Error while moving old database out of the way.
        AppStream cache update failed.
        ...
        All packages are up to date.


        C. Environment :



        Windows 10 Pro, 64 Bit + Ubuntu

        $ uname -an
        Linux Arthur 4.4.0-17134-Microsoft #345-Microsoft Wed Sep 19 17:47:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux





        share|improve this answer













        A. My case is solved with the command below :



        $ sudo touch /var/cache/app-info/xapian/default


        B. The error is as follows :



        $ sudo apt update
        ...
        ** (appstreamcli:12092): CRITICAL **: Error while moving old database out of the way.
        AppStream cache update failed.
        ...
        All packages are up to date.


        C. Environment :



        Windows 10 Pro, 64 Bit + Ubuntu

        $ uname -an
        Linux Arthur 4.4.0-17134-Microsoft #345-Microsoft Wed Sep 19 17:47:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 23 '18 at 10:42









        ArthurKingArthurKing

        1




        1






























            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1020404%2ferror-while-moving-old-database-out-of-the-way%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

            List of shipwrecks in 1808...

            Is there a lightweight tool to crop images quickly?Cropping Images using Command Line Tools OnlyHow to crop...

            Unit packagekit.service is masked Announcing the arrival of Valued Associate #679: Cesar...