오늘자 gutsy 업글하다가 에러나는 경우나 "Sub-process /usr/bin/dpkg returned an error code (1)" 발생할경우 해결책 한가지
글쓴이: nike984 / 작성시간: 금, 2007/10/05 - 10:16오전
오늘 gutsy beta 쓰시는 분들 중에 cupsys에서 에러가 나는 경우를 당하신 분들이 좀 계실겁니다.
우분투 포럼에서 나온 해결책 중에 하나가 있는데 이게 "Sub-process /usr/bin/dpkg returned an error code (1)"란
메세지를 경험한 다른 케이스에서도 똑같이 적용된다길래 포스팅합니다.
원글은
http://ubuntuforums.org/showpost.php?p=3475508&postcount=4
이고 결론은
STEP 1: Run
#sudo dpkg -i --force-overwrite /var/cache/apt/archives/cupsys_1.3.2-1ubuntu4_i386.deb
(*.deb란에 에러가 난 패키지 이름을 적어주시면 됩니다.)
this will overwrite the conflicting file and then give unmet dependencies error.
STEP 2: Since conflict has already been resolved (forcefully), proceed with normal installation
Run :
# sudo apt-get -f install cupsys
위에 두 라인의 명령문만 입력해주시면 문제가 해결됩니다.
dpkg error code란 에러 문 만난 경우에도 비슷한 방식으로 해결가능하다더군요.
Forums: