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

el8 rpm support ? #681

Open
tjyang opened this issue Jun 1, 2023 · 0 comments
Open

el8 rpm support ? #681

tjyang opened this issue Jun 1, 2023 · 0 comments

Comments

@tjyang
Copy link

tjyang commented Jun 1, 2023

Hi

Any plan to bring adgios forward to el8 format ?

  • Currently adagios rpm can't be installed on RHEL8 variants like RockyLinux8.
    • python-simplejson, python-django and mod_wsgi should be updated to python3* in adagios.spec
[me@rocky8t01d pynag]$sudo dnf install https://opensource.ok.is//repo/ok-release.rpm
[me@rocky8t01d pynag]$ sudo dnf install adagios
Last metadata expiration check: 0:00:22 ago on Thu 01 Jun 2023 04:45:46 AM CDT.
Error:
 Problem: conflicting requests
  - nothing provides python-simplejson needed by adagios-1.6.3-2.el7.noarch
  - nothing provides python-django needed by adagios-1.6.3-2.el7.noarch
  - nothing provides mod_wsgi needed by adagios-1.6.3-2.el7.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[me@rocky8t01d pynag]$ 
  • with a few simple changes in adagios.spec file, one can create adagios-2.0.1-1.el8.noarch.rpm to depend on correct version of other rpms.
[me@rocky8t01d adagios]$ sudo dnf localinstall  /home/me/github/learnmonitoring/adagios/rpm-build/adagios-2.0.1-1.el8.noarch.rpm
Last metadata expiration check: 0:08:37 ago on Thu 01 Jun 2023 04:45:46 AM CDT.
Dependencies resolved.
====================================================================================================================================
 Package                                       Architecture          Version                      Repository                   Size
====================================================================================================================================
Installing:
 adagios                                       noarch                2.0.1-1.el8                  @commandline                3.7 M
Installing dependencies:
 python3-asgiref                               noarch                3.2.10-1.el8                 epel                         39 k
 python3-django3                               noarch                3.2.19-1.el8                 epel                        4.7 M
 python3-mod_wsgi                              x86_64                4.6.4-5.el8                  appstream                   2.5 M
 python3-pytz                                  noarch                2017.2-9.el8                 appstream                    53 k
 python3-simplejson                            x86_64                3.17.0-2.el8                 epel                        286 k
 python3-sqlparse                              noarch                0.2.4-6.el8                  epel                         82 k
Installing weak dependencies:
 python-django3-bash-completion                noarch                3.2.19-1.el8                 epel                         17 k

Transaction Summary
====================================================================================================================================
Install  8 Packages

Total size: 11 M
Total download size: 7.7 M
Installed size: 40 M
Is this ok [y/N]:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant