2017. 11. 24. 07:35 Linux Server/Trouble Shooting
[Trouble Shooting] 우분투 apt-get update 및 설치 안될경우
[ 우분투 apt-get update 및 패키지 설치 안될경우]
----------------------------------------------------------------------------------------------------------------------------------------------------------------
1> 아래 명령어 실행
rm -rf /var/lib/apt/lists/*
apt-get update
----------------------------------------------------------------------------------------------------------------------------------------------------------------
2> 1번으로 해결이 안될경우
# cd /etc/apt
# sed -i 's,http://.*ubuntu.com,http://old-releases.ubuntu.com,g' sources.list
# apt-get update
----------------------------------------------------------------------------------------------------------------------------------------------------------------
3> 2번으로 해결이 안될경우
# cd /etc/apt
# vi /etc/apt/sources.list
/%s/kr.archieve.ubuntu.com/ftp.daum.net
----------------------------------------------------------------------------------------------------------------------------------------------------------------
4> 3번으로 해결이 안될경우
# dpkg --clear-avail
# dpkg --configure -a
# apt-get clean
# apt-get update
----------------------------------------------------------------------------------------------------------------------------------------------------------------
5> 4번으로 해결이 안될경우
# cd /etc/apt/sources.list.d/
# rm -rf *
# apt-get clean
# apt-get update
# apt list --upgradable
# apt-get update
참고 : https://ksy3241blog.wordpress.com/2016/06/17/sudo-apt-get-update-에러/
'Linux Server > Trouble Shooting' 카테고리의 다른 글
[Trouble Shooting] wordpress 설치도중 500에러 (2) | 2017.09.09 |
---|---|
[Trouble Shooting] putty 접속시 한글깨짐현상 (0) | 2017.07.20 |
[트러블슈팅] sendmail @localhost.localdomain (0) | 2017.02.18 |
[트러블슈팅] vi 들여쓰기문제 (0) | 2017.01.06 |
[트러블슈팅] ssh 접속시 속도 느린문제 (0) | 2016.10.12 |