I can't install Longview on Ubuntu 21.04
When I try installing Longview on Ubuntu 21.04 with the curl command, I get the following message:
Reading package lists... Done Building dependency tree... Done Reading state information... Done lsb-release is already the newest version (11.1.0ubuntu2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Hit:1 http://mirrors.linode.com/ubuntu hirsute InRelease Get:2 http://mirrors.linode.com/ubuntu hirsute-updates InRelease [109 kB] Hit:3 http://mirrors.linode.com/ubuntu hirsute-backports InRelease Get:4 http://mirrors.linode.com/ubuntu hirsute-security InRelease [101 kB] Ign:5 http://apt-longview.linode.com hirsute InRelease Err:6 http://apt-longview.linode.com hirsute Release 404 Not Found [IP: 2600:3c03::f03c:91ff:feba:159b 80] Get:7 http://mirrors.linode.com/ubuntu hirsute-updates/main amd64 Packages [191 kB] Get:8 http://mirrors.linode.com/ubuntu hirsute-updates/universe amd64 Packages [218 kB] Get:9 http://mirrors.linode.com/ubuntu hirsute-updates/multiverse amd64 Packages [3,392 B] Reading package lists... Done E: The repository 'http://apt-longview.linode.com hirsute Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package linode-longview
This is a workaround to install Longview on Ubuntu 21.04 using this guide. I was able to test this and can confirm that the Longview client for Ubuntu 20.04 does work on Ubuntu 21.04.
In this guide,
/etc/apt/sources.list.d/longview.list defines the repository that Longview will be installed from. So instead of having
deb http://apt-longview.linode.com/hirsute main listed in that file, which would install the Longview client for Ubuntu 21.04, you can change it to
deb http://apt-longview.linode.com/focal main to tell apt to install Longview for Ubuntu 20.04 on your Ubuntu 21.04 system.
After you have made this change, you can go ahead and follow the rest of the guide to install Longview.