パッケージdpkg
が破損してアップグレードできません。実行すると、sudo dpkg --configure -a
次のものが生成されます。
ben@Friday:~$ sudo dpkg --configure -a
Setting up pop-default-settings (4.0.6~1611854075~20.04~6a2277e) ...
Leaving 'diversion of /etc/gdm3/custom.conf to /etc/gdm3/custom.conf.diverted by pop-default-settings'
Leaving 'diversion of /etc/issue to /etc/issue.diverted by pop-default-settings'
Leaving 'diversion of /etc/issue.net to /etc/issue.net.diverted by pop-default-settings'
Leaving 'diversion of /etc/legal to /etc/legal.diverted by pop-default-settings'
Leaving 'diversion of /etc/update-motd.d/10-help-text to /etc/update-motd.d/10-help-text.diverted by pop-default-settings'
Leaving 'diversion of /etc/update-motd.d/50-motd-news to /etc/update-motd.d/50-motd-news.diverted by pop-default-settings'
Leaving 'diversion of /etc/lsb-release to /etc/lsb-release.diverted by pop-default-settings'
Leaving 'diversion of /etc/os-release to /etc/os-release.diverted by pop-default-settings'
dpkg-divert: error: 'diversion of /usr/lib/os-release to /usr/lib/os-release.diverted by pop-default-settings' clashes with 'diversion of /usr/lib/os-release to /usr/lib/os-release.oem-release by oem-release'
dpkg: error processing package pop-default-settings (--configure):
installed pop-default-settings package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of pop-desktop:
pop-desktop depends on pop-default-settings; however:
Package pop-default-settings is not configured yet.
dpkg: error processing package pop-desktop (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
pop-default-settings
pop-desktop
pop-default-settings
どちらもoem-release
同じファイルを転送したいコアシステムパッケージであることが心配です。 (私はdpkgをあまり使用していないので、転送の1つを削除することを躊躇します)。この問題を解決する方法に関する提案はありますか?転送を削除する必要がありますか?どれ?