La mise à niveau de 18.04 à 18.10 a échoué en raison d'une erreur de dépendance sgml-base, mais a pu continuer.
J'ai essayé de réinstaller sgml-base
1.29 avec Synaptic Il ne fait que retourner E: Internal Error, No file name for sgml-base:AMD64
A couru avec succès:
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)
Essayez de supprimer supprimer le fichier problématique avec
Sudo rm -rf /var/lib/sgml-base/supercatalog
puis réinstallez trois paquets:
Sudo apt-get install sgml-data metacity-common sgml-base --reinstall