Sub-process returned an error code
When i was trying to install a package on my Ubuntu i got following error, please help
problem E: Problem executing scripts APT::Update::Post-Invoke-Success ' if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli then appstreamcli refresh > /dev/null fi' E: Sub-process returned an error code