내가 달릴 때마다
sudo dpkg --configure -a
이 오류가 발생합니다
> Processing triggers for initramfs-tools (0.130ubuntu3.7) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-46-generic
Warning: /sbin/fsck.ext4 doesn't exist, can't install to initramfs, ignoring.
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.15.0-46-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Setting up linux-firmware (1.173) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-46-generic
Warning: /sbin/fsck.ext4 doesn't exist, can't install to initramfs, ignoring.
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.15.0-46-generic with 1.
dpkg: error processing package linux-firmware (--configure):
installed linux-firmware package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
initramfs-tools
linux-firmware
인터넷 검색을 한 후 /boot
파티션이 가득 찬 것과 관련이 있음을 알았지 만 분명히 그렇지 않습니다. 결과는 dh -f
다음 과 같습니다.
Filesystem Size Used Avail Use% Mounted on
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 1.9M 1.6G 1% /run
/dev/sda9 83G 17G 62G 22% /
tmpfs 7.8G 105M 7.7G 2% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/loop2 90M 90M 0 100% /snap/core/6673
/dev/loop3 196M 196M 0 100% /snap/vlc/555
/dev/loop0 54M 54M 0 100% /snap/core18/970
/dev/loop1 18M 18M 0 100% /snap/chromium-ffmpeg/9
/dev/loop5 54M 54M 0 100% /snap/core18/941
/dev/loop6 141M 141M 0 100% /snap/gnome-3-26-1604/78
/dev/loop27 89M 89M 0 100% /snap/core/6964
/dev/loop29 239M 239M 0 100% /snap/kde-frameworks-5-core18/26
/dev/loop26 203M 203M 0 100% /snap/vlc/768
/dev/sda1 256M 35M 222M 14% /boot/efi
tmpfs 1.6G 64K 1.6G 1% /run/user/1000
또한 패키지를 설치 / 업데이트 / 업그레이드하거나 dpkg 및 apt-get을 사용할 수 없습니다. 또한 오래된 커널을 삭제했습니다. 무한한 오류 루프처럼 보이며 모두 저를 그 오류로 되돌립니다.
Errors were encountered while processing:
initramfs-tools
linux-firmware
출력 apt policy e2fsprogs libext2fs2
e2fsprogs:
Installed: (none)
Candidate: 1.44.1-1
Version table:
1.44.1-1 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
500 http://za.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
1.42.13-1ubuntu1 -1
100 /var/lib/dpkg/status
libext2fs2:
Installed: 1.44.1-1ubuntu1.1
Candidate: 1.44.1-1ubuntu1.1
Version table:
*** 1.44.1-1ubuntu1.1 100
100 /var/lib/dpkg/status
1.44.1-1 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
500 http://za.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
이 두 줄의 출력에서 패키지 e2fsprogs
가 없거나 손상 되었다는 결론을 내립니다 .
Warning: /sbin/fsck.ext4 doesn't exist, can't install to initramfs, ignoring.
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
첫 번째 줄 /sbin/fsck.ext4
은 내가 언급 한 패키지에서 제공하는 파일 인 is missing 이라고 직접 말합니다 . 두 번째 줄에 언급 된 실패한 스크립트를 살펴보면 /sbin/dumpe2fs
동일한 패키지에서 제공하는.
문제를 해결하려면 다음 e2fsprogs
을 실행 하여 (재?) 설치해야 합니다.
sudo apt install --reinstall e2fsprogs
실패한 fixrtc
initramfs 후크 ( initramfs-tools-core
)를 포함하는 패키지가 겉보기에 필요한 e2fsprogs
패키지 에 의존하지 않는다는 사실 은 아마도 버그로 간주되어야합니다. 여기 Launchpad에보고했습니다.
최신 정보:
으로 e2fsprogs
는 호환되지 않는 버전과 충돌하기 때문에 설치를 거부 libext2fs2
사용 가능한 소스 더 이상 알 수없는에서 설치 한 것으로, 우리는 너무 과정에서 지원되는 버전에 다른 패키지 다시 다운 그레이드해야합니다 :
sudo apt install --reinstall e2fsprogs libext2fs2=1.44.1-1
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다