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
Cannot install grafana rpm in SLES #53909
Comments
Thanks for creating this issue! We think it's missing some basic information. Follow the issue template and add additional information that will help us replicate the problem.
For dashboard related issues:
For authentication, provisioning and alerting issues, Grafana server logs are useful. Happy graphing! |
Sorry bot, but you are confused. It is a package issue. There is no need for panels or jsons. |
@luizluca are you still encountering this issue? |
We've closed this issue since it needs more information and hasn't had any activity recently. We can re-open it after you you add more information. To avoid having your issue closed in the future, please read our CONTRIBUTING guidelines. Happy graphing! |
Hey @zuchka , yes I still have it. Can you reopen it? |
@luizluca can you please confirm that you cannot run the newest version of Grafana (9.2.5) on SLES 15SP3? thanks a bunch 👍 |
We've closed this issue since it needs more information and hasn't had any activity recently. We can re-open it after you you add more information. To avoid having your issue closed in the future, please read our CONTRIBUTING guidelines. Happy graphing! |
Yes, the issue is still there. Please reopen the bug. |
We've closed this issue since it needs more information and hasn't had any activity recently. We can re-open it after you you add more information. To avoid having your issue closed in the future, please read our CONTRIBUTING guidelines. Happy graphing! |
Hi @luizluca I did not find in our documentation as how to install it via zypper. What I found is this one and just scroll down, you will find a heading of "On OpenSUSE or SUSE" Please try that and let us know if that works. Regarding the zipper package manager, I am not sure if that is possible or not and will need to ask the team. But please try that and then let us know. |
Zypper uses RPM. The doc seems to indicate the issue is known. It uses rpm --nodeps. However, ignoring dependencies is not a great practice. Please, review what you need from freetype and require it in such a way the package name does not matter |
Grafana have a que unusual packaging system based on go. depends: []string{"/sbin/service", "chkconfig", "fontconfig", "freetype", "urw-fonts"}, In this line, "freetype" should be something both RHEL and SLES can satisfy. I can't tell why garrafa requires those packages and, without that info, I can't suggest what you could use instead. Btw, it still ships initrd scripts, uses chkconfig,b and those things are quite dead for some time now. |
I'm not familiar with SUSE. What package would you suggest that can be satisfied by both @luizluca ? |
In RHEL7, freeetype provides:
This is RHEL91:
In SLE12, it has a freetype package, but it looks like a different freetype from RHEL as it does not contain libraries, only programs:
While libfreetype has the libraries:
In SLE15 and SLES Tumbleweed, there is no freetype, only libfreetype provides:
freetype2 mentioned here does not help either, but it might only be some legacy provides. I would suggest to use the libfreetype6, as it might be what grafana really requires (but I didn't dig into how grafana uses freetype). If that dependency was generated automatically by rpm (as it normally occurs with libraries), it would probably pick 'libfreetype.so.6()(64bit)', required by many sw, both in RHEL and SLES. If grafana really is using libfreetype.so.6, I would use the 'libfreetype.so.6()(64bit)' requirement. It would satisfy both ABI and arch stability. If grafana is using freetype indirectly via another program, freetype shouldn't be required at all. |
Thanks, I'll have a look at it. |
@luizluca mentioned that "chkconfig" is still a dependency:
I had similar problems with SLES 15 from SP1 to SP4: "chkconfig" was already installed in /sbin/chkconfig (provided by "aaa_base | openSUSE Base Package") but grafana-rpm (9.3.13-1) only checks for chkconfig without the correct path. |
We'll be distributing a new rpm installer for Grafana 10 and I'll look at reducing the amount of dependencies and removing sysvinit scripts, which should solve this problem as |
@kminehart perfect! Thanks for your fast reply and your efforts. |
The freetype dependency issue is still there.
|
I see that this issue has been opened for quite a while now. Has anyone gotten to a solution/workaround?
|
What happened:
Grafana requires freetype but that is not provided by OpenSUSE.
What you expected to happen:
It should require based on libraries, not package name (that might differ)
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
I would expect the requires to be something like:
libfreetype.so.6
Environment:
The text was updated successfully, but these errors were encountered: