반응형

우분투 에서 문제가 생긴 패키지를 복구 하는 방법은 다음과 같이 하시면 됩니다.

 

 

패키지 리스트 업데이트

$ sudo apt-get update

 

패키지 정리

$ sudo apt-get autoclean

 

apt 캐시 정리

$ sudo apt-get clean

 

불필요한 의존성 패키지들 정리

$ sudo apt-get autoremove

 

패키지를 정리하는 과정에서 강제 삭제가 필요한 경우 다음과 같이 실행 한다.

$ sudo dpkg --remove -force --force-remove-reinstreq [패키지명]

https://askubuntu.com/questions/525088/how-to-delete-broken-packages-in-ubuntu

 

How to delete broken packages in ubuntu

I can not remove broken package. Use the following command: sudo apt-get -f install but I get the following response: Preparing to unpack .../nodejs_0.10.28-1chl1~trusty1_amd64.deb ... Unpacking

askubuntu.com

 

반응형
  • 네이버 블러그 공유하기
  • 네이버 밴드에 공유하기
  • 페이스북 공유하기
  • 카카오스토리 공유하기