@RobertCNelson has generated some demonstrations on setting up package repositories using the OpenBeagle CI. Rather than discuss this with him on Discord, I thought maybe bringing the discussion here might be a lot more productive.
I’ve built a fork of BeagleV-Fire / Gateware · GitLab at https://openbeagle.org/jkridner/gateware and made a fork called led-demo. This seems to have built find and the package info seems fine at Index of /public. I’m trying to figure out how to use the command-line to pull in this package using sudo apt install bbb.io-gateware-my-custom-fpga-design
, but I’m not sure of the right way to add the repo.
beagle@BeagleV:~$ sudo apt update
Get:1 http://ports.ubuntu.com lunar InRelease [267 kB]
Get:2 http://repos.rcn-ee.com/debian-riscv64 lunar InRelease [3,070 B]
Get:3 http://ports.ubuntu.com lunar-security InRelease [109 kB]
Get:5 http://ports.ubuntu.com lunar-updates InRelease [109 kB]
Get:6 http://repos.rcn-ee.com/debian-riscv64 lunar/main riscv64 Packages [9,736 B]
Get:7 http://ports.ubuntu.com lunar/main riscv64 Packages [1,317 kB]
Get:8 http://ports.ubuntu.com lunar/main riscv64 c-n-f Metadata [28.2 kB]
Get:9 http://ports.ubuntu.com lunar/universe riscv64 Packages [14.3 MB]
Get:4 https://debian.beagle.cc/riscv64 lunar InRelease [3,070 B]
Get:10 https://debian.beagle.cc/riscv64 lunar/main riscv64 Packages [9,736 B]
Get:11 http://ports.ubuntu.com lunar/universe riscv64 c-n-f Metadata [276 kB]
Get:12 http://ports.ubuntu.com lunar/multiverse riscv64 Packages [164 kB]
Get:13 http://ports.ubuntu.com lunar/multiverse riscv64 c-n-f Metadata [6,212 B]
Get:14 http://ports.ubuntu.com lunar-security/main riscv64 Packages [234 kB]
Get:15 http://ports.ubuntu.com lunar-security/main riscv64 c-n-f Metadata [4,736 B]
Get:16 http://ports.ubuntu.com lunar-security/universe riscv64 Packages [552 kB]
Get:17 http://ports.ubuntu.com lunar-security/universe riscv64 c-n-f Metadata [5,684 B]
Get:18 http://ports.ubuntu.com lunar-security/multiverse riscv64 Packages [968 B]
Get:19 http://ports.ubuntu.com lunar-security/multiverse riscv64 c-n-f Metadata [116 B]
Get:20 http://ports.ubuntu.com lunar-updates/main riscv64 Packages [311 kB]
Get:21 http://ports.ubuntu.com lunar-updates/main riscv64 c-n-f Metadata [7,336 B]
Get:22 http://ports.ubuntu.com lunar-updates/universe riscv64 Packages [627 kB]
Get:23 http://ports.ubuntu.com lunar-updates/universe riscv64 c-n-f Metadata [7,012 B]
Get:24 http://ports.ubuntu.com lunar-updates/multiverse riscv64 Packages [1,640 B]
Get:25 http://ports.ubuntu.com lunar-updates/multiverse riscv64 c-n-f Metadata [116 B]
Fetched 18.3 MB in 38s (476 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
63 packages can be upgraded. Run 'apt list --upgradable' to see them.
beagle@BeagleV:~$ sudo apt install software-properties-common
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
distro-info gir1.2-packagekitglib-1.0 python3-blinker python3-distro-info python3-httplib2
python3-importlib-metadata python3-jaraco.classes python3-jeepney python3-jwt
python3-keyring python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri
python3-more-itertools python3-oauthlib python3-pyparsing python3-secretstorage python3-six
python3-software-properties python3-wadllib python3-zipp unattended-upgrades
Suggested packages:
shunit2 python-blinker-doc python3-crypto gir1.2-secret-1 gnome-keyring libkf5wallet-bin
python3-keyrings.alt python3-testresources python-pyparsing-doc python-secretstorage-doc
gnome-keyring | libkf5wallet-bin | keepassxc bsd-mailx default-mta | mail-transport-agent
needrestart powermgmt-base
The following NEW packages will be installed:
gir1.2-packagekitglib-1.0 python3-blinker python3-distro-info python3-httplib2
python3-importlib-metadata python3-jaraco.classes python3-jeepney python3-jwt
python3-keyring python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri
python3-more-itertools python3-oauthlib python3-pyparsing python3-secretstorage python3-six
python3-software-properties python3-wadllib python3-zipp software-properties-common
unattended-upgrades
The following packages will be upgraded:
distro-info
1 upgraded, 22 newly installed, 0 to remove and 62 not upgraded.
Need to get 781 kB of archives.
After this operation, 5,414 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ports.ubuntu.com lunar-updates/main riscv64 distro-info riscv64 1.5ubuntu0.23.04.1 [17.6 kB]
Get:2 http://ports.ubuntu.com lunar-updates/main riscv64 python3-distro-info all 1.5ubuntu0.23.04.1 [6,874 B]
Get:3 http://ports.ubuntu.com lunar/main riscv64 gir1.2-packagekitglib-1.0 riscv64 1.2.6-3 [25.4 kB]
Get:4 http://ports.ubuntu.com lunar/main riscv64 python3-blinker all 1.5-1 [14.0 kB]
Get:5 http://ports.ubuntu.com lunar/main riscv64 python3-pyparsing all 3.0.9-1 [83.1 kB]
Get:6 http://ports.ubuntu.com lunar/main riscv64 python3-httplib2 all 0.20.4-3 [30.4 kB]
Get:7 http://ports.ubuntu.com lunar/main riscv64 python3-more-itertools all 8.10.0-2 [47.9 kB]
Get:8 http://ports.ubuntu.com lunar/main riscv64 python3-zipp all 1.0.0-6 [6,090 B]
Get:9 http://ports.ubuntu.com lunar/main riscv64 python3-importlib-metadata all 4.12.0-1 [17.8 kB]
Get:10 http://ports.ubuntu.com lunar/main riscv64 python3-jaraco.classes all 3.2.1-3 [6,452 B]
Get:11 http://ports.ubuntu.com lunar/main riscv64 python3-jeepney all 0.8.0-3 [34.7 kB]
Get:12 http://ports.ubuntu.com lunar/main riscv64 python3-jwt all 2.6.0-1 [18.2 kB]
Get:13 http://ports.ubuntu.com lunar/main riscv64 python3-secretstorage all 3.3.3-1ubuntu1 [13.6 kB]
Get:14 http://ports.ubuntu.com lunar/main riscv64 python3-keyring all 23.9.3-2 [38.2 kB]
Get:15 http://ports.ubuntu.com lunar/main riscv64 python3-lazr.uri all 1.0.6-3 [13.5 kB]
Get:16 http://ports.ubuntu.com lunar/main riscv64 python3-wadllib all 1.3.6-4 [35.8 kB]
Get:17 http://ports.ubuntu.com lunar/main riscv64 python3-oauthlib all 3.2.2-1 [89.7 kB]
Get:18 http://ports.ubuntu.com lunar/main riscv64 python3-six all 1.16.0-4 [12.4 kB]
Get:19 http://ports.ubuntu.com lunar/main riscv64 python3-lazr.restfulclient all 0.14.5-1 [50.7 kB]
Get:20 http://ports.ubuntu.com lunar/main riscv64 python3-launchpadlib all 1.11.0-1 [125 kB]
Get:21 http://ports.ubuntu.com lunar/main riscv64 python3-software-properties all 0.99.35 [31.7 kB]
Get:22 http://ports.ubuntu.com lunar/main riscv64 software-properties-common all 0.99.35 [13.9 kB]
Get:23 http://ports.ubuntu.com lunar/main riscv64 unattended-upgrades all 2.9.1+nmu2ubuntu2 [48.2 kB]
Fetched 781 kB in 3s (292 kB/s)
Preconfiguring packages ...
(Reading database ... 54006 files and directories currently installed.)
Preparing to unpack .../00-distro-info_1.5ubuntu0.23.04.1_riscv64.deb ...
Unpacking distro-info (1.5ubuntu0.23.04.1) over (1.5) ...
Selecting previously unselected package python3-distro-info.
Preparing to unpack .../01-python3-distro-info_1.5ubuntu0.23.04.1_all.deb ...
Unpacking python3-distro-info (1.5ubuntu0.23.04.1) ...
Selecting previously unselected package gir1.2-packagekitglib-1.0.
Preparing to unpack .../02-gir1.2-packagekitglib-1.0_1.2.6-3_riscv64.deb ...
Unpacking gir1.2-packagekitglib-1.0 (1.2.6-3) ...
Selecting previously unselected package python3-blinker.
Preparing to unpack .../03-python3-blinker_1.5-1_all.deb ...
Unpacking python3-blinker (1.5-1) ...
Selecting previously unselected package python3-pyparsing.
Preparing to unpack .../04-python3-pyparsing_3.0.9-1_all.deb ...
Unpacking python3-pyparsing (3.0.9-1) ...
Selecting previously unselected package python3-httplib2.
Preparing to unpack .../05-python3-httplib2_0.20.4-3_all.deb ...
Unpacking python3-httplib2 (0.20.4-3) ...
Selecting previously unselected package python3-more-itertools.
Preparing to unpack .../06-python3-more-itertools_8.10.0-2_all.deb ...
Unpacking python3-more-itertools (8.10.0-2) ...
Selecting previously unselected package python3-zipp.
Preparing to unpack .../07-python3-zipp_1.0.0-6_all.deb ...
Unpacking python3-zipp (1.0.0-6) ...
Selecting previously unselected package python3-importlib-metadata.
Preparing to unpack .../08-python3-importlib-metadata_4.12.0-1_all.deb ...
Unpacking python3-importlib-metadata (4.12.0-1) ...
Selecting previously unselected package python3-jaraco.classes.
Preparing to unpack .../09-python3-jaraco.classes_3.2.1-3_all.deb ...
Unpacking python3-jaraco.classes (3.2.1-3) ...
Selecting previously unselected package python3-jeepney.
Preparing to unpack .../10-python3-jeepney_0.8.0-3_all.deb ...
Unpacking python3-jeepney (0.8.0-3) ...
Selecting previously unselected package python3-jwt.
Preparing to unpack .../11-python3-jwt_2.6.0-1_all.deb ...
Unpacking python3-jwt (2.6.0-1) ...
Selecting previously unselected package python3-secretstorage.
Preparing to unpack .../12-python3-secretstorage_3.3.3-1ubuntu1_all.deb ...
Unpacking python3-secretstorage (3.3.3-1ubuntu1) ...
Selecting previously unselected package python3-keyring.
Preparing to unpack .../13-python3-keyring_23.9.3-2_all.deb ...
Unpacking python3-keyring (23.9.3-2) ...
Selecting previously unselected package python3-lazr.uri.
Preparing to unpack .../14-python3-lazr.uri_1.0.6-3_all.deb ...
Unpacking python3-lazr.uri (1.0.6-3) ...
Selecting previously unselected package python3-wadllib.
Preparing to unpack .../15-python3-wadllib_1.3.6-4_all.deb ...
Unpacking python3-wadllib (1.3.6-4) ...
Selecting previously unselected package python3-oauthlib.
Preparing to unpack .../16-python3-oauthlib_3.2.2-1_all.deb ...
Unpacking python3-oauthlib (3.2.2-1) ...
Selecting previously unselected package python3-six.
Preparing to unpack .../17-python3-six_1.16.0-4_all.deb ...
Unpacking python3-six (1.16.0-4) ...
Selecting previously unselected package python3-lazr.restfulclient.
Preparing to unpack .../18-python3-lazr.restfulclient_0.14.5-1_all.deb ...
Unpacking python3-lazr.restfulclient (0.14.5-1) ...
Selecting previously unselected package python3-launchpadlib.
Preparing to unpack .../19-python3-launchpadlib_1.11.0-1_all.deb ...
Unpacking python3-launchpadlib (1.11.0-1) ...
Selecting previously unselected package python3-software-properties.
Preparing to unpack .../20-python3-software-properties_0.99.35_all.deb ...
Unpacking python3-software-properties (0.99.35) ...
Selecting previously unselected package software-properties-common.
Preparing to unpack .../21-software-properties-common_0.99.35_all.deb ...
Unpacking software-properties-common (0.99.35) ...
Selecting previously unselected package unattended-upgrades.
Preparing to unpack .../22-unattended-upgrades_2.9.1+nmu2ubuntu2_all.deb ...
Unpacking unattended-upgrades (2.9.1+nmu2ubuntu2) ...
Setting up python3-more-itertools (8.10.0-2) ...
Setting up distro-info (1.5ubuntu0.23.04.1) ...
Setting up python3-jaraco.classes (3.2.1-3) ...
Setting up python3-jwt (2.6.0-1) ...
Setting up python3-lazr.uri (1.0.6-3) ...
Setting up python3-zipp (1.0.0-6) ...
Setting up python3-six (1.16.0-4) ...
Setting up gir1.2-packagekitglib-1.0 (1.2.6-3) ...
Setting up python3-pyparsing (3.0.9-1) ...
Setting up python3-wadllib (1.3.6-4) ...
Setting up python3-jeepney (0.8.0-3) ...
Setting up python3-httplib2 (0.20.4-3) ...
Setting up python3-distro-info (1.5ubuntu0.23.04.1) ...
Setting up python3-blinker (1.5-1) ...
Setting up python3-importlib-metadata (4.12.0-1) ...
Setting up unattended-upgrades (2.9.1+nmu2ubuntu2) ...
Creating config file /etc/apt/apt.conf.d/20auto-upgrades with new version
Creating config file /etc/apt/apt.conf.d/50unattended-upgrades with new version
Created symlink /etc/systemd/system/multi-user.target.wants/unattended-upgrades.service → /lib/
systemd/system/unattended-upgrades.service.
Synchronizing state of unattended-upgrades.service with SysV service script with /lib/systemd/s
ystemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable unattended-upgrades
Setting up python3-oauthlib (3.2.2-1) ...
Setting up python3-secretstorage (3.3.3-1ubuntu1) ...
Setting up python3-keyring (23.9.3-2) ...
Setting up python3-lazr.restfulclient (0.14.5-1) ...
Setting up python3-launchpadlib (1.11.0-1) ...
Setting up python3-software-properties (0.99.35) ...
Setting up software-properties-common (0.99.35) ...
Processing triggers for man-db (2.11.2-1) ...
Processing triggers for dbus (1.14.4-1ubuntu1) ...
beagle@BeagleV:~$ sudo add-
add-apt-repository add-shell
beagle@BeagleV:~$ sudo add-apt-repository "deb https://jkridner.beagleboard.io/gateware stable main"
Repository: 'deb https://jkridner.beagleboard.io/gateware stable main'
Description:
Archive for codename: stable components: main
More info: https://jkridner.beagleboard.io/gateware
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Adding deb entry to /etc/apt/sources.list.d/archive_uri-https_jkridner_beagleboard_io_gateware-lunar.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/archive_uri-https_jkridner_beagleboard_io_gateware-lunar.list
Hit:1 http://repos.rcn-ee.com/debian-riscv64 lunar InRelease
Hit:2 http://ports.ubuntu.com lunar InRelease
Hit:3 http://ports.ubuntu.com lunar-security InRelease
Hit:4 http://ports.ubuntu.com lunar-updates InRelease
Ign:6 https://jkridner.beagleboard.io/gateware stable InRelease
Err:7 https://jkridner.beagleboard.io/gateware stable Release
404 Not Found [IP: 44.226.162.25 443]
Hit:5 https://debian.beagle.cc/riscv64 lunar InRelease
Reading package lists... Done
E: The repository 'https://jkridner.beagleboard.io/gateware stable Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.