코딩/해결

[wsl] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

끔벅이별 2024. 5. 5. 21:46

- 에러 발생

 

apt-get install build-essential

에 대해

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

가 발생

 

 

- 해결 방법

 

E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)

E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

-> sudo 사용

 

E: Unable to locate package upgrade

-> sudo apt-get update 입력

 

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

-> sudo apt-get install update 입력