kcaps
Tue Aug 11, 2020 8:45:55 am
I don't know how this happened, I don;t recall having made any system changes. I can't do anything with apt at all. The symptoms are identical to a full /boot, but that's not my problem.
I will let some commands tell the story for me:
uname -r
I purposely use an old kernel. I don't have certain hardware support with newer ones for some reason...
df -h
sudo apt upgrade
sudo apt autoremove
sudo dpkg --configure -a
sudo update-initramfs -u -k all
ll /boot
sudo apt install --reinstall linux-firmware
Don't really know where to go from here. I'd rather not have to reinstall Zorin AGAIN. Seems like I finally have it running and stable and I even tried reinstalling it but apparently the option to reinstall doesn't exist in the Zorin installer. (as opposed to ubuntu)
I will let some commands tell the story for me:
uname -r
- Code:
4.19.13-041913-generic
I purposely use an old kernel. I don't have certain hardware support with newer ones for some reason...
df -h
- Code:
Filesystem Size Used Avail Use% Mounted on
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 2.2M 1.6G 1% /run
/dev/nvme0n1p2 468G 88G 357G 20% /
tmpfs 7.8G 143M 7.7G 2% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/loop0 97M 97M 0 100% /snap/core/9436
/dev/loop2 128K 128K 0 100% /snap/openboard/14
/dev/loop1 97M 97M 0 100% /snap/core/9665
/dev/nvme0n1p1 511M 6.1M 505M 2% /boot/efi
tmpfs 1.6G 20K 1.6G 1% /run/user/121
tmpfs 1.6G 56K 1.6G 1% /run/user/1000
sudo apt upgrade
- Code:
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.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up initramfs-tools (0.130ubuntu3.9) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-firmware (1.173.19) ...
update-initramfs: Generating /boot/initrd.img-4.19.13-041913-generic
E: /usr/share/initramfs-tools/hooks/ntfs_3g failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.19.13-041913-generic with 1.
dpkg: error processing package linux-firmware (--configure):
installed linux-firmware package post-installation script subprocess returned error exit status 1
Processing triggers for initramfs-tools (0.130ubuntu3.9) ...
update-initramfs: Generating /boot/initrd.img-4.19.13-041913-generic
E: /usr/share/initramfs-tools/hooks/ntfs_3g failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.19.13-041913-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-firmware
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo apt autoremove
- Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.130ubuntu3.9) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-firmware (1.173.19) ...
update-initramfs: Generating /boot/initrd.img-4.19.13-041913-generic
E: /usr/share/initramfs-tools/hooks/ntfs_3g failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.19.13-041913-generic with 1.
dpkg: error processing package linux-firmware (--configure):
installed linux-firmware package post-installation script subprocess returned error exit status 1
Processing triggers for initramfs-tools (0.130ubuntu3.9) ...
update-initramfs: Generating /boot/initrd.img-4.19.13-041913-generic
E: /usr/share/initramfs-tools/hooks/ntfs_3g failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.19.13-041913-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-firmware
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo dpkg --configure -a
- Code:
Setting up initramfs-tools (0.130ubuntu3.9) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-firmware (1.173.19) ...
update-initramfs: Generating /boot/initrd.img-4.19.13-041913-generic
E: /usr/share/initramfs-tools/hooks/ntfs_3g failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.19.13-041913-generic with 1.
dpkg: error processing package linux-firmware (--configure):
installed linux-firmware package post-installation script subprocess returned error exit status 1
Processing triggers for initramfs-tools (0.130ubuntu3.9) ...
update-initramfs: Generating /boot/initrd.img-4.19.13-041913-generic
E: /usr/share/initramfs-tools/hooks/ntfs_3g failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.19.13-041913-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-firmware
initramfs-tools
sudo update-initramfs -u -k all
- Code:
update-initramfs: Generating /boot/initrd.img-4.19.13-041913-generic
E: /usr/share/initramfs-tools/hooks/ntfs_3g failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.19.13-041913-generic with 1.
ll /boot
- Code:
total 74156
-rw-r--r-- 1 root root 1508657 Dec 29 2018 abi-4.19.13-041913-generic
-rw-r--r-- 1 root root 219598 Dec 29 2018 config-4.19.13-041913-generic
drwx------ 3 root root 4096 Jan 1 1970 efi
drwxr-xr-x 5 root root 4096 Aug 11 07:24 grub
-rw-r--r-- 1 root root 60679344 May 25 11:48 initrd.img-4.19.13-041913-generic
-rw-r--r-- 1 root root 182704 Jan 28 2016 memtest86+.bin
-rw-r--r-- 1 root root 184380 Jan 28 2016 memtest86+.elf
-rw-r--r-- 1 root root 184840 Jan 28 2016 memtest86+_multiboot.bin
-rw-r--r-- 1 root root 17 Dec 29 2018 retpoline-4.19.13-041913-generic
-rw------- 1 root root 4326738 Dec 29 2018 System.map-4.19.13-041913-generic
-rw------- 1 root root 8615808 Dec 29 2018 vmlinuz-4.19.13-041913-generic
sudo apt install --reinstall linux-firmware
- Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for linux-firmware:amd64
Don't really know where to go from here. I'd rather not have to reinstall Zorin AGAIN. Seems like I finally have it running and stable and I even tried reinstalling it but apparently the option to reinstall doesn't exist in the Zorin installer. (as opposed to ubuntu)