elementary / elementary/appcenter

AppCenter fails to apply Flatpak runtime updates when package names change

Open
#2,400 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
554
Forks
104
Avg merge
15h 57m
Merged PRs (30d)
2

Description

### What Happened?

I ran flatpak update in the terminal to investigate the issue, and I saw that it prompted for user confirmation because the name of two packages installed from AppCenter changed, specifically Jorts and its locale. I believe updating from AppCenter may get stuck at the user confirmation, causing the update to fail to apply.

### Steps to Reproduce

1. Have a Flatpak runtime with a pending update where the package name has changed
2. Attempt to update through AppCenter
3. Restart the system
4. AppCenter still shows the update as needed

### Expected Behavior

Depends on whether AppCenter should warn and prompt the user about package name changes or just quietly accept them; the former is Flatpak CLI's default behavior.

### OS Version

8.x (Circe)

### OS Architecture

amd64 (on most hardwares)

### Session Type

Secure Session (Wayland, This is the default)

### Software Version

Latest release (I have run all updates)

### Log Output

```shell

```

### Hardware Info

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.