Ubuntu: Kodi updaten?

Code:
sudo apt install flatpak
flatpak install flathub tv.kodi.Kodi

Alte config Dateien nach ~/.var/app/tv.kodi.Kodi verschieben/kopieren.
 
Unbedingt sollte diese Mitteilung beachtet werden:
https://kodi.tv/article/ubuntu-team-kodi-ppa-officially-retired/
Finde ich gut, das jetzt offiziell Kodi als Flatpak ausgerollt werden soll.
Bisher war es meines Wissens so, das Kodi (Flatpak) nicht die neueste Version war.

Übrigens kann man sich die Versionshistorie anschauen:
Code:
flatpak remote-info --log flathub tv.kodi.Kodi
Dazu muss natürlich das Flatpak-Basispaket installiert sein, wie z.B. bei Linux Mint
 
  • Gefällt mir
Reaktionen: ral9004
Hallo

D.h. als Ubuntu Benutzer muss ich für für diese eine Anwendung einen neuen zusätzlichen Paketmanager installieren? Obwohl die Software auf dem Raspi (LibreElec) seit Jahren läuft? Und Kodi als auch Debian sind ja keine Exoten Software unter Linux.

Bzw. den Source selber kompilieren wie der TN TDBR vorgeschlagen hat.

Off Topic:
Gibt es eine einfach Möglichkeit sich anzuzeigen, welche Paketmanager bereits verwendet wurden?
Bzw. mit welchen Paketen? Nur von wegen Updates...

Ich trinke erstmal einen Kaffee und lasse das Gesamtbild auf mich einwirken...

Grüsse
 
Ubuntu kocht ihr eigenes Süppchen (Snap) während alle anderen auf Flatpaks setzen welche auf jeder Distribution laufen.

90% meiner Software kommt über Flatpak.
 
Hallo tdbr

D.h. Du arbeitest auf Deinem Linux mit mehreren Paketmanagern?
D.h. wenn man sich für seine Disti entscheidet, sollte man zuerst prüfen, welche Pakete der verwendete Paketmanager anbietet?
"Flatpak" scheint im Moment der Mainstream zu sein. D.h. man macht es sich einfacher, wenn man eine Disti verwendet die diese verwendet.

Ich bin nicht auf Kodi fixiert. Ich kenne es einfach schon einige Jahre (Raspi / Windows). Meine Offline Medien kann ich sicher auch über eine andere Software verwalten.

Grüsse
 
Flatpak ist eben kein Paketmanager, sondern funktioniert unabhängig von der Distribution bzw. dem darin enthaltenen Paketmanager auf ganz andere Weise:
https://de.wikipedia.org/wiki/Flatpak?wprov=sfla1

Ansonsten hast Du es ja per Link schon selbst festgestellt: Dass Kodi unter Debian nicht in der aktuellsten Version vorliegt, ist eine Entscheidung der Kodi-Entwickler. Die von Dir verlinkte Begründung finde ich dabei ziemlich nachvollziehbar... Zusammengefasst: Nimm einfach das Flatpak ;)
 
  • Gefällt mir
Reaktionen: ral9004
Hallo fixedwater

D.h. ich kann jede Debian oder Red Hat Disti mit Flatpak benutzen?
Wenn ich keine exotischen Applikationen verwende, kann ich alle anderen Paketmanager mit den Paketen deinstallieren. Danach einheitlich mit Flatpak aufbauen. Soweit korrekt?

Beste Grüsse
 
Nicht ganz: Selbstverständlich solltest Du den Paketmanager der jeweiligen Distribution und deren Repositories für die Updates des Systems und auch der darin enthaltenen Anwendungen nutzen. Flatpak dann halt für die Sachen, die nicht in den Repositories sind.... So wie im Fall von Kodi.
 
  • Gefällt mir
Reaktionen: ral9004
garfield121 schrieb:
Übrigens kann man sich die Versionshistorie anschauen:
Code:
flatpak remote-info --log flathub tv.kodi.Kodi
Dazu muss natürlich das Flatpak-Basispaket installiert sein, wie z.B. bei Linux Mint
Hallo

Flatpak installiert. Ein Reboot ist unter Linux nicht notwendig. Korrekt?

Dein Eingabe Bsp ergibt einen Fehler

Code:
fux@test:~$ flatpak remote-info --log flathub tv.kodi.Kodi
error: Remote "flathub" not found
Hint: Use flatpak remote-add to add a remote

Der Versuch Kodi zu installieren / updaten läuft in einen vergleichbaren Fehler:

Code:
fux@test:~$ flatpak install flathub tv.kodi.Kodi

Note that the directories 

'/var/lib/flatpak/exports/share'
'/home/fux/.local/share/flatpak/exports/share'

are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.

Looking for matches…
error: No remote refs found similar to ‘flathub’

Grüsse an die TN
 
@ral9004
Hast du die Installation und Einrichtung von Flatpak abgeschlossen? Es wirkt als hättest du die Flatpak Repo noch nicht hinzugefügt, zumindest deutet der Fehler in Zeile 3 im ersten Code-Block darauf hin.
Eine Anleitung für Ubuntu ist hier;
https://flathub.org/setup/Ubuntu

Scheinbar hast du flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo nicht ausgeführt. Ohne Quelle für Anwendungen gehts nicht. Neustart kann nötig sein. Danach kannst du Kodi installieren mit flatpak install tv.kodi.Kodi

Ich empfehle dir auch flatseal zu installieren, damit kannst du Flatpak Rechte-Management komfortabel für einzelne Anwendungen aber auch global machen. Flatpaks haben idR nicht Lese/Schreibzugriff auf alles, mit Flatseal kannst du z.B. ausgewählte Order freigeben.
 
Hallo Sedot

Das ist ein Widerspruch. Das ist meine Linux Disti / Version
Code:
fux@test:~$ lsb_release -d
Description:    Ubuntu 22.04.4 LTS

Die Flatpak Website behauptet, dass das nur vor der Version 18 erforderlich ist.

Dann ignorieren wir das Manual und updaten. Auch in diesem Vorgang treten Fehler auf:

Code:
fux@test:~$  sudo add-apt-repository ppa:alexlarsson/flatpak
[sudo] password for fux: 
PPA publishes dbgsym, you may need to include 'main/debug' component
Repository: 'deb https://ppa.launchpadcontent.net/alexlarsson/flatpak/ubuntu/ jammy main'
Description:
Linux application sandboxing and distribution framework
More info: https://launchpad.net/~alexlarsson/+archive/ubuntu/flatpak
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Adding deb entry to /etc/apt/sources.list.d/alexlarsson-ubuntu-flatpak-jammy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/alexlarsson-ubuntu-flatpak-jammy.list
Adding key to /etc/apt/trusted.gpg.d/alexlarsson-ubuntu-flatpak.gpg with fingerprint 690951F1A4DE0F905496E8C6C793BFA2FA577F07
Hit:1 http://ch.archive.ubuntu.com/ubuntu jammy InRelease
Get:3 http://ch.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]                                       
Hit:4 http://ch.archive.ubuntu.com/ubuntu jammy-backports InRelease                                               
Hit:5 https://brave-browser-apt-release.s3.brave.com stable InRelease                                             
Hit:6 https://dl.google.com/linux/chrome/deb stable InRelease                                                     
Hit:2 https://packages.microsoft.com/repos/code stable InRelease                                                 
Get:7 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]                 
Ign:8 https://ppa.launchpadcontent.net/alexlarsson/flatpak/ubuntu jammy InRelease
Hit:9 https://ppa.launchpadcontent.net/ubuntu-desktop/ppa/ubuntu jammy InRelease
Hit:10 https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Ubuntu_23.10  InRelease
Err:11 https://ppa.launchpadcontent.net/alexlarsson/flatpak/ubuntu jammy Release
404  Not Found [IP: 185.125.190.80 443]
Reading package lists... Done                             
E: The repository 'https://ppa.launchpadcontent.net/alexlarsson/flatpak/ubuntu jammy 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.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://brave-browser-apt-release.s3.brave.com stable InRelease' do
esn't support architecture 'i386'

Und weiter gemäss Manual. Und wieder mit Fehlern:

Code:
fux@test:~$ sudo apt update
Hit:1 http://ch.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://ch.archive.ubuntu.com/ubuntu jammy-updates InRelease                                                                                   
Hit:3 http://ch.archive.ubuntu.com/ubuntu jammy-backports InRelease                                                                                 
Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease                                                                                     
Hit:6 https://dl.google.com/linux/chrome/deb stable InRelease                                                                                       
Hit:7 https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Ubuntu_23.10  InRelease                                                     
Hit:4 https://packages.microsoft.com/repos/code stable InRelease                 
Ign:8 https://ppa.launchpadcontent.net/alexlarsson/flatpak/ubuntu jammy InRelease                                                   
Hit:9 https://ppa.launchpadcontent.net/ubuntu-desktop/ppa/ubuntu jammy InRelease
Err:10 https://ppa.launchpadcontent.net/alexlarsson/flatpak/ubuntu jammy Release
404  Not Found [IP: 185.125.190.80 443]
Hit:11 https://brave-browser-apt-release.s3.brave.com stable InRelease
Reading package lists... Done                           
E: The repository 'https://ppa.launchpadcontent.net/alexlarsson/flatpak/ubuntu jammy 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.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://brave-browser-apt-release.s3.brave.com stable InRelease' do
esn't support architecture 'i386'

Nochmals versuchen Kodi zu installieren und zu updaten. Negativ:

Code:
fux@test:~$ flatpak install flathub tv.kodi.Kodi

Note that the directories 

'/var/lib/flatpak/exports/share'
'/home/fux/.local/share/flatpak/exports/share'

are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.

Looking for matches…
error: No remote refs found similar to ‘flathub’

Off Topic:
Ich habe mit Sperry Unisys, Dec 6000, OS/2, etc. gearbeitet. Das was ich in den letzten Jahren mit Linux wiederholt erlebe, habe ich mit keinem anderen Betriebssystem erlebt.

Da will man eine weit verbreitete Multimedia Anwendung auf einem 08/15 Linux updaten / installieren. Dazu muss man zuerst einen weiteren Paketmanager installieren. Der so gut wie auf allen Linux als Zweit Paketmanager verwendet wird. Aber leider treten Fehler in Bibliothken / Pfaden auf, die weitere Abklärungen notwenig machen.

Vergleichbar mit einer PC Reparatur, wo zuerst der fehlende Strassename, danach ein fehlerhafter Sicherungskasten und am Schluss kein Licht am Arbeitsplatz das Ganze erschweren...

Ohne Euch TN hätte ich Linux abgeschrieben. Vielen Dank einmal mehr für Eure Unterstützung

Grüsse
 
ral9004 schrieb:
Die Flatpak Website behauptet, dass das nur vor der Version 18 erforderlich ist.
Du nutzt doch aber kein Kubuntu sondern Ubuntu? Kubuntu ist eine Fork mit KDE Plasma als Oberfläche und vermutlich anderen Anpassungen, entsprechend sind dort völlig andere Pakete notwendig. Halt dich bitte an die passende Anleitung.
ral9004 schrieb:
error: No remote refs found similar to ‘flathub’
Es fehlt immer noch die flatpak Repo, ohne kommst du nicht weiter.
 
Hallo Sedot

Keine Panic auf der Titanic...

Wenn Du die verlinkte Anleitung aufgerufen hättest, dann wüsstest Du das ich die korrekte Wahl getroffen habe:

kubuntu.png


Wie eingangs beschrieben, ich bin nicht auf Kodi fixiert. Ich verwalte damit Filme und Serien (NFO Files) sowie Musik Falls irgendwann Flatpak auf diesem Kubuntu läuft, was könnte man dafür nehmen?

Beste GRüsse
 
sedot schrieb:
Kubuntu ist eine Fork mit KDE Plasma als Oberfläche und vermutlich anderen Anpassungen, entsprechend sind dort völlig andere Pakete notwendig.
Nein!
Grundsätzlich sind alle Änderungen für alle *buntu Versionen gültig. Zusätzliche Pakete können natürlich trotzdem erforderlich sein, falls im jeweiligen Metapaket nicht vorhanden.
 
  • Gefällt mir
Reaktionen: ral9004
ral9004 schrieb:
Wenn Du die verlinkte Anleitung aufgerufen hättest, dann wüsstest Du das ich die korrekte Wahl getroffen habe:
Hab ich. Dein lsb_release -d zeigt an;
ral9004 schrieb:
Ubuntu 22.04.4 LTS
Deine verlinkte Anleitung ist für Kubuntu 18.10 (Cosmic Cuttlefish). 😉
Nimm also die von mir verlinkte Anleitung für Ubuntu.

@mo schrieb:
Er nutzt nicht Kubuntu, zumindest wenn lsb_release keinen Unsinn anzeigt.
edit; das verwendete ppa ist ein anderes.
 
Hallo Sedot

Du hast Recht. Ubuntu nicht Kubuntu

Code:
fux@test:~$ cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Ich war überzeugt, wir hätten letztes Jahr auf diesem Notebook Kubuntu installiert.

Jedoch denke ich gleich wie "@Mo". Für diesen Sachverhalt mit Paketmanagern spielt es keine Rolle.

Gerne teste ich die Anleitung für Ubuntu. Die Installationsanweisung enthält auf einer Zeile abweichende Parameter:
Kubuntu: sudo add-apt-repository ppa:alexlarsson/flatpak
Ubuntu: sudo add-apt-repository ppa:flatpak/stable

Aus meiner Sicht (überflogen) tritt derselbe Fehler auf:

Code:
fux@test:~$ sudo add-apt-repository ppa:flatpak/stable
[sudo] password for fux: 
Repository: 'deb https://ppa.launchpadcontent.net/flatpak/stable/ubuntu/ jammy main'
Description:
Latest stable versions of Flatpak.

Support policy
--------------

This PPA is provided as a convenience for Ubuntu users, with no guarantee of support. If you are an Ubuntu developer and would like to volunteer to maintain packages for this PPA, please contact us via <https://github.com
/flatpak/ppa-flatpak/issues>.

Packages in this PPA are built for LTS branches of Ubuntu, currently
22.04 'jammy' and 20.04 'focal'. The newest LTS branch is treated as the highest priority for updates.

Packages for Ubuntu 18.04 or older are no longer updated. Branches that have reached EOL for non-subscription-based updates are likely to stop receiving updates, or be removed from this PPA, when backports to those branch
es become too difficult.

Non-LTS branches such as groovy and hirsute are not currently supported by this PPA. If you are an Ubuntu developer and would like to volunteer to maintain packages for this PPA, please contact us via <https://github.com/
flatpak/ppa-flatpak/issues>.

Source code for the packages used here
--------------------------------------

* https://github.com/flatpak/ppa-flatpak
* https://github.com/flatpak/ppa-flatpak-builder
* https://github.com/flatpak/ppa-xdg-desktop-portal
* https://github.com/flatpak/ppa-xdg-desktop-portal-gtk

These packages are built from the ppa/stable/jammy, ppa/stable/focal branches.

Development versions of these packages
--------------------------------------

https://launchpad.net/~flatpak/+archive/ubuntu/development provides newer prereleases of Flatpak from its development branch.
More info: https://launchpad.net/~flatpak/+archive/ubuntu/stable
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Adding deb entry to /etc/apt/sources.list.d/flatpak-ubuntu-stable-jammy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/flatpak-ubuntu-stable-jammy.list
Adding key to /etc/apt/trusted.gpg.d/flatpak-ubuntu-stable.gpg with fingerprint 5C6D153A17C02C337EF6C663B8B9D41229DFA5F5
Hit:1 http://ch.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://ch.archive.ubuntu.com/ubuntu jammy-updates InRelease                                                                                   
Hit:3 http://ch.archive.ubuntu.com/ubuntu jammy-backports InRelease                                                                                 
Hit:5 https://brave-browser-apt-release.s3.brave.com stable InRelease                                                                               
Hit:6 https://dl.google.com/linux/chrome/deb stable InRelease                                                                                       
Hit:4 https://packages.microsoft.com/repos/code stable InRelease                                                                                     
Ign:7 https://ppa.launchpadcontent.net/alexlarsson/flatpak/ubuntu jammy InRelease         
Hit:8 https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Ubuntu_23.10  InRelease
Get:9 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:10 https://ppa.launchpadcontent.net/flatpak/stable/ubuntu jammy InRelease [18.1 kB]
Hit:11 https://ppa.launchpadcontent.net/ubuntu-desktop/ppa/ubuntu jammy InRelease
Err:12 https://ppa.launchpadcontent.net/alexlarsson/flatpak/ubuntu jammy Release
404  Not Found [IP: 185.125.190.80 443]
Get:13 https://ppa.launchpadcontent.net/flatpak/stable/ubuntu jammy/main i386 Packages [1’320 B]
Get:14 https://ppa.launchpadcontent.net/flatpak/stable/ubuntu jammy/main amd64 Packages [4’700 B]
Get:15 https://ppa.launchpadcontent.net/flatpak/stable/ubuntu jammy/main Translation-en [2’792 B]
Reading package lists... Done             
E: The repository 'https://ppa.launchpadcontent.net/alexlarsson/flatpak/ubuntu jammy 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.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://brave-browser-apt-release.s3.brave.com stable InRelease' doesn't support architecture 'i386'
heiri@heiriknecht:~$ flatpak remote-info --log flathub tv.kodi.Kodi
error: Remote "flathub" not found
Hint: Use flatpak remote-add to add a remote

Grüsse an alle TN
 
ral9004 schrieb:
Aus meiner Sicht (überflogen) tritt derselbe Fehler auf:
Weil dir immer noch das eingebundene flatpak repo fehlt.
Also bitte sudo apt install gnome-software-plugin-flatpak (damit Flatpaks via Gnome Software installiert werden können) und flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo damit du die offizielle Flatpub Repo einbindest. Dann neustarten. Als nächstes flatpak install tv.kodi.Kodi. Oder, im Software-Center Kodi suchen und von Flatpak Flathub (Drop-down Menü!) installieren.
 
  • Gefällt mir
Reaktionen: ral9004
Zurück
Oben