Error while moving old database out of the way
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.
update-manager
add a comment |
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.
update-manager
1
you can trysudo 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
add a comment |
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.
update-manager
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
update-manager
edited Nov 23 at 11:16
Soren A
3,2601824
3,2601824
asked Mar 29 at 23:05
user3565884
162
162
1
you can trysudo 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
add a comment |
1
you can trysudo 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
add a comment |
2 Answers
2
active
oldest
votes
up vote
4
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.
Hi Carlos, can you link to the bug report in your answer?
– Emily
May 3 at 15:06
add a comment |
up vote
0
down vote
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
New contributor
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
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.
Hi Carlos, can you link to the bug report in your answer?
– Emily
May 3 at 15:06
add a comment |
up vote
4
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.
Hi Carlos, can you link to the bug report in your answer?
– Emily
May 3 at 15:06
add a comment |
up vote
4
down vote
up vote
4
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.
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.
edited May 3 at 13:54
answered May 3 at 13:19
Carlos Molina
413
413
Hi Carlos, can you link to the bug report in your answer?
– Emily
May 3 at 15:06
add a comment |
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
add a comment |
up vote
0
down vote
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
New contributor
add a comment |
up vote
0
down vote
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
New contributor
add a comment |
up vote
0
down vote
up vote
0
down vote
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
New contributor
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
New contributor
New contributor
answered Nov 23 at 10:42
ArthurKing
1
1
New contributor
New contributor
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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