报错:
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
解决办法:
apt update apt remove command-not-found apt update apt install command-not-found apt update
然后他就ok了
标签:lib,update,apt,command,usr,found,失败 From: https://www.cnblogs.com/luochunxi/p/17622746.html