PDA

View Full Version : Can not run upgrade or install some software



JohnBailey
2022-09-09, 18:15
I am very new to Lynix and have googled around but can not find a answer.

This happens on two different computers.
/usr/bin/apt-get
Hit:1 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease
Hit:2 http://kali.download/kali kali-rolling InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
apt-transport-https is already the newest version (2.5.2).
0 upgraded, 0 newly installed, 0 to remove and 376 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.142) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-5.18.0-kali5-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 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:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)


from my reading I think it has something to do with raspi being removed in the latest version. But I can not seem to figure out how to remove it form the list if tha is what is needed. Any help would be greatly appreciated.

Thank you for you time.

Fred Sheehan
2022-09-09, 22:35
Can't remember exactly where I read this now, apparently just purging it should do it;

sudo apt purge --autoremove raspi-firmware

JohnBailey
2022-09-10, 00:21
Good news I was able to resolve this by removing the module. did apt-get remove raspi-firmware.

JohnBailey
2022-09-12, 20:05
Can't remember exactly where I read this now, apparently just purging it should do it;

sudo apt purge --autoremove raspi-firmware



thank you for the replay. I was able to fix this with the statement you provided.

Trihexagonal
2022-09-17, 22:43
I am very new to Lynix and have googled around but can not find a answer.

Next time use the correct spelling for your keywords. :)