Rpi4 Install from Buildbot?

More
20 Dec 2020 15:27 - 20 Dec 2020 15:58 #192549 by BigJohnT
Is it possible to install LinuxCNC from the buildbot on a Raspberry Pi 4 that has the preempt kernel? I know I can build and install but if you use a buildbot deb you can get updates...

I added the buildbot key with
sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key 3cb9fd148f374fef

Then added add-apt-repository with
sudo apt install software-properties-common

Then tried to add the debian 10 deb like this
sudo add-apt-repository "deb http://buildbot.linuxcnc.org/ buster 2.8-rtpreempt"

But got this error
john@raspberrypi:~ $ sudo add-apt-repository "deb http://buildbot.linuxcnc.org/ buster 2.8-rtpreempt"
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/buster

Edit: I do see binary-armhf in buildbot.linuxcnc.org/dists/buster/2.8-rtpreempt/ and I assume that is the Rpi deb...
JT
Last edit: 20 Dec 2020 15:58 by BigJohnT.

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

More
20 Dec 2020 15:59 - 20 Dec 2020 16:01 #192553 by BigJohnT
Hmm, I think I used the wrong key...

Still get an error
john@raspberrypi:~ $  sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key EF1B07FEE0EE663E 
Executing: /tmp/apt-key-gpghome.Hwxu8p7fPl/gpg.1.sh --keyserver hkp://keys.gnupg.net --recv-key EF1B07FEE0EE663E
gpg: key EF1B07FEE0EE663E: public key "LinuxCNC Buildbot <nomail@linuxcnc.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
john@raspberrypi:~ $ sudo apt update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease                       
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
john@raspberrypi:~ $ sudo add-apt-repository "deb http://buildbot.linuxcnc.org/ buster 2.8-rtpreempt"
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/buster


JT
Last edit: 20 Dec 2020 16:01 by BigJohnT.

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

Time to create page: 0.059 seconds
Powered by Kunena Forum