apt-get dist-upgrade가 아무것도 수행하지 않을 때 모든 패키지를 어떻게 설치할 수 있습니까?

apt-get dist-upgrade가 아무것도 수행하지 않을 때 모든 패키지를 어떻게 설치할 수 있습니까?

내 Debian 시스템(Raspian Raspberry Pi)에는 일부 패키지가 유지됩니다. 시도해 보았 sudo apt-get dist-upgrade으나 업그레이드가 되지 않았습니다.

$ sudo apt-get upgrade -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libalgorithm-diff-xs-perl libdbd-mysql-perl libdbi-perl libfile-fcntllock-perl
  liblocale-gettext-perl libnet-libidn-perl libnet-ssleay-perl
  libterm-readkey-perl libtext-charwidth-perl libtext-iconv-perl
  libtext-soundex-perl
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

패키지는 보관되지 않습니다. 아래에는 출력이 없습니다.

$ dpkg --get-selections | grep hold

이러한 패키지가 차단되는 원인은 무엇입니까? 어떻게 업그레이드하나요?

답변1

jordanm의 의견에 따르면 종속성(perl 기반)이 테스트 저장소에서 누락되었을 수 있습니다. 며칠 후에 다시 시도했는데 효과가 있는 것 같았습니다.

$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  libperl5.18
The following NEW packages will be installed:
  docutils-common docutils-doc libalgorithm-c3-perl libcgi-pm-perl libclass-c3-perl
  libclass-c3-xs-perl libdata-optlist-perl libdata-section-perl libfcgi-perl
  libmodule-build-perl libmodule-signature-perl libmro-compat-perl
  libpackage-constants-perl libparams-util-perl libperl5.20 libpod-readme-perl
  libregexp-common-perl libsoftware-license-perl libsub-exporter-perl
  libsub-install-perl libtext-template-perl libwebp5 libwebpdemux1 libwebpmux1
  php-aws-sdk-doc php-guzzle-doc python-docutils python-guzzle-sphinx-theme
  python-jinja2 python-markupsafe python-pil python-pygments python-roman
  python-sphinx sphinx-common sphinx-doc
The following packages will be upgraded:
  elinks libalgorithm-diff-xs-perl libdbd-mysql-perl libdbi-perl
  libfile-fcntllock-perl liblocale-gettext-perl libnet-libidn-perl
  libnet-ssleay-perl libterm-readkey-perl libtext-charwidth-perl libtext-iconv-perl
  libtext-soundex-perl perl perl-base perl-modules php-aws-sdk php-guzzle
17 upgraded, 36 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B/15.0 MB of archives.
After this operation, 25.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] 

관련 정보