dpkg: 패키지 글꼴 구성(--configure) 처리 중 오류가 발생했습니다.

dpkg: 패키지 글꼴 구성(--configure) 처리 중 오류가 발생했습니다.

글꼴 구성 문제

# dpkg --configure -a
Setting up font config (2.13.1-4.5) ...
Regenerating fonts cache... failed.
See /var/log/fontconfig.log for more information.
dpkg: error processing package fontconfig (--configure):
 installed font config package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 fontconfig
# cat /var/log/fontconfig.log
fc-cache: symbol lookup error: /lib/x86_64-linux-gnu/libharfbuzz.so.0: undefined symbol: FT_Get_Transform

로그 출력에 따르면 libharfbuzz* 패키지를 버전 5.2.0-2에서 2.7.4-1로 다운그레이드하는 명령을 실행했지만, 글꼴 구성 문제를 해결하지 않으면 관리할 수 없습니다.

# apt install libharfbuzz*=2.7.4-1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libharfbuzz0' for glob 'libharfbuzz*'
Note, selecting 'libharfbuzz-icu0' for glob 'libharfbuzz*'
Note, selecting 'libharfbuzz-gobject0' for glob 'libharfbuzz*'
Note, selecting 'libharfbuzz0a' for glob 'libharfbuzz*'
Note, selecting 'libharfbuzz0b' for glob 'libharfbuzz*'
Note, selecting 'libharfbuzz-bin' for glob 'libharfbuzz*'
Note, selecting 'libharfbuzz-dev' for glob 'libharfbuzz*'
Note, selecting 'libharfbuzz-doc' for glob 'libharfbuzz*'
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up font config (2.13.1-4.5)
Regenerating fonts cache... failed.
See /var/log/fontconfig.log for more information.
dpkg: error processing package fontconfig (--configure):
 installed fontconfig package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 fontconfig
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

답변1

나는 같은 문제를 가지고있다.

일반적으로 libfreetype6 패키지에서 제공되는 수동으로 컴파일된 이전 버전의 libfreetype을 확인하세요.

/usr/local/lib에서 이전 버전을 컴파일했는데 이로 인해 글꼴 구성이 중단되었을 뿐만 아니라 글꼴 구성이 손상되었기 때문에 update-initramfs도 손상되었습니다.

관련 정보