[Pkg-utopia-maintainers] Bug#1039570: flatpak: 'flatpak upgrade' repeatedly installs, removes, installs some obsolete runtimes

Sam Morris sam at robots.org.uk
Tue Jun 27 11:07:59 BST 2023


Package: flatpak
Version: 1.14.4-1
Severity: normal
X-Debbugs-Cc: sam at robots.org.uk

Each time I run 'flatpak uprade' it installs and removes a couple of
obsolete runtimes, over and over.

According to 'flatpak list' the following flatpaks are installed:

    root at fragarach:~# flatpak list
    Name                                               Application ID                                  Version            Branch                 Installation
    Color Picker                                       nl.hjdskes.gcolor3                              2.4.0              stable                 system
    Mesa                                               org.freedesktop.Platform.GL.default             21.3.9             21.08                  system
    Mesa                                               org.freedesktop.Platform.GL.default             23.1.1             22.08                  system
    Mesa (Extra)                                       org.freedesktop.Platform.GL.default             23.1.1             22.08-extra            system
    Intel                                              org.freedesktop.Platform.VAAPI.Intel                               21.08                  system
    Intel                                              org.freedesktop.Platform.VAAPI.Intel                               22.08                  system
    openh264                                           org.freedesktop.Platform.openh264               2.1.0              2.0                    system
    openh264                                           org.freedesktop.Platform.openh264               2.1.0              2.2.0                  system
    GNOME Application Platform version 3.38            org.gnome.Platform                                                 3.38                   system
    GNOME Application Platform version 43              org.gnome.Platform                                                 43                     system
    GNOME Application Platform version 44              org.gnome.Platform                                                 44                     system
    Secrets                                            org.gnome.World.Secrets                         7.3                stable                 system
    Adwaita dark GTK theme                             org.gtk.Gtk3theme.Adwaita-dark                                     3.22                   system

Now if I run 'flatpak upgrade', it wants to install two runtimes that,
as far as I can tell are already installed?

    root at fragarach:~# flatpak upgrade
    Looking for updates…

    Info: runtime org.freedesktop.Platform.VAAPI.Intel branch 20.08 is end-of-life, with reason:
       org.freedesktop.Platform 20.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.

    Info: runtime org.freedesktop.Platform.GL.default branch 20.08 is end-of-life, with reason:
       org.freedesktop.Platform 20.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.


	    ID                                              Branch            Op           Remote            Download
     1. [✓] org.freedesktop.Platform.GL.default             20.08             i            flathub           105.8 MB / 106.4 MB
     2. [✓] org.freedesktop.Platform.VAAPI.Intel            20.08             i            flathub            11.6 MB / 11.6 MB

    Installation complete.

And if I run 'flatpak upgrade' again, then they get removed...

    root at fragarach:~# flatpak upgrade
    Looking for updates…

    Info: runtime org.freedesktop.Platform.VAAPI.Intel branch 20.08 is end-of-life, with reason:
       org.freedesktop.Platform 20.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.

    Info: runtime org.freedesktop.Platform.GL.default branch 20.08 is end-of-life, with reason:
       org.freedesktop.Platform 20.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.


	    ID                                            Branch          Op
     1. [-] org.freedesktop.Platform.GL.default           20.08           r
     2. [-] org.freedesktop.Platform.VAAPI.Intel          20.08           r

    Uninstall complete.

... and if I run it a third time they are installed again...

    root at fragarach:~# flatpak upgrade
    Looking for updates…

    Info: runtime org.freedesktop.Platform.VAAPI.Intel branch 20.08 is end-of-life, with reason:
       org.freedesktop.Platform 20.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.

    Info: runtime org.freedesktop.Platform.GL.default branch 20.08 is end-of-life, with reason:
       org.freedesktop.Platform 20.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.


	    ID                                              Branch            Op           Remote            Download
     1. [✓] org.freedesktop.Platform.GL.default             20.08             i            flathub           105.8 MB / 106.4 MB
     2. [✓] org.freedesktop.Platform.VAAPI.Intel            20.08             i            flathub            11.6 MB / 11.6 MB

    Installation complete.

    root at fragarach:~# flatpak list
    Name                                               Application ID                                  Version            Branch                 Installation
    Color Picker                                       nl.hjdskes.gcolor3                              2.4.0              stable                 system
    Mesa                                               org.freedesktop.Platform.GL.default             21.1.8             20.08                  system
    Mesa                                               org.freedesktop.Platform.GL.default             21.3.9             21.08                  system
    Mesa                                               org.freedesktop.Platform.GL.default             23.1.1             22.08                  system
    Mesa (Extra)                                       org.freedesktop.Platform.GL.default             23.1.1             22.08-extra            system
    Intel                                              org.freedesktop.Platform.VAAPI.Intel                               20.08                  system
    Intel                                              org.freedesktop.Platform.VAAPI.Intel                               21.08                  system
    Intel                                              org.freedesktop.Platform.VAAPI.Intel                               22.08                  system
    openh264                                           org.freedesktop.Platform.openh264               2.1.0              2.0                    system
    openh264                                           org.freedesktop.Platform.openh264               2.1.0              2.2.0                  system
    GNOME Application Platform version 3.38            org.gnome.Platform                                                 3.38                   system
    GNOME Application Platform version 43              org.gnome.Platform                                                 43                     system
    GNOME Application Platform version 44              org.gnome.Platform                                                 44                     system
    Secrets                                            org.gnome.World.Secrets                         7.3                stable                 system
    Adwaita dark GTK theme                             org.gtk.Gtk3theme.Adwaita-dark                                     3.22                   system

    root at fragarach:~# flatpak upgrade
    Looking for updates…

    Info: runtime org.freedesktop.Platform.VAAPI.Intel branch 20.08 is end-of-life, with reason:
       org.freedesktop.Platform 20.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.

    Info: runtime org.freedesktop.Platform.GL.default branch 20.08 is end-of-life, with reason:
       org.freedesktop.Platform 20.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.


	    ID                                            Branch          Op
     1. [-] org.freedesktop.Platform.GL.default           20.08           r
     2. [-] org.freedesktop.Platform.VAAPI.Intel          20.08           r

    Uninstall complete.

    root at fragarach:~# flatpak list
    Name                                               Application ID                                  Version            Branch                 Installation
    Color Picker                                       nl.hjdskes.gcolor3                              2.4.0              stable                 system
    Mesa                                               org.freedesktop.Platform.GL.default             21.3.9             21.08                  system
    Mesa                                               org.freedesktop.Platform.GL.default             23.1.1             22.08                  system
    Mesa (Extra)                                       org.freedesktop.Platform.GL.default             23.1.1             22.08-extra            system
    Intel                                              org.freedesktop.Platform.VAAPI.Intel                               21.08                  system
    Intel                                              org.freedesktop.Platform.VAAPI.Intel                               22.08                  system
    openh264                                           org.freedesktop.Platform.openh264               2.1.0              2.0                    system
    openh264                                           org.freedesktop.Platform.openh264               2.1.0              2.2.0                  system
    GNOME Application Platform version 3.38            org.gnome.Platform                                                 3.38                   system
    GNOME Application Platform version 43              org.gnome.Platform                                                 43                     system
    GNOME Application Platform version 44              org.gnome.Platform                                                 44                     system
    Secrets                                            org.gnome.World.Secrets                         7.3                stable                 system
    Adwaita dark GTK theme                             org.gtk.Gtk3theme.Adwaita-dark                                     3.22                   system

... and so on.

-- Package-specific info:
Permissions of /usr/bin/bwrap:
-rwxr-xr-x. 1 root root 72080 Feb 28 09:38 /usr/bin/bwrap
/etc/sysctl.d/*-bubblewrap.conf:
cat: '/etc/sysctl.d/*-bubblewrap.conf': No such file or directory
/usr/lib/sysctl.d/50-bubblewrap.conf:
# Enable unprivileged creation of new user namespaces in older Debian
# kernels.
#
# If this is not desired, copy this file to
# /etc/sysctl.d/50-bubblewrap.conf and change the value of this parameter
# to 0, then use dpkg-statoverride to make /usr/bin/bwrap setuid root.
#
# For more details see https://deb.li/bubblewrap or
# /usr/share/doc/bubblewrap/README.Debian
kernel.unprivileged_userns_clone=1
/proc/sys/kernel/unprivileged_userns_clone:
1
/proc/sys/user/max_cgroup_namespaces:
127767
/proc/sys/user/max_ipc_namespaces:
127767
/proc/sys/user/max_mnt_namespaces:
127767
/proc/sys/user/max_net_namespaces:
127767
/proc/sys/user/max_pid_namespaces:
127767
/proc/sys/user/max_time_namespaces:
127767
/proc/sys/user/max_user_namespaces:
127767
/proc/sys/user/max_uts_namespaces:
127767

-- System Information:
Debian Release: 12.0
  APT prefers stable-security
  APT policy: (570, 'stable-security'), (570, 'stable-debug'), (570, 'stable'), (550, 'testing-debug'), (550, 'testing'), (530, 'unstable-debug'), (530, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages flatpak depends on:
ii  adduser                         3.134
ii  bubblewrap                      0.8.0-2
ii  dbus [default-dbus-system-bus]  1.14.6-1
ii  fuse3                           3.14.0-4
ii  libappstream4                   0.16.1-2
ii  libarchive13                    3.6.2-1
ii  libc6                           2.36-9
ii  libcurl3-gnutls                 7.88.1-10
ii  libdconf1                       0.40.0-4
ii  libfuse3-3                      3.14.0-4
ii  libgdk-pixbuf-2.0-0             2.42.10+dfsg-1+b1
ii  libglib2.0-0                    2.74.6-2
ii  libgpgme11                      1.18.0-3+b1
ii  libjson-glib-1.0-0              1.6.6-1
ii  libmalcontent-0-0               0.11.0-4
ii  libostree-1-1                   2022.7-2
ii  libpolkit-agent-1-0             122-3
ii  libpolkit-gobject-1-0           122-3
ii  libseccomp2                     2.5.4-1+b3
ii  libsystemd0                     252.6-1
ii  libxau6                         1:1.0.9-1
ii  libxml2                         2.9.14+dfsg-1.2
ii  libzstd1                        1.5.4+dfsg2-5
ii  xdg-dbus-proxy                  0.1.4-3

Versions of packages flatpak recommends:
ii  ca-certificates                                        20230311
ii  desktop-file-utils                                     0.26-1
ii  gtk-update-icon-cache                                  3.24.37-2
ii  hicolor-icon-theme                                     0.17-2
ii  libpam-systemd                                         252.6-1
ii  p11-kit                                                0.24.1-2
ii  policykit-1                                            122-3
ii  polkitd                                                122-3
ii  shared-mime-info                                       2.2-1
ii  xdg-desktop-portal                                     1.16.0-2
ii  xdg-desktop-portal-gnome [xdg-desktop-portal-backend]  43.1-2
ii  xdg-desktop-portal-gtk [xdg-desktop-portal-backend]    1.14.1-1
ii  xdg-user-dirs                                          0.18-1

Versions of packages flatpak suggests:
ii  avahi-daemon    0.8-10
ii  malcontent-gui  0.11.0-4

Versions of packages bubblewrap depends on:
ii  libc6        2.36-9
ii  libcap2      1:2.66-4
ii  libselinux1  3.4-1+b6

Versions of packages bubblewrap recommends:
ii  procps  2:4.0.2-3

-- no debconf information


More information about the Pkg-utopia-maintainers mailing list