한참 잘 쓰고 있데 upgrade시 에러가 발생해서 진행이 안되서 찾아보니 구글에서 다음과 같은 방법이 있길래 한글로 된문서가 없어 공유한다.
Setting up plymouth (0.9.0-7) ...
dpkg: error processing package plymouth (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
plymouth
E: Sub-process /usr/bin/dpkg returned an error code (1)
설치전 스크립트에서 발생한 에러여서 다음 부분을 다음과 같이 수정하면 정상처리 됨
# Automatically added by dh_installinit
if [ -x "/etc/init.d/plymouth" ]; then
update-rc.d plymouth start 41 2 3 4 5 . stop 41 0 6 . >/dev/null || exit $?
fi
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/plymouth-log" ]; then
update-rc.d plymouth-log start 40 S . >/dev/null || exit $?
fi
원래 어떻게 사용하는건지 모르겠어서 고칠 엄두가 안났는데 방법이 있어서 다행이다.