Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] The Fedora install fails #1715

Closed
1 of 9 tasks
LostInBrittany opened this issue Mar 20, 2024 · 5 comments
Closed
1 of 9 tasks

[BUG] The Fedora install fails #1715

LostInBrittany opened this issue Mar 20, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@LostInBrittany
Copy link
Contributor

Affected project(s)

  • documentation
  • examples
  • wasmCloud host
  • wasmCloud CLI (wash)
  • wasmCloud dashboard UI (washboard)
  • capability providers
  • provider bindgen
  • control interface client
  • other / not sure

Describe the bug

I have tried to install the v1 alpha on my Fedora laptop. I have followed the instructions on https://wasmcloud.com/docs/1.0/installation?os=fedora and it failed:

$ curl -s https://packagecloud.io/install/repositories/wasmcloud/core/script.rpm.sh | sudo bash
sudo dnf install wash
[sudo] password for horacio: 
Detected operating system as fedora/39.
Checking for curl...
Detected curl...
Downloading repository file: https://packagecloud.io/install/repositories/wasmCloud/core/config_file.repo?os=fedora&dist=39&source=script
done.
Installing pygpgme to verify GPG signatures...
wasmCloud_core-source                                                                                  205  B/s | 833  B     00:04    
No match for argument: pygpgme
Error: Unable to find a match: pygpgme

WARNING: 
The pygpgme package could not be installed. This means GPG verification is not possible for any RPM installed on your system. 
To fix this, add a repository with pygpgme. Usualy, the EPEL repository for your system will have this. 
More information: https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F

Installing yum-utils...
wasmCloud_core-source                                                                                  483  B/s | 951  B     00:01    
Package dnf-utils-4.5.0-1.fc39.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!

WARNING: 
The yum-utils package could not be installed. This means you may not be able to install source RPMs or use other yum features.

Generating yum cache for wasmCloud_core...
Generating yum cache for wasmCloud_core-source...

The repository is setup! You can now install packages.
Last metadata expiration check: 0:00:01 ago on Wed 20 Mar 2024 02:20:55 PM CET.
No match for argument: wash
Error: Unable to find a match: wash

I am going to dig on it to try to find exactly where is the problem.

Steps to reproduce

  1. Run the install script on a Fedora computer
curl -s https://packagecloud.io/install/repositories/wasmcloud/core/script.rpm.sh | sudo bash
sudo dnf install wash

Expected behavior

A clean install

Environment

  • OS: Fedora 39
  • Shell: bash
  • wasmcloud Version: 1.0 (alpha)

Screenshots / Logs / Additional context

No response

@LostInBrittany LostInBrittany added the bug Something isn't working label Mar 20, 2024
@LostInBrittany
Copy link
Contributor Author

LostInBrittany commented Mar 20, 2024

The first problem seems to be similar (or even the same) to telepresenceio/telepresence#1236

The pygpgme package isn't available in Fedora repositories, it haven't been there since Fedora 31 at least.

It's a problem on packagecloud.io that seems to use obsolete building methods for modern Fedora.

@LostInBrittany
Copy link
Contributor Author

The next problem, and the big one for me, it's that it seems to be no Fedora 39 package in the packagecloud repository.
I see Fedora 28 to 38, but not 39 (that was released last October).

image

Fedora 28 was released on 2018, it's nice to have such retro-compatibility, but it would be wonderful to update to last Fedora, IMHO.

@LostInBrittany
Copy link
Contributor Author

I would love to send a PR for the issue, but I don't see where and how the package for the different distros are generated. Anybody could point me to the right place?

@brooksmtownsend
Copy link
Member

brooksmtownsend commented Mar 20, 2024

Hey @LostInBrittany ! Thank you for filing this and being willing to help, I think we can remove Fedora 28 and update to the latest. The actual release packages are generated from https://github.com/wasmCloud/wasmCloud/tree/main/crates/wash-cli/build, I seem to remember those numbers being generated from the packagecloud API and I'd have to go digging to find out how to find what number == Fedora 39... let me know if you're able to find it and if not I can help take a look once I'm away from KubeCon EU

@LostInBrittany
Copy link
Contributor Author

I have found the info, Fedora 39 is the id 279:

{
  "display_name": "Fedora",
  "index_name": "fedora",
  "versions": [
    {
      "id": 28,
      "display_name": "14 Laughlin",
      "index_name": "14",
      "version_number": "14.0"
    },
    {
      "id": 29,
      "display_name": "15 Lovelock",
      "index_name": "15",
      "version_number": "15.0"
    },
    {
      "id": 30,
      "display_name": "16 Verne",
      "index_name": "16",
      "version_number": "16.0"
    },
    {
      "id": 31,
      "display_name": "17 Beefy Miracle",
      "index_name": "17",
      "version_number": "17.0"
    },
    {
      "id": 32,
      "display_name": "18 Spherical Cow",
      "index_name": "18",
      "version_number": "18.0"
    },
    {
      "id": 33,
      "display_name": "19 Schrödingers Cat",
      "index_name": "19",
      "version_number": "19.0"
    },
    {
      "id": 34,
      "display_name": "20 Heisenbug",
      "index_name": "20",
      "version_number": "20.0"
    },
    {
      "id": 143,
      "display_name": "21 Fedora 21",
      "index_name": "21",
      "version_number": "21.0"
    },
    {
      "id": 147,
      "display_name": "22 Fedora 22",
      "index_name": "22",
      "version_number": "22.0"
    },
    {
      "id": 151,
      "display_name": "23 Fedora 23",
      "index_name": "23",
      "version_number": "23.0"
    },
    {
      "id": 169,
      "display_name": "24 Fedora 24",
      "index_name": "24",
      "version_number": "24.0"
    },
    {
      "id": 179,
      "display_name": "25 Fedora 25",
      "index_name": "25",
      "version_number": "25.0"
    },
    {
      "id": 184,
      "display_name": "26 Fedora 26",
      "index_name": "26",
      "version_number": "26.0"
    },
    {
      "id": 188,
      "display_name": "27 Fedora 27",
      "index_name": "27",
      "version_number": "27.0"
    },
    {
      "id": 194,
      "display_name": "28 Fedora 28",
      "index_name": "28",
      "version_number": "28.0"
    },
    {
      "id": 201,
      "display_name": "29 Fedora 29",
      "index_name": "29",
      "version_number": "29.0"
    },
    {
      "id": 204,
      "display_name": "30 Fedora 30",
      "index_name": "30",
      "version_number": "30.0"
    },
    {
      "id": 209,
      "display_name": "31 Fedora 31",
      "index_name": "31",
      "version_number": "31.0"
    },
    {
      "id": 216,
      "display_name": "32 Fedora 32",
      "index_name": "32",
      "version_number": "32.0"
    },
    {
      "id": 226,
      "display_name": "33 Fedora 33",
      "index_name": "33",
      "version_number": "33.0"
    },
    {
      "id": 231,
      "display_name": "34 Fedora 34",
      "index_name": "34",
      "version_number": "34.0"
    },
    {
      "id": 236,
      "display_name": "35 Fedora 35",
      "index_name": "35",
      "version_number": "35.0"
    },
    {
      "id": 239,
      "display_name": "36 Fedora 36",
      "index_name": "36",
      "version_number": "36.0"
    },
    {
      "id": 260,
      "display_name": "37 Fedora 37",
      "index_name": "37",
      "version_number": "37.0"
    },
    {
      "id": 273,
      "display_name": "38 Fedora 38",
      "index_name": "38",
      "version_number": "38.0"
    },
    {
      "id": 279,
      "display_name": "39 Fedora 39",
      "index_name": "39",
      "version_number": "39.0"
    },
    {
      "id": 283,
      "display_name": "40 Fedora 40",
      "index_name": "40",
      "version_number": "40.0"
    }
  ]
}

LostInBrittany added a commit to LostInBrittany/wasmCloud that referenced this issue Mar 20, 2024
LostInBrittany added a commit to LostInBrittany/wasmCloud that referenced this issue Mar 20, 2024
Signed-off-by: Horacio Gonzalez <horacio.gonzalez@gmail.com>
LostInBrittany added a commit to LostInBrittany/wasmCloud that referenced this issue Mar 20, 2024
rvolosatovs pushed a commit to rvolosatovs/wasmCloud that referenced this issue Mar 22, 2024
Signed-off-by: Horacio Gonzalez <horacio.gonzalez@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants