
KDE Discover Error Message: “E: Repository XXXX InRelease Changed Its Label Value…”
Error message on repository info changes
I have noticed that Discover started to complain recently about some apt source changes in repositories, e.g. a label or description has been changed. However, Discover does only display an error message such as:
E: Repository 'https://ppa.launchpadcontent.net/ondrej/php/ubuntu noble InRelease' changed its 'Label' value from ' The main PPA for supported PHP versions with many PECL extensions ' to 'PPA for PHP'
W: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
E: Repository 'https://dl.ui.com/unifi/debian stable InRelease' changed its 'Codename' value from 'unifi-9.0' to 'unifi-9.1'
and does not provide any way to fix this.
Bug reported
I have thus reported a bug to KDE / Neon developers on this issue. I marked it as major UI issue as it effectively blocks any updates and does not provide an alternative path to a user that would resolve this.
Developer’s response
Nate Graham, the developer of KDE (Neon) has responded with some good info on why this happens:
This is a limitation in the APT PackageKit plugin, which Discover uses for this. Because the PackageKit library intentionally does not support showing multiple-choice UI prompts to the user, there are two remaining options for how the APT plugin can handle this situation:
- Automatically proceed, assuming you’re okay with whatever changes it needs to make
- Automatically fail, showing you an ugly error message and leaving you to figure it out
It chose #2.
The only practical way for this to be improved is to stop using PackageKit, and to write a custom APT backend specially for Discover, which could then handle situations like this better.
However that’s something that would really need initiative from people in the APT packaging world. All the custom backends in Discover that do exist (e.g. for SteamOS, Kinoite, Alpine Linux, and KDE Linux) were contributed by the people working on those distros. It would have to be the same for any hypothetical custom APD backend in Discover.
It’s a sucky situation, but it is what it is.
Solution (or workaround)
While it seems there is no resolution addressing this bug using Discover, you can use this command line (CLI) workaround in the meantime. Open a terminal and run apt / apt-get, telling it to accept and repo changes:
sudo apt-get update --allow-releaseinfo-change
This will effectively accept any changes the apt repositories have made. Now Discover will be able to proceed with any updates or upgrades waiting. No error message will be further shown in Discover.