Ubuntu failure
Ubuntu has an error: e: Problem executing scripts APT::Update::Post-Invoke-Success'if / usr/bin/test-w / var/
Solution:
Execute the following commands on the terminal:
Sudo pkill-KILL appstreamcli
Wget-P / tmp https://launchpad.net/ubuntu/+archive/primary/+files/appstream_0.9.4-1ubuntu1_amd64.deb https://launchpad.net/ubuntu/+archive/primary/+files/libappstream3_0.9.4-1ubuntu1_amd64.deb
The problem of sudo dpkg-I / tmp/appstream_0.9.4-1ubuntu1_amd64.deb / tmp/libappstream3_0.9.4-1ubuntu1_amd64.deb can be solved.