Sgml-base依存関係エラーのため、18.04から18.10へのアップグレードは失敗しましたが、続行できました
Synapticでsgml-base
1.29を再インストールしようとしましたが、E: Internal Error, No file name for sgml-base:AMD64
を返すだけです
正常に実行されました:
Sudo apt update && Sudo apt dist-upgrade
root@Bionic-Beaver:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up sgml-base (1.29) ...
cannot rename /var/lib/sgml-base/supercatalog to /var/lib/sgml-base/supercatalog.old: Operation not permitted at /usr/sbin/update-catalog line 322.
dpkg: error processing package sgml-base (--configure):
installed sgml-base package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of metacity-common:
metacity-common depends on sgml-base (>= 1.28); however:
Package sgml-base is not configured yet.
dpkg: error processing package metacity-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sgml-data:
sgml-data depends on sgml-base (>= 1.28); however:
Package sgml-base is not configured yet.
dpkg: error processing package sgml-data (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
sgml-base
metacity-common
sgml-data
E: Sub-process /usr/bin/dpkg returned an error code (1)
削除しようとすると、問題のあるファイルを削除します
Sudo rm -rf /var/lib/sgml-base/supercatalog
次に、3つのパッケージを再インストールします。
Sudo apt-get install sgml-data metacity-common sgml-base --reinstall