在我将 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