๐Could not get lock /var/lib/dpkg/lock-fronted ์๋ฌ
๋ค๋ฅธ ํ๋ก์ธ์ค๊ฐ ์งํ์ค์ด๋ผ ๋ฐ์ํ๋ ์๋ฌ์ด๋ค. ์งํ์ค์ธ ํ๋ก์ธ์ค๋ฅผ ์ฃฝ์ฌ์ฃผ๋ฉด ํด๊ฒฐ๋๋ค.
๋ฐฉ๋ฒ 1)
sudo killall apt apt-get
๋ฐฉ๋ฒ 2)
๋ฐฉ๋ฒ 1์ ์คํํ๋๋ฐ ์งํ์ค์ธ ํ๋ก์ธ์ค๊ฐ ์๋ค๊ณ ๋จ๋ฉด, ๋๋ ํ ๋ฆฌ๋ฅผ ํ๋ ํ๋ ์ญ์ ํด์ค๋ค.
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock*
๋ค์ ๋ช ๋ น์ด๊น์ง ์คํํด์ฃผ๋ฉด ํด๊ฒฐ๋๋ค.
sudo dpkg --configure -a
sudo apt update
728x90
'๊ณต๋ถ > Spring' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[๊ณต๋ถ/Spring] ์ ํจ์ฑ ๊ฒ์ฌ๋ฅผ ์ํ Validation ์ฒ๋ฆฌ (0) | 2023.03.07 |
---|---|
[๊ณต๋ถ/Spring] @ExceptionHandler ์์ธ์ฒ๋ฆฌ (0) | 2023.02.21 |
[๊ณต๋ถ/Spring] #4 | ์๋ฒ ์ ์ ๊ฐํธํ (0) | 2022.07.28 |
[๊ณต๋ถ/Spring] #3 | RDS ์์ฑ ๋ฐ ์ฐ๊ฒฐ (0) | 2022.07.28 |
[๊ณต๋ถ/Spring] #2 | ๋ณด์๊ทธ๋ฃน ์ค์ , ๊ณ ์ IP ์ฃผ์ ์ค์ (0) | 2022.07.28 |