(참고 : https://linuxhint.com/apt_get_fix_missing_broken_packages/)

1. Method 1


$ sudo apt-get update --fix-missing

$ sudo apt-get install -f

단순한 패키지 오류일 경우에는 위의 명령어만 써도 해결될 수 있다.

2. Method 2 (this was my pick!)


위 방법이 나한테는 적용되었다.

  1. 저장소를 업데이트 한다.

$ sudo apt update

  1. 로컬 저장소를 정리한다.

$ sudo apt clean

  1. 불필요한 패키지를 정리한다.

$ sudo apt autoremove