Configuration file '/etc/cloud/cloud.cfg'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** cloud.cfg (Y/I/N/O/D/Z) [default=N] ?

 

그냥 Y 하면 되나요?

  • ?

    Selecting the first option, Y or I : install the package maintainer's version, will not change your currently installed Ubuntu release. Instead it will make everything compatible with your currently installed Ubuntu release (Ubuntu 16.04). If necessary it will undo changes that you have made in your system that could prevent you from being able to update packages normally. The first Y option is the safest option to choose when presented with the Package distributor has shipped an updated version menu because it is the option the allows you to update your system normally and returns your system to a condition where there is nothing that interferes with default package management. This will also make it easier to fix the underlying broken packages problem that interferes with updating the installed packages and probably generated this package management message to begin with.

     

     

     구글링 해보니깐 첫 번째 Y옵션은 Package distributor has shipped an updated version시스템을 정상적으로 업데이트하고 기본 패키지 관리를 방해하지 않는 상태로 시스템을 되돌릴 수있는 옵션이므로 메뉴 와 함께 표시 될 때 선택하는 가장 안전한 옵션 입니다. 이렇게하면 기본 손상된 패키지를 쉽게 수정할 수 있습니다.

     

    이렇다는 데 잘 모르겠네요

     

    그냥 Y 치고 깔고 나니 나중에 이글은 왜 뜨는지?

     

    W: Operation was interrupted before it could finish

  • profile

    https://zetawiki.com/wiki//etc/cloud/cloud.cfg

    해당 파일은 cloud-init라는 프로그램에서 사용되는 파일로, 보통 서버 호스팅 회사 등에서 자신들 환경에 맞게 파일을 변경해 둡니다. 해당 파일은 초기화 이후 사용되지 않으므로 변경되어도 상관 없습니다.

    입력후 오류가 발생한 것은 선택을 잘못 하셨거나 컨트롤+C 등으로 작업을 중단한 경우입니다. 이경우 아무것도 바뀌지 않습니다.

     

    하지만 보통 설정파일이 변경된 경우 변경사항이 덮어씌워지면 안되는 경우가 대부분이므로 다음부터는 N을 선택하시는것을 권장드립니다.

  • profile ?
    감사합니다
  • profile ?
    근데 upgrade를 아예 안 하는 게 좋나요? apt update만 하는게 좋을지 모르겠네요
  • ? profile
    upgrade를 하지 않으면 아무 의미도 없습니다. apt가 사람 참 헷갈리게 만드는 점이 바로 이 부분인데, update는 업데이트가 있는지 없는지 확인만 하고 아무 것도 적용하지를 않습니다 ㅡ.ㅡ;;
  • profile

    그냥 엔터치면 가장 안전한 선택지가 자동으로 선택됩니다. 이 경우에는 [default=N] 이라고 되어 있으므로 기본값이 N입니다. 알파벳을 입력할 필요 없이 그냥 엔터치면 N이 선택됩니다.

     

    클라우드서버에서 cloud.cfg를 임의로 변경하면 해당 클라우드 플랫폼의 기능과 제대로 연동되지 않을 수 있으므로 이 파일은 업데이트하지 않는 것이 좋습니다. 그래서 기본값이 N입니다.

  • ?
    감사합니다