무인 업그레이드가 중단됨

무인 업그레이드가 중단됨

가상 머신이 실행 중입니다 Ubuntu 20.04.

오류로 인해 무인 업그레이드가 중단된 것을 확인했습니다.

Could not figure out development release: Distribution data outdated. Please check for an update for distro-info-data. See /usr/share/doc/distro-info-data/README.Debian for details.

실행하여 문제 해결

apt-get install --only-upgrade distro-info-data

내용은 /usr/share/doc/distro-info-data/README.Debian다음과 같습니다.

Outdated Data Errors
====================

If you get an error that the package data is out of date, look for a newer
distro-info-data package in your distribution's updates.

unattended-upgrades그래서 내 질문은 이러한 오류를 수동으로 모니터링해야 하는 경우 이 패키지의 목적은 무엇입니까?입니다. (또는 뭔가 빠졌습니다).

누군가가 패키지 상태를 수동으로 확인해야 합니까?

답변1

목적은 unattended-upgrades사용자 개입 없이 시스템을 최신 상태로 유지하는 것입니다. (나는 당신이 이것을 알고 있다고 가정하지만 당신의 질문이 제기됩니다).

unattended-upgrades시스템의 구성이 distro-info-data업그레이드를 무시할 수 있습니다. 이를 고려하면 unattended-upgrades업데이트된 배포 정보가 필요할 때 이를 알려줍니다(대부분 새 버전이 출시될 때, 이전 버전에서 이를 알아야 하는 이유는 확실하지 않습니다).

그 자체로는 아무것도 할 필요가 없습니다 unattended-upgrades. 앞으로 이런 일이 발생하지 않도록 하려면 업데이트를 unattended-upgrades적용하도록 구성하세요 distro-info-data. 기술적으로는 unattended-upgrades충분히 새로운 패키지가 필요하도록 패키지를 업데이트할 수 있지만 distro-info-data그렇게 하면 문제가 unattended-upgrades업그레이드 자체를 보장하는 쪽으로 옮겨질 뿐입니다.

관련 정보