![Nano를 설치하는 데 문제가 있음](https://linux55.com/image/108971/Nano%EB%A5%BC%20%EC%84%A4%EC%B9%98%ED%95%98%EB%8A%94%20%EB%8D%B0%20%EB%AC%B8%EC%A0%9C%EA%B0%80%20%EC%9E%88%EC%9D%8C.png)
나는 debian linux(postgres 이미지를 사용함)를 실행하는 도커 컨테이너를 가지고 있고 파일을 편집할 수 있도록 여기에 nano를 설치하고 싶습니다. 그러나 내가 시도할 때
# apt-get install nano
내가 얻는 결과는 다음과 같습니다.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nano
나는 팔로우하고 있다이 문서. 여기서 어떤 단계를 놓치고 있나요?
답변1
분명히 간단한 해결책이 있습니다. 먼저 업데이트해야 합니다.
# apt-get update
# apt-get install nano