Por padrão, a pasta /usr/share/fonts/opentype/noto
contém as fontes instaladas pelo pacote fonts-noto-cjk
. Portanto, vale a pena tentar reinstalar fonts-noto-cjk
:
sudo apt install --reinstall fonts-noto-cjk
Estou postando esta consulta, depois de aplicar todas as soluções disponíveis. Eu estou usando o Ubuntu 16.
Problema:
Errors were encountered while processing:
fontconfig
E: Sub-process /usr/bin/dpkg returned an error code (1)
Sempre que eu tento instalar, atualizar ou remover qualquer coisa, há sempre um erro que faz com que todo o processo falhe
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up fontconfig (2.11.94-0ubuntu1.1) ...
Regenerating fonts cache... failed.
See /var/log/fontconfig.log for more information.
dpkg: error processing package fontconfig (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
fontconfig
E: Sub-process /usr/bin/dpkg returned an error code (1)
O problema básico está listado na última linha do arquivo de registro, ou seja,
/usr/share/fonts/opentype/noto: Bus error (core dumped)
Erro de barramento é algo que está causando problema
Saída de /var/log/fontconfig.log
/usr/share/fonts: caching, new cache contents: 0 fonts, 6 dirs
/usr/share/fonts/X11: caching, new cache contents: 0 fonts, 4 dirs
/usr/share/fonts/X11/Type1: caching, new cache contents: 8 fonts, 0 dirs
/usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/misc: caching, new cache contents: 59 fonts, 0 dirs
/usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap: caching, new cache contents: 0 fonts, 5 dirs
/usr/share/fonts/cmap/adobe-cns1: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap/adobe-gb1: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap/adobe-japan1: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap/adobe-japan2: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap/adobe-korea1: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/opentype: caching, new cache contents: 0 fonts, 2 dirs
/usr/share/fonts/opentype/noto: Bus error (core dumped)
Não consigo usar meu sistema corretamente devido a esse problema. Como posso consertar isso?
Por padrão, a pasta /usr/share/fonts/opentype/noto
contém as fontes instaladas pelo pacote fonts-noto-cjk
. Portanto, vale a pena tentar reinstalar fonts-noto-cjk
:
sudo apt install --reinstall fonts-noto-cjk