Skip to content

Instantly share code, notes, and snippets.

@miklevin
Created July 19, 2019 11:23
Show Gist options
  • Save miklevin/32098451b3ca89977d5cd78f108d5948 to your computer and use it in GitHub Desktop.
Save miklevin/32098451b3ca89977d5cd78f108d5948 to your computer and use it in GitHub Desktop.
apt-get update got you down? ** (appstreamcli:1244): CRITICAL **: Error while moving old database out of the way. AppStream cache update failed.
#!/bin/bash
# Are you getting this message when you apt-get update?
# ** (appstreamcli:1244): CRITICAL **: Error while moving old database out of the way.
# AppStream cache update failed.
# Then run this:
sudo chmod -R a+rX,u+w /var/cache/app-info/xapian/default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment