fledge-iot/fledge

Problem installing on Centos 9 Stream

Opened this issue · 4 comments

Hi
I'm interested in testing FledgePower and is thus I need to install Fledge. I'm testing on Azure and using CentOS, since Debian images are only x64.

Steps to reproduce:

  1. Install VM on Azure.
  1. SSH into VM

  2. Setup Fledge

Follow steps in https://fledge-iot.readthedocs.io/en/develop/quick_start/installing.html#centos-stream-9.

  1. Add repository

sudo rpm --import http://archives.fledge-iot.org/RPM-GPG-KEY-fledge

  1. Add fledge.repo

sudo nano /etc/yum.repos.d/fledge.repo

  1. paste in:
[fledge]
name=fledge Repository
baseurl=http://archives.fledge-iot.org/latest/centos-stream-9/x86_64/
enabled=1
gpgkey=http://archives.fledge-iot.org/RPM-GPG-KEY-fledge
gpgcheck=1
  1. Install prerequisites
sudo yum install -y epel-release
sudo yum -y check-update
sudo yum -y update
CentOS Stream 9 - BaseOS                                                                                                                                                               15 kB/s | 8.6 kB     00:00    
CentOS Stream 9 - BaseOS                                                                                                                                                              5.1 MB/s | 6.0 MB     00:01    
CentOS Stream 9 - AppStream                                                                                                                                                           9.8 kB/s | 8.7 kB     00:00    
CentOS Stream 9 - AppStream                                                                                                                                                           9.9 MB/s |  16 MB     00:01    
CentOS Stream 9 - Extras packages                                                                                                                                                      13 kB/s | 9.6 kB     00:00    
CentOS Stream 9 - Extras packages                                                                                                                                                     4.7 kB/s |  10 kB     00:02    
fledge Repository                                                                                                                                                                     293  B/s | 178  B     00:00    
Errors during downloading metadata for repository 'fledge':
  - Status code: 404 for http://archives.fledge-iot.org/latest/centos-stream-9/x86_64/repodata/repomd.xml (IP: 23.23.78.216)
Error: Failed to download metadata for repo 'fledge': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
fledge Repository                                                                                                                                                                     290  B/s | 178  B     00:00    
Errors during downloading metadata for repository 'fledge':
  - Status code: 404 for http://archives.fledge-iot.org/latest/centos-stream-9/x86_64/repodata/repomd.xml (IP: 23.23.78.216)
Error: Failed to download metadata for repo 'fledge': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
fledge Repository                                                                                                                                                                     289  B/s | 178  B     00:00    
Errors during downloading metadata for repository 'fledge':
  - Status code: 404 for http://archives.fledge-iot.org/latest/centos-stream-9/x86_64/repodata/repomd.xml (IP: 23.23.78.216)
Error: Failed to download metadata for repo 'fledge': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Any ideas?

Aha! Since 2.0.0, the index does not have CentOS: http://archives.fledge-iot.org

Index of /1.9.2/

[../](http://archives.fledge-iot.org/)
[buster/](http://archives.fledge-iot.org/1.9.2/buster/)                                            04-Oct-2021 12:28                   -
[centos7/](http://archives.fledge-iot.org/1.9.2/centos7/)                                           04-Oct-2021 12:28                   -
[mendel/](http://archives.fledge-iot.org/1.9.2/mendel/)                                            04-Oct-2021 12:28                   -
[rhel7/](http://archives.fledge-iot.org/1.9.2/rhel7/)                                             04-Oct-2021 12:28                   -
[stretch/](http://archives.fledge-iot.org/1.9.2/stretch/)                                           04-Oct-2021 12:28                   -
[ubuntu1804/](http://archives.fledge-iot.org/1.9.2/ubuntu1804/)                                        04-Oct-2021 12:28                   -
[ubuntu2004/](http://archives.fledge-iot.org/1.9.2/ubuntu2004/)                                        04-Oct-2021 12:28                   -
Index of /2.0.0/

[../](http://archives.fledge-iot.org/)
[bullseye/](http://archives.fledge-iot.org/2.0.0/bullseye/)                                          19-Sep-2022 04:55                   -
[buster/](http://archives.fledge-iot.org/2.0.0/buster/)                                            19-Sep-2022 04:55                   -
[mendel/](http://archives.fledge-iot.org/2.0.0/mendel/)                                            19-Sep-2022 04:55                   -
[stretch/](http://archives.fledge-iot.org/2.0.0/stretch/)                                           19-Sep-2022 04:55                   -
[ubuntu1804/](http://archives.fledge-iot.org/2.0.0/ubuntu1804/)                                        19-Sep-2022 04:55                   -
[ubuntu2004/](http://archives.fledge-iot.org/2.0.0/ubuntu2004/)                                        19-Sep-2022 04:55                   -

I realize it's not available in latest/ as per docs, but only in nightly/:

Index of /nightly/

[../](http://archives.fledge-iot.org/)
[bullseye/](http://archives.fledge-iot.org/nightly/bullseye/)                                          23-Jan-2023 01:02                   -
[buster/](http://archives.fledge-iot.org/nightly/buster/)                                            20-Jan-2023 02:27                   -
[centos-stream-9/](http://archives.fledge-iot.org/nightly/centos-stream-9/)                                   23-Jan-2023 01:00                   -
[mendel/](http://archives.fledge-iot.org/nightly/mendel/)                                            21-Jan-2023 06:50                   -
[source-documentation/](http://archives.fledge-iot.org/nightly/source-documentation/)                              22-Jan-2023 14:19                   -
[stretch/](http://archives.fledge-iot.org/nightly/stretch/)                                           21-Jan-2023 01:18                   -
[ubuntu1804/](http://archives.fledge-iot.org/nightly/ubuntu1804/)                                        23-Jan-2023 04:55                   -
[ubuntu2004/](http://archives.fledge-iot.org/nightly/ubuntu2004/)                                        23-Jan-2023 01:00                   -

Ho @jolsso yes CentOS Stream 9 in develop branch only which means packages available under nightly.
You can use the URL http://archives.fledge-iot.org/nightly/centos-stream-9/x86_64/

We haven't released this version yet.

Yes. I just tested in parallel. I've created a PR to change the docs.