Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 25/09/2019, à 04:50

abecidofugy

[Résolu] flatpak update pose problème

Salut,

Je peine à mettre à jour mes flatpak :

# flatpak update
Looking for updates...
Installing in system:
org.freedesktop.Platform.openh264/x86_64/19.08 flathub c0062d844eea
Is this ok [y/n]: y
Installing: org.freedesktop.Platform.openh264/x86_64/19.08 from flathub
Warning: Failed to install org.freedesktop.Platform.openh264/x86_64/19.08: runtime/org.freedesktop.Platform.openh264/x86_64/19.08 needs a later flatpak version (1.4.2)

# add-apt-repository ppa:alexlarsson/flatpak
  Linux application sandboxing and distribution framework
 Plus d’info : https://launchpad.net/~alexlarsson/+archive/ubuntu/flatpak
Appuyez sur [ENTRÉE] pour continuer ou sur Ctrl-c pour annuler l'ajout.

Réception de :1 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu bionic InRelease [21,3 kB]
Atteint :2 http://fr.archive.ubuntu.com/ubuntu bionic InRelease                                                                                  
Atteint :3 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                          
Atteint :4 http://linux.teamviewer.com/deb stable InRelease                                                                                      
Réception de :5 http://archive.neon.kde.org/user bionic InRelease [153 kB]                                                                       
Atteint :6 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease                                                                        
Atteint :7 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                                           
Atteint :8 http://ppa.launchpad.net/jonathonf/vim/ubuntu bionic InRelease                                                       
Réception de :9 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu bionic/main i386 Packages [3892 B]
Réception de :10 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu bionic/main amd64 Packages [3884 B]
182 ko réceptionnés en 2s (105 ko/s)                               
Lecture des listes de paquets... Fait

# apt-get update
Atteint :1 http://linux.teamviewer.com/deb stable InRelease
Atteint :2 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                                           
Atteint :3 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu bionic InRelease                                                                  
Atteint :4 http://fr.archive.ubuntu.com/ubuntu bionic InRelease                                                                                  
Atteint :5 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                          
Atteint :6 http://ppa.launchpad.net/jonathonf/vim/ubuntu bionic InRelease                                        
Réception de :7 http://archive.neon.kde.org/user bionic InRelease [153 kB]                         
Atteint :8 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease                        
153 ko réceptionnés en 2s (90,7 ko/s)                                                        
Lecture des listes de paquets... Fait

#flatpak uninstall --unused
Uninstalling from system:
org.freedesktop.Platform.GL.default/x86_64/19.08
org.gnome.Platform/x86_64/3.30
org.gnome.Platform.Locale/x86_64/3.30
Is this ok [y/n]: y
Uninstalling: org.freedesktop.Platform.GL.default/x86_64/19.08
Uninstalling: org.gnome.Platform/x86_64/3.30
Uninstalling: org.gnome.Platform.Locale/x86_64/3.30

#flatpak repair
Verifying flathub:runtime/org.gtk.Gtk3theme.Breeze/x86_64/3.22...
Verifying flathub:app/org.inkscape.Inkscape/x86_64/stable...
Verifying flathub:app/org.gimp.GIMP/x86_64/stable...
Verifying flathub:appstream2/x86_64...
Verifying flathub:runtime/org.inkscape.Inkscape.Locale/x86_64/stable...
Verifying flathub:runtime/org.freedesktop.Platform.html5-codecs/x86_64/18.08...
Verifying flathub:runtime/org.gnome.Platform/x86_64/3.32...
Verifying flathub:runtime/org.gnome.Platform/x86_64/3.34...
Verifying flathub:runtime/org.gnome.Platform.Locale/x86_64/3.32...
Verifying flathub:runtime/org.gnome.Platform.Locale/x86_64/3.34...
Pruning objects

# flatpak update 
Looking for updates...
Installing in system:
org.freedesktop.Platform.GL.default/x86_64/19.08 flathub b305a18e211d
org.freedesktop.Platform.openh264/x86_64/19.08   flathub c0062d844eea
Is this ok [y/n]: y
Installing: org.freedesktop.Platform.GL.default/x86_64/19.08 from flathub
[####################] 17 metadata, 34 content objects fetched; 39704 KiB transferred in 32 seconds
Now at b305a18e211d.
Installing: org.freedesktop.Platform.openh264/x86_64/19.08 from flathub
Warning: Failed to install org.freedesktop.Platform.openh264/x86_64/19.08: runtime/org.freedesktop.Platform.openh264/x86_64/19.08 needs a later flatpak version (1.4.2)

Que se passe-t-il ?

Merci.

Dernière modification par abecidofugy (Le 06/10/2019, à 22:48)

Hors ligne

#2 Le 25/09/2019, à 07:04

xubu1957

Re : [Résolu] flatpak update pose problème

Bonjour,

Je n'ai pas tout lu.

Le 20/09/2019, cstamas a écrit :

Je crois avoir trouvé le problème. Tout d’abord, AUCUNE mise à niveau de flatpak n’est nécessaire, c’est une question de thèmes Gtk ...

dans > Flatpak refuses to update a package


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#3 Le 25/09/2019, à 13:06

Roschan

Re : [Résolu] flatpak update pose problème

needs a later flatpak version (1.4.2)

Le problème est ta version de la commande flatpak, qui commence à se faire sérieusement périmée. Puisque tu le prends sur un PPA, et que celui-ci fournit flatpak 1.4.3 pour toutes les versions d'Ubuntu encore actives, je suppose que c'est parce que tu ne t'es pas mis à jour avec sudo apt upgrade (tu ne l'as pas fait ici, donc l'ajout de PPA n'a servi à rien)

Dernière modification par Roschan (Le 25/09/2019, à 13:08)

Hors ligne

#4 Le 25/09/2019, à 13:14

abecidofugy

Re : [Résolu] flatpak update pose problème

C’est revenu dans l’ordre :

# pkcon refresh && pkcon update && flatpak update && snap refresh
Actualisation du cache        [=========================]         
Chargement du cache           [=========================]         
Mise à jour de la liste des logiciels[=========================]         
Téléchargement des paquets  [=========================]         
Exécution                    [=========================]         
Terminé                      [=========================]         
 Activé                              http://linux.teamviewer.com/deb stable InRelease
 Activé                              http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu bionic InRelease
 Activé                              http://fr.archive.ubuntu.com/ubuntu bionic InRelease
 Activé                              http://ppa.launchpad.net/jonathonf/vim/ubuntu bionic InRelease
Obtention des mises à jour   [=========================]         
Terminé                      [=========================]         
Chargement du cache           [=========================]         
Test des changements          [=========================]         
Terminé                      [                         ] (0%)  
Les paquets suivants doivent être mis à jour :
 flatpak-1.4.3-flatpak1~bionic.amd64    Application deployment framework for desktop apps
 libflatpak0-1.4.3-flatpak1~bionic.amd64        Application deployment framework for desktop apps (library)
 libostree-1-1-2019.1-flatpak2~bionic.amd64     content-addressed filesystem for operating system binaries (library)
 xdg-desktop-portal-1.2.0-flatpak3~bionic.amd64 desktop integration portal for Flatpak
 xdg-desktop-portal-gtk-1.2.0-flatpak1~bionic.amd64     GTK+/GNOME portal backend for xdg-desktop-portal
Continuer avec ces changements ? [N/y] y

                             [=========================]         
Mise à jour des paquets      [=========================]         
Chargement du cache           [=========================]         
Téléchargement des paquets  [=========================]         
Exécution                    [=========================]         
Installation des paquets      [=========================]         
Terminé                      [=========================]         
Looking for updates…


        ID                                           Arch              Branch           Remote            Download
 1. [✗] org.freedesktop.Platform.openh264            x86_64            19.08            flathub           594,2 kB / 593,4 kB

Warning: org.freedesktop.Platform.openh264 not installed
Installation complete.
Tous les paquets Snaps sont à jour.
# apt update
Atteint :1 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu bionic InRelease
Atteint :2 http://fr.archive.ubuntu.com/ubuntu bionic InRelease                                                                                  
Atteint :3 http://linux.teamviewer.com/deb stable InRelease                                                                                      
Atteint :4 http://ppa.launchpad.net/jonathonf/vim/ubuntu bionic InRelease                                                                        
Réception de :5 http://archive.neon.kde.org/user bionic InRelease [153 kB]                                                                       
Atteint :6 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                                           
Atteint :7 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                          
Atteint :8 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease                        
153 ko réceptionnés en 2s (84,8 ko/s)                            
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Tous les paquets sont à jour.
# pkcon refresh && pkcon update && flatpak update && snap refresh
Actualisation du cache        [=========================]         
Chargement du cache           [=========================]         
Mise à jour de la liste des logiciels[=========================]         
Téléchargement des paquets  [=========================]         
Exécution                    [=========================]         
Terminé                      [=========================]         
 Activé                              http://linux.teamviewer.com/deb stable InRelease
 Activé                              http://fr.archive.ubuntu.com/ubuntu bionic InRelease
 Activé                              http://security.ubuntu.com/ubuntu bionic-security InRelease
 Activé                              http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu bionic InRelease
 Activé                              http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease
 Activé                              http://ppa.launchpad.net/jonathonf/vim/ubuntu bionic InRelease
 Activé                              http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease
Obtention des mises à jour   [=========================]         
Terminé                      [=========================]         
Aucune mise à jour de paquet vers une nouvelle version n'est requise.

Merci.

Hors ligne

#5 Le 25/09/2019, à 14:10

Roschan

Re : [Résolu] flatpak update pose problème

Mais de rien, mon intervention fut bien peu utile puisque tu as fait appel à toutes les commandes de mise à jour existantes sauf l'apt upgrade dont je parlais (je sais que c'est théoriquement équivalent mais bon, tout le monde sur le forum sait lire, et s'attend à, des retours de commande d'apt)

Dernière modification par Roschan (Le 25/09/2019, à 14:13)

Hors ligne

#6 Le 06/10/2019, à 19:27

abecidofugy

Re : [Résolu] flatpak update pose problème

En fait, ce n'est pas du tout réglé :
1570381949-screenshot-20191006-172654.png

J'ai fait aussi un update, et un full-upgrade malgré le pkcon que j'utilise habituellement.

Hors ligne

#7 Le 06/10/2019, à 20:14

Roschan

Re : [Résolu] flatpak update pose problème

ça ne marche toujours pas, mais ce n'est pas l'erreur précédente. Essaye de faire flatpak remove [le nom du truc] puis flatpak install [le nom du truc] ?

Hors ligne

#8 Le 06/10/2019, à 20:21

abecidofugy

Re : [Résolu] flatpak update pose problème

flatpak install org.freedesktop.Platform.openh264 
Looking for matches…
Found similar ref(s) for ‘org.freedesktop.Platform.openh264’ in remote ‘flathub’ (system).
Use this remote? [Y/n]: y


        ID                                           Arch              Branch           Remote            Download
 1. [✗] org.freedesktop.Platform.openh264            x86_64            19.08            flathub           593,6 kB / 593,4 kB

Error: org.freedesktop.Platform.openh264 not installed
error: Failed to install org.freedesktop.Platform.openh264: While trying to apply extra data: runtime/org.freedesktop.Platform/x86_64/19.08 not installed

(le remove ne renvoie rien comme ligne)

Hors ligne

#9 Le 06/10/2019, à 20:48

Roschan

Re : [Résolu] flatpak update pose problème

du coup installe org.freedesktop.Platform/x86_64/19.08 puis revient à l'installation de org.freedesktop.Platform.openh264

Hors ligne

#10 Le 06/10/2019, à 21:34

abecidofugy

Re : [Résolu] flatpak update pose problème

flatpak install org.freedesktop.Platform/x86_64/19.08
Looking for matches…
Found similar ref(s) for ‘org.freedesktop.Platform/x86_64/19.08’ in remote ‘flathub’ (system).
Use this remote? [Y/n]: y


        ID                                           Arch              Branch           Remote            Download
 1.     org.freedesktop.Platform                     x86_64            19.08            flathub           < 237,7 MB
 2.     org.freedesktop.Platform.Locale              x86_64            19.08            flathub           < 318,9 MB (partial)
 3.     org.freedesktop.Platform.openh264            x86_64            19.08            flathub           < 593,4 kB

Proceed with these changes to the Default system installation? [Y/n]: 

Y or N ?

//EDIT : j’attire ton attention sur le fait que je suis en Bionic 18.04 (KDE neon)

Dernière modification par abecidofugy (Le 06/10/2019, à 21:35)

Hors ligne

#11 Le 06/10/2019, à 22:30

Roschan

Re : [Résolu] flatpak update pose problème

je ne crois pas que ça change grand chose, les paquets apt tu y a touché il y a quelques semaines mais là c'est bon maintenant il s'agit purement les paquets flatpak qui étaient dans un état incohérent suite à l'erreur précédente, tu peux faire Y sans que ça n'ait de conséquence en dehors des paquets au format flatpak

et éventuellement après, je suggère

flatpak update
flatpak uninstall --unused

Dernière modification par Roschan (Le 06/10/2019, à 22:31)

Hors ligne

#12 Le 06/10/2019, à 22:47

abecidofugy

Re : [Résolu] flatpak update pose problème

Bon j’ai fait un Yes, et finalement tout est ok (ça n’a pas téléchargé grand chose en plus) :

flatpak install org.freedesktop.Platform/x86_64/19.08
Looking for matches…
Found similar ref(s) for ‘org.freedesktop.Platform/x86_64/19.08’ in remote ‘flathub’ (system).
Use this remote? [Y/n]: y


        ID                                           Arch              Branch           Remote            Download
        ID                                           Arch              Branch           Remote            Download
 1. [✓] org.freedesktop.Platform                     x86_64            19.08            flathub            11,1 MB / 237,7 MB
 2. [✓] org.freedesktop.Platform.Locale              x86_64            19.08            flathub           209,2 kB / 318,9 MB
 3. [✓] org.freedesktop.Platform.openh264            x86_64            19.08            flathub           593,6 kB / 593,4 kB

Installation complete.

Mais avec ta commande, j’ai ça à nouveau (lol) :

flatpak uninstall --unused


        ID                                       Arch            Branch
 1.     org.freedesktop.Platform                 x86_64          19.08
 2.     org.freedesktop.Platform.Locale          x86_64          19.08

Proceed with these changes to the Default system installation? [Y/n]:

J’ai fait Yes, et j’ai ça :
Uninstall complete.

Et pour finir :

flatpak update
Looking for updates…
Nothing to do.

Ça a marché ^^

Dernière modification par abecidofugy (Le 07/10/2019, à 02:53)

Hors ligne

#13 Le 06/10/2019, à 23:59

Roschan

Re : [Résolu] flatpak update pose problème

Euh... mouais, j'aurais pas fait autant confiance au résultat du --unused, à voir ce qui se passera quand tu installeras une application

Hors ligne