JooTC

E: Problem executing scripts APT::Update::Post-Invoke-Success 해결

E: Problem executing scripts APT::Update::Post-Invoke-Success 해결하기

Ubuntu 등의 리눅스OS에서 apt 패키지 관리자를 사용하는 도중 업데이트 설치 작업중에 아래와 같은 경고메세지가 나오고 더 이상 진행되지 않을 수 있습니다.

Aborted (core dumped)
Reading package lists... Done
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi'
E: Sub-process returned an error code

이 때는 아래 명령어로 해결할 수 있습니다.

sudo apt-get remove libappstream3

만약 해당 패키지가 존재하지 않는 경우 appstream 버전이 달라서 그럴 수 있습니다. libappstream 또는 libappstream4로 재시도해보셔야 할 수 있습니다.

구독
알림
guest

0 Comments
Inline Feedbacks
모든 댓글 보기
0
이 포스트에 대한 의견을 남겨주세요!x