Project

General

Profile

Bug #6308

no tvheadend found in repository cloudsmith.io

Added by Hartmut Braun about 1 year ago. Updated about 1 year ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
Packaging
Target version:
-
Start date:
2023-10-06
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-2156~g51adc0404~jammy
Affected Versions:

Description

The repositories for tvheadend have obviously changed.
For debian packages the wiki page recommends this command:

curl -1sLf \
'https://dl.cloudsmith.io/public/tvheadend/tvheadend/setup.deb.sh' \ | sudo -E bash

This command will setup the cluodsmith.io - repository in the package manager.
But after an update (sudo apt update) there still no tvheadend package can be found for distribution jammy and amd64 architecture.

However, the package can manually be downloaded here:

https://cloudsmith.io/~tvheadend/repos/tvheadend/packages/

In my case I downloaded the file tvheadend_4.3-2156~g51adc0404~jammy_amd64.deb
and installed it manually.
As long as the repository is not corrected, I have no notification of updates.

History

#1

Updated by saen acro about 1 year ago

https://cloudsmith.io/~tvheadend/repos/tvheadend/setup/#formats-deb

curl -1sLf 'https://dl.cloudsmith.io/public/tvheadend/tvheadend/setup.deb.sh' | sudo -E bash
#2

Updated by Hartmut Braun about 1 year ago

saen acro wrote:

https://cloudsmith.io/~tvheadend/repos/tvheadend/setup/#formats-deb
curl -1sLf 'https://dl.cloudsmith.io/public/tvheadend/tvheadend/setup.deb.sh' | sudo -E bash

Thanks, but it makes no difference, because it is the same, that I described.
But my mistake: I should have mentioned of course, that I use a derived distribution: LinuxMint 21.2.

But I found the solution.

This script works obviously only for "pure" Ubuntu, not for derived distributions like my LinuxMint 21.2 (Victoria).
I might have guessed, that there are no seperate debian sources for its derivates.
To use the above script also on LinuxMint the parameters for the distribution and the codename have to be provides in the script as fixed values for the ubuntu distribution your own Debian-derived flavour is based on.
In case of LinuxMint 21.2 (Victoria) it is "ubuntu" and "jammy".

Therefore:
- Download the script manually and save it:

https://dl.cloudsmith.io/public/tvheadend/tvheadend/setup.deb.sh

- Open it with a text editor and look for the function "detect_os",
- Replace the lines which automatically detect your distribution and codename with the fixed values as described above,
- For LinuxMint 21.2 it should look like this:

function detect_os {
    # Backwards compat for old distribution parameter names
    # distro=${distro:-$os}
      distro=ubuntu
    # codename=${codename:-$dist}
      codename=jammy

- Save the changes, make the script executable and run it in terminal using root authority ("sudo").

Then everything works and TVHeadend can be found and installed in your package manager.

PS:
I wish, the tvheadend people had given a hint (at their download or wiki site) as to Ubuntu derivates.

Can I myself change the bug status to solved? If yes, how?

#3

Updated by Flole Systems about 1 year ago

  • Status changed from New to Invalid

Also available in: Atom PDF