답변:
가장 빠른 방법이 앱 틱론에 표시되어 있다고 가정합니다.
https://salsa.debian.org/debian/apticron/blob/master/apticron#L121-154
이것은 다음과 같이 증류 될 수 있습니다 :
apt-get -q -y --ignore-hold --allow-change-held-packages --allow-unauthenticated -s dist-upgrade | /bin/grep ^Inst | wc -l
방금 명령을 실행합니다.
sudo apt-get update && sudo apt-get upgrade
업데이트 프로세스를 수행 한 후 upgrade명령 출력을 다음 과 같이 제공합니다 .
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
wine1.5 wine1.5-i386
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 24.1 MB of archives.
After this operation, 286 kB of additional disk space will be used.
Do you want to continue [Y/n]?
6 번째 줄에는 2 가지 업그레이드가 있으며 5 번째 줄에는 업그레이드가 가능한 패키지가 나열되어 있습니다. 그 순간에 업그레이드를 설치하려는 기분이 들지 않으면을 누르고 n계속 진행하십시오.
간단하고 간단합니다.
참고 : 사용 가능한 커널 업데이트가 있으면로 표시됩니다 <x> not upgraded.