I am using ubuntu 18.04. When I try to run
sudo apt-get update I am getting the following error. Can anybody try to help me solve this problem?
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi E: Sub-process returned an error code
Following this when I try to run
sudo apt-get update It completed successfully .