Install Longview on AlmaLinux 9.1?

Hello,

Is there a recommended way of installing Longview on AlmaLinux 9.1

Trying the curl line on https://www.linode.com/docs/guides/what-is-longview/ results in

Longview Repo                                                                                                                                            294  B/s | 236  B     00:00    
Errors during downloading metadata for repository 'longview':
  - Status code: 404 for https://yum-longview.linode.com/almalinux/9/noarch/repodata/repomd.xml (IP: 96.126.109.89)
Error: Failed to download metadata for repo 'longview': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

4 Replies

A workaround for getting Longview installed on an AlmaLinux instance was suggested in a previous Community Questions site post:

I hope this helps!

Thanks, have tried this but get

Longview Repo                                                                                                                                           1.7 kB/s | 2.2 kB     00:01    
Dependencies resolved.
========================================================================================================================================================================================
 Package                                             Architecture                            Version                                    Repository                                 Size
========================================================================================================================================================================================
Installing:
 linode-longview                                     noarch                                  1.1-5                                      longview                                   34 k
Installing dependencies:
 perl-IO-LockedFile                                  noarch                                  0.23-1                                     longview                                   17 k
 perl-Log-LogLite                                    noarch                                  0.82-1                                     longview                                   15 k

Transaction Summary
========================================================================================================================================================================================
Install  3 Packages

Total download size: 67 k
Installed size: 142 k
Downloading Packages:
(1/3): perl-IO-LockedFile-0.23-1.noarch.rpm                                                                                                              22 kB/s |  17 kB     00:00    
(2/3): linode-longview-1.1-5.noarch.rpm                                                                                                                  43 kB/s |  34 kB     00:00    
(3/3): perl-Log-LogLite-0.82-1.noarch.rpm                                                                                                                18 kB/s |  15 kB     00:00    
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                    77 kB/s |  67 kB     00:00     
warning: Signature not supported. Hash algorithm SHA1 not available.
warning: Signature not supported. Hash algorithm SHA1 not available.
warning: Signature not supported. Hash algorithm SHA1 not available.
warning: Signature not supported. Hash algorithm SHA1 not available.
warning: Signature not supported. Hash algorithm SHA1 not available.
warning: Signature not supported. Hash algorithm SHA1 not available.
Problem opening package linode-longview-1.1-5.noarch.rpm
Problem opening package perl-IO-LockedFile-0.23-1.noarch.rpm
Problem opening package perl-Log-LogLite-0.82-1.noarch.rpm
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: GPG check FAILED

I was able to replicate this with AlmaLinux9 however Longview deployed successfully using AlmaLinux8. I believe this is related to depreciation of SHA-1 signatures. A discussion about this error on a different service can be found in this Github issue.

With this in mind, I've reached out to the Longview Team to take a closer look.

Linode Staff

The user @netutgamer may have found a workaround in this post:

Easiest work around is to temporarily relax the cryptography policy using:

update-crypto-policies --set DEFAULT:SHA1

Run the Longview install, then once running switch back:

update-crypto-policies --set DEFAULT

I suggest giving this a shot.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct