Error while moving old database out of the way

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
3
down vote

favorite












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 at 23:55











  • Thanks for your help, but I didn't do the trick. I'll keep trying..
    – user3565884
    Mar 30 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 at 0:35














up vote
3
down vote

favorite












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 at 23:55











  • Thanks for your help, but I didn't do the trick. I'll keep trying..
    – user3565884
    Mar 30 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 at 0:35












up vote
3
down vote

favorite









up vote
3
down vote

favorite











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 Mar 30 at 0:27

























asked Mar 29 at 23:05









user3565884

162




162







  • 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 at 23:55











  • Thanks for your help, but I didn't do the trick. I'll keep trying..
    – user3565884
    Mar 30 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 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 at 23:55











  • Thanks for your help, but I didn't do the trick. I'll keep trying..
    – user3565884
    Mar 30 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 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 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 at 23:55













Thanks for your help, but I didn't do the trick. I'll keep trying..
– user3565884
Mar 30 at 0:33




Thanks for your help, but I didn't do the trick. I'll keep trying..
– user3565884
Mar 30 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 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 at 0:35










1 Answer
1






active

oldest

votes

















up vote
3
down vote













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?
    – Emily
    May 3 at 15:06










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: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
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






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
3
down vote













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?
    – Emily
    May 3 at 15:06














up vote
3
down vote













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?
    – Emily
    May 3 at 15:06












up vote
3
down vote










up vote
3
down vote









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 May 3 at 13:54

























answered May 3 at 13:19









Carlos Molina

313




313











  • Hi Carlos, can you link to the bug report in your answer?
    – Emily
    May 3 at 15:06
















  • Hi Carlos, can you link to the bug report in your answer?
    – Emily
    May 3 at 15:06















Hi Carlos, can you link to the bug report in your answer?
– Emily
May 3 at 15:06




Hi Carlos, can you link to the bug report in your answer?
– Emily
May 3 at 15:06

















 

draft saved


draft discarded















































 


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













































































Popular posts from this blog

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error

How do I move numbers in filenames, in a batch renaming operation?