Debconf를 로드할 수 없습니다

Debconf를 로드할 수 없습니다

Linux 2를 실행하는 이전 시스템에서 libc를 업그레이드하려고 시도했지만 오류가 발생했습니다.

(Reading database ... 7426 files and directories currently installed.)
Preparing to replace libc6 2.2.5-11.8 (using .../libc6_2.24-11+deb9u1_i386.deb) ...
debconf: Unable to load Debconf::Element::Dialog::Error. Failed because: Can't locate Debconf/Element/Dialog/Error.pm in @INC (@INC contains: /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at (eval 14) line 2, <GEN1> line 5.
BEGIN failed--compilation aborted at (eval 14) line 2, <GEN1> line 5.

dpkg: error processing /var/cache/apt/archives/libc6_2.24-11+deb9u1_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
/var/lib/dpkg/tmp.ci/postrm: dpkg-maintscript-helper: command not found
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.24-11+deb9u1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

펄처럼 보이지만 어떻게 해야 할지 모르겠습니다. 내가 무엇을 해야 하는지 말해 줄 수 있나요? 내 목표는 Perl을 업그레이드하는 것이며 이를 위해서는 libc iiuc도 업그레이드해야 합니다.

답변1

펄을 업그레이드해야 합니다. 지금은 debconf를 무시하십시오(나중에 문제를 다시 수신하고 싶다고 debconf에 알려줄 것입니다).

첫 번째 단계로 설치하겠습니다.배시 정적, 시스템이 제대로 부팅되지 않는 경우를 대비하여 비상 도구를 갖추기 위한 것입니다. (Debian 사이트에서 다운로드하고 dpkg -i를 사용하여 설치합니다.)

필요한 Perl 모듈을 확인하세요(Debian 패키지 사이트를 탐색하여 필요한 Perl 패키지만 확인하세요). 설치합니다(예: dpkg --force-를 사용하여 강제 실행). 때로는 dpkg --configure --pending을 시도하여 누락된 항목을 설정하세요. 결국에는 작동하는 시스템을 갖추고 정기적으로 패키지를 업데이트해야 합니다.

관련 정보