[Bug]: Update command on 1.18 wants to install 24.08 variants of packages with 25.08 variant

Abierto
#6,700 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
c, linux
Área
release

Línea de trabajo

Start by reproducing with the 25.08 MangoHud VulkanLayer runtime installed and the 24.08 variant absent, then run flatpak update and inspect which branch the update resolution picks. The bug is in how update candidates are chosen for extensions and runtimes, so look at the update and ref-resolution code in the flatpak C sources. Done means the update no longer proposes the 24.08 branch for the 25.08 extensions while pinning still behaves.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug
Checklist
  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.
  • If this is an issue with a particular app, I have tried filing it in the appropriate issue tracker for the app (e.g. under https://github.com/flathub/) and determined that it is an issue with Flatpak itself.
  • This issue is not a report of a security vulnerability (see here if you need to report a security issue).
Flatpak version

1.18.0

What Linux distribution are you using?

Arch Linux

Linux distribution version

7.0.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 10 Jun 2026 08:58:02 +0000 x86_64 GNU/Linux

What architecture are you using?

x86_64

How to reproduce
  1. Install org.freedesktop.Platform.VulkanLayer.MangoHud at version runtime/org.freedesktop.Platform.VulkanLayer.MangoHud/x86_64/25.08 (and ensure the 24.08 variant is not installed).
  2. Run flatpak update
Expected Behavior

Flatpak reports no updates for MangoHud.

Actual Behavior

Flatpak suggests updating org.freedesktop.Platform.VulkanLayer.MangoHud by installing version 24.08 (I never installed that version).

Additional Information

This seems to be a change of behaviour (regression?) since 1.16, as this started happening immediately after the update.

I'm experiencing the same for org.freedesktop.Sdk.Extension.dotnet10 and org.freedesktop.Sdk.Extension.openjdk21, for which I have the 25.08 runtime version installed, and flatpak update now wants to install the 24.08 equivalents when updating.

I've tried removing and reinstalling the package in question. I also have pinning enabled for this package, but disabling it seems to have no impact.

Lenguaje dominante
C
Estrellas
5.1k
Forks
526
Merge medio
17 h 12 min
PR fusionados (30 d)
26

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de flatpak/flatpak

Todos los issues de flatpak/flatpak

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.