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)。これは、自分で設定できない理由がいくつかの以前のタスクに関連していることを意味しますe2fsprogsapt

/var/lib/dpkg/info/e2fsprogs.postinstこれをキャンセルするには上記で確認したので、行を編集して次に変更してください。それから実行してください。正常に完了すると、エラーなしで再利用できます(少なくとも。update-initramfs -u/usr/sbin/update-initramfs -usudo dpkg --configure --pendingapte2fsprogs

/usr/sbin根本的な原因はもはやルートパスにないためです。もしはいこの場合、他の管理者スクリプトが失敗すると予想されます。

おすすめ記事