Debian 테스트의 e2fsprogs 문제 - 패키지를 업그레이드할 수 없음

Debian 테스트의 e2fsprogs 문제 - 패키지를 업그레이드할 수 없음

Debian Buster를 정기적으로 업데이트하려고 시도한 후 결국 다음과 같은 문제가 발생했습니다.

The following package was automatically installed and is no longer required:
  libraw16
Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
  libraw19
The following packages will be upgraded:
  brave console-setup console-setup-linux e2fslibs glib-networking glib-networking-common glib-networking-services inkscape keyboard-configuration libcom-err2 libcomerr2
  libcupsfilters1 libgegl-0.4-0 libgsl23 libgslcblas0 libllvm6.0 liborcus-0.13-0 libqt5qml5 libqt5quick5 librsvg2-2 librsvg2-common libss2 libwpg-0.3-3 libzmq5 logrotate
  skypeforlinux slack-desktop
27 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/262 MB of archives.
After this operation, 2,084 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Reading changelogs... Done
Preconfiguring packages ...
Setting up e2fsprogs (1.44.4-2) ...
/var/lib/dpkg/info/e2fsprogs.postinst: 8: /var/lib/dpkg/info/e2fsprogs.postinst: update-initramfs: not found
dpkg: error processing package e2fsprogs (--configure):
 installed e2fsprogs package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
 e2fsprogs

적절한 정책은 다음을 반환합니다.initramfs-tools

initramfs-tools:
  Installed: 0.132
  Candidate: 0.132
  Version table:
 *** 0.132 990
        990 http://ftp.ro.debian.org/debian buster/main amd64 Packages
        100 /var/lib/dpkg/status
     0.120+deb8u3 500
        500 http://ftp.debian.org/debian jessie/main amd64 Packages

그래서 내가 갖고 있는 것처럼 보이지만 update-initramfs어떤 이유로 실행되지 않습니다. Jesse 백포트가 일부 있기 때문에 문제가 있을 수 있지만 정확한 문제가 무엇인지는 모르겠습니다.

이것은 내 소스 목록입니다.

deb http://ftp.ro.debian.org/debian/ buster main non-free contrib
deb-src http://ftp.ro.debian.org/debian/ buster main non-free contrib

deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free

deb http://ftp.ro.debian.org/debian/ buster-updates main contrib non-free
deb-src http://ftp.ro.debian.org/debian/ buster-updates main contrib non-free

답변1

이것

1 not fully installed or removed.

출력의 줄은 apt아마도 다른 곳에 나타나지 않기 때문에 이를 참조할 것입니다 e2fsprogs(따라서 실행되기 전에 구성을 기다려야 합니다 postinst). 이는 자체적으로 구성할 수 없는 이유가 일부 이전 작업과 관련되어 있음을 의미합니다 e2fsprogs.apt

/var/lib/dpkg/info/e2fsprogs.postinst이 작업을 취소하려면 위에서 확인한 내용이므로 줄을 편집하여 다음으로 변경하세요. 그런 다음 실행하세요. 성공적으로 완료되면 오류 없이 다시 사용할 수 있습니다(적어도 .update-initramfs -u/usr/sbin/update-initramfs -usudo dpkg --configure --pendingapte2fsprogs

/usr/sbin근본 원인은 더 이상 루트 경로에 있지 않기 때문일 수 있습니다 . 만약에이 경우 다른 관리자 스크립트가 실패할 것으로 예상됩니다.

관련 정보