![所以我有一段时间没有升级 PopOS 21.04,并且在尝试升级时不断收到此错误消息](https://linux22.com/image/207114/%E6%89%80%E4%BB%A5%E6%88%91%E6%9C%89%E4%B8%80%E6%AE%B5%E6%97%B6%E9%97%B4%E6%B2%A1%E6%9C%89%E5%8D%87%E7%BA%A7%20PopOS%2021.04%EF%BC%8C%E5%B9%B6%E4%B8%94%E5%9C%A8%E5%B0%9D%E8%AF%95%E5%8D%87%E7%BA%A7%E6%97%B6%E4%B8%8D%E6%96%AD%E6%94%B6%E5%88%B0%E6%AD%A4%E9%94%99%E8%AF%AF%E6%B6%88%E6%81%AF.png)
dpkg: error processing archive /var/cache/apt/archives/libxpm4_1%3a3.5.12-1_amd64.deb (--unpack): trying to overwrite shared '/usr/share/doc/libxpm4/changelog.Debian.gz', which is different from other instances of package libxpm4:amd64 Errors were encountered while processing: /var/cache/apt/archives/libxpm4_1%3a3.5.12-1_amd64.deb
我努力了:
sudo mv /usr/share/doc/libxpm4/changelog.Debian.gz $HOME
虽然这似乎有点工作,因为它暂时修复了我的升级,尽管我需要继续使用新包输入此内容,但它告诉我移动到 $HOME
我还尝试了 sudo apt-get --fix-broken install 并重新配置 dpkg 但我仍然有同样的问题。