更换软件源后,执行sudo apt-get update失败,报错如下:
** (appstreamcli:9625): CRITICAL **: Error while moving old database out of the way.
解决办法:
cd /var/cache/app-info/xapian
sudo chmod 777 default -R
再执行sudo apt-get update成功。
更换软件源后,执行sudo apt-get update失败,报错如下:
** (appstreamcli:9625): CRITICAL **: Error while moving old database out of the way.
解决办法:
cd /var/cache/app-info/xapian
sudo chmod 777 default -R
再执行sudo apt-get update成功。