Here is a link to the forum thread that pointed me to using the net install to 
avoid the bug in the live iso.
https://forums.debian.net/viewtopic.php?t=154857
This is definitely a Debian bug (nothing to do with Linuxcnc.)

It looks like I need to create a user account to add my voice to the complaints 
to fix this bug.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-----Original Message-----
From: Todd Zuercher <to...@pgrahamdunn.com>
Sent: Monday, July 10, 2023 5:10 PM
To: Enhanced Machine Controller (EMC) <emc-users@lists.sourceforge.net>
Subject: Re: [Emc-users] Installing From Debian?

[EXTERNAL EMAIL] Be sure links are safe.

I just tried to install the real time kernel on a fresh install from the " 
debian-live-12.0.0-amd64-mate.iso".
I don't have time to dig up error logs... right now.  (Trying to wrap stuff up 
before heading out on vacation for the 2nd half of the week.) No idea why 
"raspi-firmware: missing" would be mentioned in the error list below.  Maybe 
that has something to do with the problem, but this machine and installation 
has nothing to do with a Raspberrypi.  Again this is a pure clean installation 
from the Debian live iso, then the first and only thing I did after installing 
was open Synaptic check the box to install the "linux-image-rt-amd64" meta 
package, then let Synaptic do it's thing.

Error Message from Synaptic:
E: linux-image-6.1.0-10-amd64: installed linux-image-6.1.0-10-amd64 package 
post-installation script subprocess returned error exit status 1
E: linux-image-6.1.0-10-rt-amd64: installed linux-image-6.1.0-10-rt-amd64 
package post-installation script subprocess returned error exit status 1
E: linux-image-rt-amd64: dependency problems - leaving unconfigured
E: linux-image-amd64: dependency problems - leaving unconfigured

Repositories List:
deb http://deb.debian.org/debian/ bookworm main deb-src 
http://deb.debian.org/debian/ bookworm main deb 
http://security.debian.org/debian-security bookworm-security main deb-src 
http://security.debian.org/debian-security bookworm-security main # 
bookworm-updates, to get updates before a point release is made; # see 
https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main deb-src 
http://deb.debian.org/debian/ bookworm-updates main


Everything from the Changes Aplied, Details window:
(Reading database ... 286299 files and directories currently installed.) 
Preparing to unpack .../00-libcpupower1_6.1.37-1_amd64.deb ...
Unpacking libcpupower1 (6.1.37-1) over (6.1.27-1) ...
Preparing to unpack .../01-linux-compiler-gcc-12-x86_6.1.37-1_amd64.deb ...
Unpacking linux-compiler-gcc-12-x86 (6.1.37-1) over (6.1.27-1) ...
Selecting previously unselected package linux-headers-6.1.0-10-common.
Preparing to unpack .../02-linux-headers-6.1.0-10-common_6.1.37-1_all.deb ...
Unpacking linux-headers-6.1.0-10-common (6.1.37-1) ...
Preparing to unpack .../03-linux-kbuild-6.1_6.1.37-1_amd64.deb ...
Unpacking linux-kbuild-6.1 (6.1.37-1) over (6.1.27-1) ...
Selecting previously unselected package linux-headers-6.1.0-10-amd64.
Preparing to unpack .../04-linux-headers-6.1.0-10-amd64_6.1.37-1_amd64.deb ...
Unpacking linux-headers-6.1.0-10-amd64 (6.1.37-1) ...
Preparing to unpack .../05-linux-headers-amd64_6.1.37-1_amd64.deb ...
Unpacking linux-headers-amd64 (6.1.37-1) over (6.1.27-1) ...
Selecting previously unselected package linux-image-6.1.0-10-amd64.
Preparing to unpack .../06-linux-image-6.1.0-10-amd64_6.1.37-1_amd64.deb ...
Unpacking linux-image-6.1.0-10-amd64 (6.1.37-1) ...
Selecting previously unselected package linux-image-6.1.0-10-rt-amd64.
Preparing to unpack .../07-linux-image-6.1.0-10-rt-amd64_6.1.37-1_amd64.deb ...
Unpacking linux-image-6.1.0-10-rt-amd64 (6.1.37-1) ...
Preparing to unpack .../08-linux-image-amd64_6.1.37-1_amd64.deb ...
Unpacking linux-image-amd64 (6.1.37-1) over (6.1.27-1) ...
Selecting previously unselected package linux-image-rt-amd64.
Preparing to unpack .../09-linux-image-rt-amd64_6.1.37-1_amd64.deb ...
Unpacking linux-image-rt-amd64 (6.1.37-1) ...
Preparing to unpack .../10-linux-libc-dev_6.1.37-1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (6.1.37-1) over (6.1.27-1) ...
Setting up linux-libc-dev:amd64 (6.1.37-1) ...
Setting up linux-image-6.1.0-10-amd64 (6.1.37-1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.1.0-9-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-6.1.0-9-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-6.1.0-10-amd64
I: /initrd.img is now a symlink to boot/initrd.img-6.1.0-10-amd64
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-10-amd64.
dkms: autoinstall for kernel: 6.1.0-10-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-10-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-10-amd64 (--configure):
 installed linux-image-6.1.0-10-amd64 package post-installation script 
subprocess returned error exit status 1 Setting up libcpupower1 (6.1.37-1) ...
Setting up linux-image-6.1.0-10-rt-amd64 (6.1.37-1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.1.0-10-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-6.1.0-10-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-6.1.0-10-rt-amd64
I: /initrd.img is now a symlink to boot/initrd.img-6.1.0-10-rt-amd64
/etc/kernel/postinst.d/dkms:
dkms: autoinstall for kernel 6.1.0-10-rt-amd64 was skipped since the kernel 
headers for this kernel do not seem to be installed.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-10-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-10-rt-amd64 (--configure):
 installed linux-image-6.1.0-10-rt-amd64 package post-installation script 
subprocess returned error exit status 1 Setting up linux-compiler-gcc-12-x86 
(6.1.37-1) ...
dpkg: dependency problems prevent configuration of linux-image-rt-amd64:
 linux-image-rt-amd64 depends on linux-image-6.1.0-10-rt-amd64 (= 6.1.37-1); 
however:
  Package linux-image-6.1.0-10-rt-amd64 is not configured yet.

dpkg: error processing package linux-image-rt-amd64 (--configure):
 dependency problems - leaving unconfigured Setting up 
linux-headers-6.1.0-10-common (6.1.37-1) ...
Setting up linux-kbuild-6.1 (6.1.37-1) ...
Setting up linux-headers-6.1.0-10-amd64 (6.1.37-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-10-amd64.
dkms: autoinstall for kernel: 6.1.0-10-amd64.
Setting up linux-headers-amd64 (6.1.37-1) ...
dpkg: dependency problems prevent configuration of linux-image-amd64:
 linux-image-amd64 depends on linux-image-6.1.0-10-amd64 (= 6.1.37-1); however:
  Package linux-image-6.1.0-10-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
 dependency problems - leaving unconfigured Processing triggers for libc-bin 
(2.36-9) ...
Errors were encountered while processing:
 linux-image-6.1.0-10-amd64
 linux-image-6.1.0-10-rt-amd64
 linux-image-rt-amd64
 linux-image-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to 
install.  Trying to recover:
Setting up linux-image-6.1.0-10-amd64 (6.1.37-1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-10-amd64.
/usr/sbin/dkms: line 2497: echo: write error: Broken pipe
dkms: autoinstall for kernel: 6.1.0-10-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-10-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-10-amd64 (--configure):
 installed linux-image-6.1.0-10-amd64 package post-installation script 
subprocess returned error exit status 1 Setting up 
linux-image-6.1.0-10-rt-amd64 (6.1.37-1) ...
/etc/kernel/postinst.d/dkms:
dkms: autoinstall for kernel 6.1.0-10-rt-amd64 was skipped since the kernel 
headers for this kernel do not seem to be installed.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-10-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-10-rt-amd64 (--configure):
 installed linux-image-6.1.0-10-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-10-rt-amd64 (= 6.1.37-1); 
however:
  Package linux-image-6.1.0-10-rt-amd64 is not configured yet.

dpkg: error processing package linux-image-rt-amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-amd64:
 linux-image-amd64 depends on linux-image-6.1.0-10-amd64 (= 6.1.37-1); however:
  Package linux-image-6.1.0-10-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
 dependency problems - leaving unconfigured Errors were encountered while 
processing:
 linux-image-6.1.0-10-amd64
 linux-image-6.1.0-10-rt-amd64
 linux-image-rt-amd64
 linux-image-amd64


Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-----Original Message-----
From: Todd Zuercher <to...@pgrahamdunn.com>
Sent: Monday, July 10, 2023 4:21 PM
To: Enhanced Machine Controller (EMC) <emc-users@lists.sourceforge.net>
Subject: Re: [Emc-users] Installing From Debian?

[EXTERNAL EMAIL] Be sure links are safe.

Karl,

Have you tried installing Debian using one of the Bookworm live ISOs?  I have, 
and the Mate version I downloaded on 3/30/2023 is definitely borked.  I don't 
remember and didn't take notes of the actual details of the problems.  (and 
I've since wiped that install.)  It would run live fine, install and run fine, 
install new software from the repos fine, but could not install a new kernel 
via apt-get or Synaptic (same thing really).  I didn't' bother putting much 
effort into finding or fixing the problem.

I have it installing again on a spare old harddrive to check out exactly what 
the problems were.

The system I installed on was an older Lenovo desktop with an i5 (not sure the 
exact model.)  I don't have a rbpi or any other arm devices.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-----Original Message-----
From: Karl Schmidt <k...@lrak.net>
Sent: Monday, July 10, 2023 2:39 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Installing From Debian?

[EXTERNAL EMAIL] Be sure links are safe.

@Todd -

Not likely a Debian problem - I would have to see his /etc/apt/sources.list to 
know what is going on.

To upgrade you also need something like this in /etc/apt.conf.d/local

APT::Default-Release "/^bookworm(|-security|-updates)$/";

He says this is on an old MacBook (A1278) - that is supposed to be a core-i5 - 
thus amd64.

I don't think the 'Raspberry Pi Desktop' is part of Debian - so his 
sources.list is probably wacked.

Other things to look at:
# cat /etc/issue
# uname -a


 From a normal Debian system with these lines in sources.list:
deb http://ftp.us.debian.org/debian/ bookworm  main contrib non-free deb 
http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware 
deb http://security.debian.org/debian-security bookworm-security main contrib 
non-free non-free-firmware deb http://deb.debian.org/debian/ bookworm-updates 
main contrib non-free non-free-firmware

# wajig listall linuxcnc
linuxcnc-doc-de           motion controller for CNC machines and robots (German 
documentation)
linuxcnc-doc-en           motion controller for CNC machines and robots 
(English documentation)
linuxcnc-doc-es           controlador de movimiento para máquinas CNC y robots 
(Español).
linuxcnc-doc-fr           motion controller for CNC machines and robots (French 
documentation)
linuxcnc-doc-zh-cn        motion controller for CNC machines and robots (Chinese
linuxcnc-uspace           motion controller for CNC machines and robots
linuxcnc-uspace-dev       PC based motion controller for real-time Linux

The only drawback to running a pure Debian system is it 'tends to be VERY 
conservative' - so the big advantage of running pure Debian is it 'tends to be 
VERY conservative' - something I want for running machine-control or public 
facing systems.

I really want to praise the guys that did all the heavy lifting to get linuxcnc 
into Debian - not a small task - (the software has to survive all sorts of 
probes by the "Lintian" a comprehensive package checker - Debian Policy 
violations and violations of various sub-policies, best practices, common 
mistakes, and problems that maintainers like to catch before uploads. )

I'm sure the code will be picked up by the manny distributions that feed off of 
Debian. The more eyes on the code - the more users - the more polished it 
becomes.




--
--------------------------------------------------------------------------------
Karl Schmidt                                  EMail k...@lrak.net
3209 West 9th Street                          Ph (785) 841-3089
Lawrence, KS 66049

Data mining fools the miner first.
Bayesian thinking is not a human trait.
--kps
--------------------------------------------------------------------------------


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to