Why do `--include-sdk` and/or `--include-debug` install irrelevant architectures' debug packages?

Context

I have adhered to:

…in order to diagnose:

An Example

I’m using x86-64, yet:

  1. #!/usr/bin/env sh
    flatpak install --include-sdk --include-debug flathub app/io.github.alainm23.planify/x86_64/stable
    
  2. Looking for matches…
    Required runtime for io.github.alainm23.planify/x86_64/stable (runtime/org.gnome.Platform/x86_64/48) found in remote flathub
    Do you want to install it? [Y/n]: y
    Required runtime for io.github.alainm23.planify/x86_64/stable (runtime/org.gnome.Sdk/x86_64/48) found in remote flathub
    Do you want to install it? [Y/n]: y
    
    io.github.alainm23.planify permissions:
        ipc     network     fallback-x11    pulseaudio    wayland    x11    dri    dbus access [1]
    
        [1] org.gnome.evolution.dataserver.Calendar8, org.gnome.evolution.dataserver.Sources5
    
    
            ID                                            Branch           Op           Remote            Download
     1.     io.github.alainm23.planify.Debug              stable           i            flathub            < 28.7 MB
     2.     io.github.alainm23.planify.Locale             stable           i            flathub             < 3.1 MB (partial)
     3.     org.gnome.Platform.Locale                     48               i            flathub           < 394.5 MB (partial)
     4.     org.gnome.Sdk.Compat.aarch64.Debug            48               i            flathub             < 1.9 GB
     5.     org.gnome.Sdk.Compat.i386.Debug               48               i            flathub             < 1.1 GB
     6.     org.gnome.Sdk.Debug                           48               i            flathub             < 4.4 GB
     7.     org.gnome.Sdk.Locale                          48               i            flathub           < 399.8 MB (partial)
     8.     org.gnome.Sdk                                 48               i            flathub           < 814.3 MB
     9.     org.gnome.Platform                            48               i            flathub           < 404.8 MB
    10.     io.github.alainm23.planify                    stable           i            flathub            < 12.5 MB
    

My Environment

Name         : flatpak
Version      : 1.16.1
Release      : 1.fc42
Architecture : x86_64
Install Date : Thu 15 May 2025 12:44:39 BST
Size         : 6836181
Signature    : RSA/SHA256, Mon 12 May 2025 11:06:32 BST, Key ID c8ac4916105ef944
Source RPM   : flatpak-1.16.1-1.fc42.src.rpm
Build Date   : Mon 12 May 2025 10:54:00 BST
Build Host   : buildhw-x86-08.iad2.fedoraproject.org
Packager     : Fedora Project
Vendor       : Fedora Project
Bug URL      : https://bugz.fedoraproject.org/flatpak

It’s a bug, you should open an issue in Flatpak if there isn’t already one.

1 Like

@bbhtt, thanks! flatpak/issues?q=is%3Aissue%20state%3Aopen%20wrong%20arch%20installed doesn’t return anything of relevance:

…so I’ve filed flatpak/issues/6368:

This topic was automatically closed after 44 hours. New replies are no longer allowed.