![]() |
Cannot update - related to initramfs I think - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5) +--- Forum: Updates (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=46) +--- Thread: Cannot update - related to initramfs I think (/showthread.php?tid=8902) |
Cannot update - related to initramfs I think - gremster - 08-23-2023 =========================== Install Updates Error log =========================== Install Updates could not successfully download and install available updates. Go to https://www.freecinema2022.gq/forums/ and paste the log below into the Software - Support - Updates section for assistance. ============ Log =========== Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: google-chrome-stable 1 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade. 2 not fully installed or removed. Need to get 96.7 MB of archives. After this operation, 208 kB disk space will be freed. Get:1 https://dl.google.com/linux/chrome/deb stable/main amd64 google-chrome-stable amd64 116.0.5845.110-1 [96.7 MB] Fetched 96.7 MB in 7s (13.2 MB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 408197 files and directories currently installed.) Preparing to unpack .../google-chrome-stable_116.0.5845.110-1_amd64.deb ... Unpacking google-chrome-stable (116.0.5845.110-1) over (116.0.5845.96-1) ... Setting up google-chrome-stable (116.0.5845.110-1) ... Setting up initramfs-tools (0.140ubuntu13.4) ... update-initramfs: deferring update (trigger activated) Setting up linux-firmware (20220329.git681281e4-0ubuntu3.18) ... update-initramfs: Generating /boot/initrd.img-5.15.0-79-generic cp: cannot stat '/usr/share/initramfs-tools/scripts/casper-functions': No such file or directory E: /usr/share/initramfs-tools/hooks/casper failed with return 1. update-initramfs: failed for /boot/initrd.img-5.15.0-79-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 man-db (2.10.2-1) ... Processing triggers for menu (2.1.47ubuntu4) ... Processing triggers for mailcap (3.70+nmu1ubuntu1) ... Processing triggers for desktop-file-utils (0.26-1ubuntu3) ... Processing triggers for gnome-menus (3.36.0-1ubuntu3) ... Processing triggers for initramfs-tools (0.140ubuntu13.4) ... update-initramfs: Generating /boot/initrd.img-5.15.0-79-generic cp: cannot stat '/usr/share/initramfs-tools/scripts/casper-functions': No such file or directory E: /usr/share/initramfs-tools/hooks/casper failed with return 1. update-initramfs: failed for /boot/initrd.img-5.15.0-79-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) ++++++++++++++++++++++++++++++++++++ I awas only able to query this a I had to run fsck /dev/sda2 (my partition for LL) when it stop at initramfs Busybox stage so I got this far. I also flushed my DNS correctly I think as suggested in a sticky post here on this forum. Every bit of info I got through a Google Search very much a Newbie here As far as laptop Spec is inxi will give info but can do options Have old legacy MBR will hard disk partition table set a GPT a real I know Please Help Thanks Re: Cannot update - related to initramfs I think - stevef - 08-23-2023 Not really clear (to me) what's going on. I'd start by looking at the error messages references to see if they make sense. Open a terminal (press Ctrl Alt and T together), then post back with the results these commands give. Code: ls -l /usr/share/initramfs-tools Code: ls -l /usr/share/initramfs-tools/scripts Code: ls -l /usr/share/initramfs-tools/hooks Also, how much free disk space do you have ? Code: df -H Not sure what you are trying to say here. Quote:I awas only able to query this a I had to run fsck /dev/sda2 (my partition for LL) when it stop at initramfs Busybox stage so I got this far. |