JooTC
ubuntu problem executing scripts apt

Ubuntu E: Problem executing scripts APT 해결 방법

ubuntu problem executing scripts apt

Ubuntu E: Problem executing scripts APT 해결하기


Ubuntuapt 패키지 설치시 다음과 같은 오류가 출력되며 패키지가 설치되지 않는 문제가 발생합니다.

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

위와 같은 메세지가 나올 경우 libappstream 패키지를 삭제하고 시도하면 해결되는 경우가 있습니다. 아래 명령어로 패키지를 삭제합니다.

sudo apt-get remove libappstream3

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

구독
알림
guest

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