Debian 12 - Bookworm Live installer ISO for linuxcnc (x86_64)
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
25 Nov 2023 23:52 #286512
by tommylight
Replied by tommylight on topic Debian 12 - Bookworm Live installer ISO for linuxcnc (x86_64)
Screenshot of the error?
Please Log in or Create an account to join the conversation.
26 Nov 2023 00:37 #286514
by JohnnyCNC
Replied by JohnnyCNC on topic Debian 12 - Bookworm Live installer ISO for linuxcnc (x86_64)
Attachments:
Please Log in or Create an account to join the conversation.
26 Nov 2023 00:51 #286516
by rodw
Replied by rodw on topic Debian 12 - Bookworm Live installer ISO for linuxcnc (x86_64)
From the screen dump, you have nothing to upgrade so its not an issue.
That raspberry pi bug seems to have returned to Debian core code. Its not a Linuxcnc thing
SO the error is in relation to the rasppi firmware it thinks is installed.
try sudo apt remove z50-raspi-firmware or
sudo apt remove raspi-firmware if it errors
That raspberry pi bug seems to have returned to Debian core code. Its not a Linuxcnc thing
SO the error is in relation to the rasppi firmware it thinks is installed.
try sudo apt remove z50-raspi-firmware or
sudo apt remove raspi-firmware if it errors
Please Log in or Create an account to join the conversation.
26 Nov 2023 01:42 #286518
by JohnnyCNC
Replied by JohnnyCNC on topic Debian 12 - Bookworm Live installer ISO for linuxcnc (x86_64)
That is why I downloaded the ISO again. I thought I might have grabbed the wrong one.
I tied both commands and they both error.
john@X3CNC:~$ sudo apt remove z50-raspi-firmware
[sudo] password for john:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package z50-raspi-firmware
john@X3CNC:~$ sudo apt remove raspi-firmware
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
raspi-firmware
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 22.8 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 161782 files and directories currently installed.)
Removing raspi-firmware (1.20220830+ds-1) ...
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-6.1.0-13-rt-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)
I then tried this and it did not error:
john@X3CNC:~$ sudo apt purge raspi-firmware
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
raspi-firmware*
0 upgraded, 0 newly installed, 1 to remove and 0 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)
(Reading database ... 161754 files and directories currently installed.)
Purging configuration files for raspi-firmware (1.20220830+ds-1) ...
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-13-rt-amd64
That seemed to do it.
Thanks Rod.
I tied both commands and they both error.
john@X3CNC:~$ sudo apt remove z50-raspi-firmware
[sudo] password for john:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package z50-raspi-firmware
john@X3CNC:~$ sudo apt remove raspi-firmware
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
raspi-firmware
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 22.8 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 161782 files and directories currently installed.)
Removing raspi-firmware (1.20220830+ds-1) ...
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-6.1.0-13-rt-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)
I then tried this and it did not error:
john@X3CNC:~$ sudo apt purge raspi-firmware
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
raspi-firmware*
0 upgraded, 0 newly installed, 1 to remove and 0 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)
(Reading database ... 161754 files and directories currently installed.)
Purging configuration files for raspi-firmware (1.20220830+ds-1) ...
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-13-rt-amd64
That seemed to do it.
Thanks Rod.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
26 Nov 2023 02:25 - 26 Nov 2023 02:30 #286520
by tommylight
12.1 and 12.2 BookWorm do not have this issue, 12.0 did since it's pre-release.
Did not have time to check the official ISO version yet although i had downloaded it before it was released to public, bumped into it by accident!
Edit:
Question, when you do a new ISO build, did you delete absolutely everything before starting?
The working folder must be clean, otherwise... this happens.
Replied by tommylight on topic Debian 12 - Bookworm Live installer ISO for linuxcnc (x86_64)
It never left, Rod, not in this ISO you provided. I am aware you mentioned several times you fixed it, apparently it is still there.That raspberry pi bug seems to have returned to Debian core code. Its not a Linuxcnc thing
12.1 and 12.2 BookWorm do not have this issue, 12.0 did since it's pre-release.
Did not have time to check the official ISO version yet although i had downloaded it before it was released to public, bumped into it by accident!
Edit:
Question, when you do a new ISO build, did you delete absolutely everything before starting?
The working folder must be clean, otherwise... this happens.
Last edit: 26 Nov 2023 02:30 by tommylight. Reason: more info
Please Log in or Create an account to join the conversation.
26 Nov 2023 03:03 #286525
by rodw
Replied by rodw on topic Debian 12 - Bookworm Live installer ISO for linuxcnc (x86_64)
Just to be clear Tommy, this pi firmware is not installed by Linuxcnc. The issue is with Debian because we use the official Debian Live Installer.
We don't even to any shell scripting, we just configure it all through files and settings.
I did occasionally see the name pop up when the installer runs.
I think that it is possible to tell the installer not to install a package. maybe we can do that.
We don't even to any shell scripting, we just configure it all through files and settings.
I did occasionally see the name pop up when the installer runs.
I think that it is possible to tell the installer not to install a package. maybe we can do that.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
26 Nov 2023 13:25 #286549
by tommylight
Who implied otherwise?
Replied by tommylight on topic Debian 12 - Bookworm Live installer ISO for linuxcnc (x86_64)
Yes it is a Debian issue, not a LinuxCNC issue.Just to be clear Tommy, this pi firmware is not installed by Linuxcnc.
Who implied otherwise?
Please Log in or Create an account to join the conversation.
19 Dec 2023 18:53 #288609
by lunada
Replied by lunada on topic Debian 12 - Bookworm Live installer ISO for linuxcnc (x86_64)
keep getting this error:
ncrouter@cncrouter:~$ sudo apt purge raspi-firmware
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
raspi-firmware*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
3 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)
Setting up linux-image-6.1.0-15-rt-amd64 (6.1.66-1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-15-rt-amd64.
dkms: autoinstall for kernel: 6.1.0-15-rt-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-15-rt-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
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.1.0-15-rt-amd64 (--configure):
installed linux-image-6.1.0-15-rt-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-rt-amd64:
linux-image-rt-amd64 depends on linux-image-6.1.0-15-rt-amd64 (= 6.1.66-1); however:
Package linux-image-6.1.0-15-rt-amd64 is not configured yet.
dpkg: error processing package linux-image-rt-amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-6.1.0-15-rt-amd64
linux-image-rt-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
ncrouter@cncrouter:~$ sudo apt purge raspi-firmware
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
raspi-firmware*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
3 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)
Setting up linux-image-6.1.0-15-rt-amd64 (6.1.66-1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-15-rt-amd64.
dkms: autoinstall for kernel: 6.1.0-15-rt-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-15-rt-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
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.1.0-15-rt-amd64 (--configure):
installed linux-image-6.1.0-15-rt-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-rt-amd64:
linux-image-rt-amd64 depends on linux-image-6.1.0-15-rt-amd64 (= 6.1.66-1); however:
Package linux-image-6.1.0-15-rt-amd64 is not configured yet.
dpkg: error processing package linux-image-rt-amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-6.1.0-15-rt-amd64
linux-image-rt-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
Please Log in or Create an account to join the conversation.
19 Dec 2023 19:59 #288612
by rodw
Replied by rodw on topic Debian 12 - Bookworm Live installer ISO for linuxcnc (x86_64)
I don't understand why this is happening. Is it a new installation?
Why has dkms been loaded? do you have any drivers (eg realtek NIC drivers) installed that requires it?
Why has dkms been loaded? do you have any drivers (eg realtek NIC drivers) installed that requires it?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
19 Dec 2023 21:11 - 19 Dec 2023 21:17 #288616
by tommylight
Still the old image with raspi issues????
forum.linuxcnc.org/39-pncconf/50179-a-li...zard?start=30#281934
Replied by tommylight on topic Debian 12 - Bookworm Live installer ISO for linuxcnc (x86_64)
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1
Still the old image with raspi issues????
forum.linuxcnc.org/39-pncconf/50179-a-li...zard?start=30#281934
Last edit: 19 Dec 2023 21:17 by tommylight. Reason: added link
Please Log in or Create an account to join the conversation.
Time to create page: 0.663 seconds