Error getting packages on fresh install on Raspberry Pi 5

More
05 Nov 2024 10:27 #313801 by daveyr
Good morning.
for some reason it seemed like it would be fun to set up Ethercat and LinuxCNC and ProbeBasic so here we go.  Downloaded the 2.9.3 image from (forum.linuxcnc.org/9-installing-linuxcnc...or-raspberry-pi-4b-5), Then went to follow the standard instructions for installing probe basic from the install site Probe Basic Install.

Followed the instructions for the Arm64 (kcjengr.github.io/probe_basic/stable_quick_start_apt.html) but get the following error message on trying to do the Apt update before installing

N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'repository.qtpyvcp.com/apt stable InRelease' doesn't support architecture 'arm64'

I have checked the kcjengr.list file at /etc/apt/sources.list.d and it lists the arch type as arm64

Please Log in or Create an account to join the conversation.

More
05 Nov 2024 11:59 #313806 by cornholio
Going by the docs you linked to the apt install is only for amd64.

Please Log in or Create an account to join the conversation.

More
05 Nov 2024 12:25 #313810 by daveyr
So interesting in the top notes the is the bit about only supporting amd64 for apt install but further down there are the instructions about how to install for pi 4 and 5. So i wonder which is correct.

ARM64 Raspberry Pi 4 and 5 Installation Repository:
sudo apt install curl
echo 'deb [arch=arm64] repository.qtpyvcp.com/apt stable main' | sudo tee /etc/apt/sources.list.d/kcjengr.list
curl -sS repository.qtpyvcp.com/repo/kcjengr.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/kcjengr.gpg
gpg --keyserver keys.openpgp.org --recv-key 2DEC041F290DF85A

Please Log in or Create an account to join the conversation.

More
05 Nov 2024 14:24 #313818 by Lcvette
i removed the amd64 warning from the docs now, arm64 should be a viable install. some things i recall were that the linuxcnc iso has some remnant installations that made installing qtpyvcp easier previously and these may conflict, but i do not recall what they were off the top of my head. it may be the skipped warnings or errors when trying to install via apt., do you have the install log still with any of the possible conflicts that popped up?

Please Log in or Create an account to join the conversation.

More
05 Nov 2024 18:35 - 05 Nov 2024 18:36 #313839 by daveyr
I am not getting to the stage of installing. Once i have done the add the url and pgp keys then the next step of doing sudo apt-get update is when the error happens.

It gives the list of the known sources with the error at the end and the source for probebasic is listed but errors out.
cnc@pi5linuxcnc:/etc/apt/sources.list.d$ sudo apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Hit:3 https://packages.microsoft.com/repos/code stable InRelease                           
Get:4 http://deb.debian.org/debian bookworm-proposed-updates InRelease [64.0 kB]           
Hit:5 http://deb.debian.org/debian-security bookworm-security InRelease                    
Get:6 http://deb.debian.org/debian bookworm-backports InRelease [59.0 kB]                  
Hit:7 https://www.linuxcnc.org bookworm InRelease                                          
Get:8 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease [1,575 B]
Hit:9 https://repository.qtpyvcp.com/apt stable InRelease  
Get:10 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ Packages [37.3 kB]
Fetched 217 kB in 1s (201 kB/s)      
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
79 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://repository.qtpyvcp.com/apt stable InRelease' doesn't support architecture 'arm64'
cnc@pi5linuxcnc:/etc/apt/sources.list.d$

The content of the kcjengr.list file
[code]cnc@pi5linuxcnc:/etc/apt/sources.list.d$ tail kcjengr.list
deb [arch=arm64] https://repository.qtpyvcp.com/apt stable main
[/code]
Last edit: 05 Nov 2024 18:36 by daveyr. Reason: corrected typo

Please Log in or Create an account to join the conversation.

More
05 Nov 2024 19:16 #313846 by Joco
I would recommend using either one of these prebuild images for pi5:

[1] Without network manager UI
drive.google.com/file/d/14rVniZWJ7DqbIxQ.../view?usp=drive_link

or

[2] With network manger UI
drive.google.com/file/d/11XX6SdbaO0tL1Zg.../view?usp=drive_link

 

Please Log in or Create an account to join the conversation.

More
05 Nov 2024 20:41 - 05 Nov 2024 22:10 #313850 by daveyr
Ok so used the image given by joco and that installed fine but it installed the develop version of probe basic.  On trying to switch back following the instructions on the probebasic install site when i update the source list to use stable and then do the apt-get update i get the error again.

Switch back to develop branch and able to install correctly.  
Last edit: 05 Nov 2024 22:10 by daveyr. Reason: correcting statements.

Please Log in or Create an account to join the conversation.

More
05 Nov 2024 23:14 #313860 by Joco
I will do some snooping after work on my pi5.  Thats about 5 hrs away as of the time of this post.

Please Log in or Create an account to join the conversation.

More
06 Nov 2024 19:16 #313938 by Joco
Okay - we found the problem and after some tests believe it is fixed. a stray full-stop ina file name pattern.
The following user(s) said Thank You: tommylight, Lcvette, daveyr

Please Log in or Create an account to join the conversation.

More
06 Nov 2024 20:27 #313952 by daveyr
Confirmed able to install now on stable.
The following user(s) said Thank You: Lcvette

Please Log in or Create an account to join the conversation.

Moderators: KCJLcvette
Time to create page: 0.090 seconds
Powered by Kunena Forum