![升级 ubuntu 后出现 apt 错误](https://linux22.com/image/1018356/%E5%8D%87%E7%BA%A7%20ubuntu%20%E5%90%8E%E5%87%BA%E7%8E%B0%20apt%20%E9%94%99%E8%AF%AF.png)
在我将 ubuntu 19.10 升级到 20.04 后,我尝试sudo apt update
/usr/lib/ubuntu-advantage/apt-esm-hook: error while loading shared libraries: libapt-pkg.so.5.90: cannot open shared object file: No such file or directory
E: Problem executing scripts APT::Update::Post-Invoke-Stats '[ ! -f /usr/lib/ubuntu-advantage/apt-esm-hook ] || /usr/lib/ubuntu-advantage/apt-esm-hook'
E: Sub-process returned an error code
有什么解决办法吗?甚至有些软件包停止工作了,比如 nautilus