![Debian 8 Jessie에서 Debian 9 Stretch로 업그레이드하는 방법은 무엇입니까?](https://linux55.com/image/102636/Debian%208%20Jessie%EC%97%90%EC%84%9C%20Debian%209%20Stretch%EB%A1%9C%20%EC%97%85%EA%B7%B8%EB%A0%88%EC%9D%B4%EB%93%9C%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%9D%80%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F.png)
apt-get update && apt-get upgrade && apt-get dist-upgrade
루트로 명령을 실행하려고 시도했지만 아무 일도 일어나지 않았습니다. 문제는 완전히 완전하지 않은 적절한 소스에 있다고 생각합니다. 내가 맞나요? 어떤 소스를 설정해야 합니까?
답변1
jessie 대신 스트레치를 사용하도록 적절한 저장소를 업데이트하세요. (이 작업은 텍스트 편집기를 사용하여 수동으로 수행할 수 있지만 sed를 사용하여 파일을 자동으로 업데이트할 수 있습니다.)
[user@debian-9 ~]$ sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list
참고하세요: Debian 9(Stretch)가 베타 버전으로 표시되는 이유가 있습니다. 사용하는 동안 안정성 문제가 발생할 수 있습니다.
답변2
다음 문서에서는 Debian 8 Jessie를 Debian 9 Stretch로 업그레이드하는 데 필요한 특정 단계를 제공합니다.
https://economictheoryblog.com/2018/08/23/upgrade-debian-8-to-9/
답변3
echo 'deb http://httpredir.debian.org/debian/ stretch main contrib non-free
deb-src http://httpredir.debian.org/debian/ stretch main contrib non-free
deb http://httpredir.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ stretch-updates main contrib non-free
deb http://httpredir.debian.org/debian/ stretch-proposed-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ stretch-proposed-updates main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free' > /etc/apt/sources.list.d/stretch.list