Bug 494484 - Non-fatal Upgrade Errors from KDE Neon 22.04 to 24.04
Summary: Non-fatal Upgrade Errors from KDE Neon 22.04 to 24.04
Status: RESOLVED NOT A BUG
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-10 20:04 UTC by 3f15f7ea
Modified: 2024-10-31 11:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Upgrade error messages (13.71 KB, text/plain)
2024-10-10 20:04 UTC, 3f15f7ea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 3f15f7ea 2024-10-10 20:04:50 UTC
Created attachment 174651 [details]
Upgrade error messages

SUMMARY
I installed KDE Neon about 4 weeks ago on a Dell Inspiron 16+, so it's mostly fresh. Upgrade to Plasma 6.2 a few days ago went fine. I upgraded today to KDE Neon 24.04.1 and received some upgrade errors. The upgrade took applied. One error reappeared when doing apt update. At least one of the upgrade errors is the same error, a conflict with the Mozilla.org keys with KDE Neon's.

STEPS TO REPRODUCE
1. Install Mozilla Firefox using these Debian-based instructions in KDE Neon 22.04: 
https://support.mozilla.org/en-US/kb/install-firefox-linux
2. Click KDE Neon upgrade icon.
3. Click Upgrade and go through the upgrade process.

OBSERVED RESULT
At the end of the upgrade process, but before the computer reboots, the errors in the attached appear.
After rebooting, Discover and apt throw the following error, and only this error:
E: Conflicting values set for option Signed-By regarding source https://packages.mozilla.org/apt/ mozilla: /etc/apt/keyrings/packages.mozilla.org.asc != /etc/apt/keyrings/org.kde.neon.packages.mozilla.org.asc
E: The list of sources could not be read.

EXPECTED RESULT
Upgrade would disable third-party source or keys and upgrade without error.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.2
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.8.0-45-generic (64-bit)
Graphics Platform: Wayland
Processors: 22 × Intel® Core™ Ultra 7 155H
Memory: 30.8 GiB of RAM
Graphics Processor: Mesa Intel® Arc
Manufacturer: Dell Inc.
Product Name: Inspiron 16 Plus 7640

ADDITIONAL INFORMATION
Comment 1 Oded Arbel 2024-10-29 10:36:26 UTC
Do you have a file called /etc/apt/keyrings/packages.mozilla.org.asc on your system, and if so - what does the output of `dpkg -S /etc/apt/keyrings/packages.mozilla.org.asc` shows?

That file should have been removed by the update of the neon-repositories-mozilla-firefox package from the KDE Neon noble repository.
Comment 2 3f15f7ea 2024-10-29 13:50:54 UTC
(In reply to Oded Arbel from comment #1)
> Do you have a file called /etc/apt/keyrings/packages.mozilla.org.asc on your
> system, and if so - what does the output of `dpkg -S
> /etc/apt/keyrings/packages.mozilla.org.asc` shows?
> 
> That file should have been removed by the update of the
> neon-repositories-mozilla-firefox package from the KDE Neon noble repository.

To correct the situation, I manually rolled back Mozilla's instructions. Everything updates fine now.

I don't remember if the file was there. Given I followed Mozilla's instructions, I would assume the file was there. I do remember removing sources and files.
Comment 3 Oded Arbel 2024-10-29 16:07:05 UTC
(In reply to 3f15f7ea from comment #2)
> I don't remember if the file was there. Given I followed Mozilla's
> instructions, I would assume the file was there. I do remember removing
> sources and files.

Could you possibly point to Mozilla's instructions? The reason I ask is that the /etc/apt/keyrings are coming from KDE Neon's neon-repositories-mozilla-firefox package, that is used to install a non-snap Firefox version. As far as I can tell Mozilla's installation instructions do not refer to that setup.
Comment 4 3f15f7ea 2024-10-31 01:41:51 UTC
(In reply to Oded Arbel from comment #3)
> (In reply to 3f15f7ea from comment #2)
> > I don't remember if the file was there. Given I followed Mozilla's
> > instructions, I would assume the file was there. I do remember removing
> > sources and files.
> 
> Could you possibly point to Mozilla's instructions? The reason I ask is that
> the /etc/apt/keyrings are coming from KDE Neon's
> neon-repositories-mozilla-firefox package, that is used to install a
> non-snap Firefox version. As far as I can tell Mozilla's installation
> instructions do not refer to that setup.

Before the update, I installed Firefox using these instructions.
https://support.mozilla.org/en-US/kb/install-firefox-linux

The update completed, but threw a warning to me about the error:
E: Conflicting values set for option Signed-By regarding source https://packages.mozilla.org/apt/ mozilla: /etc/apt/keyrings/packages.mozilla.org.asc != /etc/apt/keyrings/org.kde.neon.packages.mozilla.org.asc
E: The list of sources could not be read.

I would see that error or similar when performing an apt update. I manually rolled back what the steps on that page instructed to install, and the error went away.
Comment 5 Oded Arbel 2024-10-31 02:35:21 UTC
(In reply to 3f15f7ea from comment #4)
> Before the update, I installed Firefox using these instructions.
> https://support.mozilla.org/en-US/kb/install-firefox-linux

Well, there's the problem - the meta package neon-desktop causes the installation of the Neon package neon-repositories-mozilla-firefox - which does basically the same thing as the Firefox install instructions that you linked, except it generates slightly different file names. If you have both this and the files from the mozilla.org instructions - there's will be a conflict.

This isn't a bug - its what always happens when users try to follow manual instructions that conflict with something that the operating system does automatically.
Comment 6 3f15f7ea 2024-10-31 11:48:27 UTC
(In reply to Oded Arbel from comment #5)
> (In reply to 3f15f7ea from comment #4)
> > Before the update, I installed Firefox using these instructions.
> > https://support.mozilla.org/en-US/kb/install-firefox-linux
> 
> Well, there's the problem - the meta package neon-desktop causes the
> installation of the Neon package neon-repositories-mozilla-firefox - which
> does basically the same thing as the Firefox install instructions that you
> linked, except it generates slightly different file names. If you have both
> this and the files from the mozilla.org instructions - there's will be a
> conflict.
> 
> This isn't a bug - its what always happens when users try to follow manual
> instructions that conflict with something that the operating system does
> automatically.

I followed the instructions because the default repo wasn't giving me the latest. I performed several updates (apt update) before the upgrade without issue, months before the upgrade was published. There were no conflicts or errors until the Neon upgrade.

It's a non-fatal issue. I just wanted to make Neon team aware.