You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Cannot update - related to initramfs I think

Author (Read 1415 times)

0 Members and 1 Guest are viewing this topic.

Re: Cannot update - related to initramfs I think
« Reply #2 on: August 23, 2023, 11:42:28 AM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 822
    Posts
  • Reputation: 148
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
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: [Select]
ls -l /usr/share/initramfs-tools
Code: [Select]
ls -l /usr/share/initramfs-tools/scripts
Code: [Select]
ls -l /usr/share/initramfs-tools/hooks

Also, how much free disk space do you have ?
Code: [Select]
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.

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
clueless
 

Cannot update - related to initramfs I think
« Reply #1 on: August 23, 2023, 05:58:39 AM »
 

gremster

  • New to Forums
  • *
  • 4
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
===========================
Install Updates Error log
===========================
Install Updates could not successfully download and install available updates.
Go to https://www.linuxliteos.com/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
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section