I can't install Longview on Ubuntu 21.04

Linode Staff

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

4 Replies

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.

Can @Linode please update the package so that the packing manager can run deb http://apt-longview.linode.com/ mantic main and make it a non-hassle for those on the latest Ubuntu 23.10 ; I don't want to run the manual installation and changing mantic to hirsute or focal

or else i will get the error:

E: The repository 'http://apt-longview.linode.com mantic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.

You're getting that error because you probably forgot to update (sudo apt update) your repositories after changing from mantic to focal or hirsute.

Follow the steps below to get this working on Ubuntu 23.10.

  1. Change the source list as mentioned above to focal.
  2. Run sudo apt update.
  3. Run sudo apt install linode-longview.(If you run into the same error, check your longview.list file again and make sure it's set to focal).
  4. Run sudo systemctl start longview and lastly,
  5. Check the status with sudo systemctl status longview.

After a few minutes, your longview client should start working. You
may have to refresh your browsers page to see the update.

Hi @isackey, thanks for your response, it is working with focal but it is not working with mantic and that is the main issue.

Because without the compatible mantic package, I can't simply run the simple command below but need the whole long manual process

curl -s https://lv.linode.com/xxxxxxx-xxxxxx-xxxxx-xxxxxxxxxxxx | sudo bash

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