Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3383

General Questions • [Software] [Solved] Lost keyrings - unable to update

$
0
0
Hi,

A few weeks ago I installed Firefox (non-ESR version). Since then, Debian Bookworm has not been able to do any updating. Whenever I open Synaptic an error dialog appears containing the following text.

Code:

E: Conflicting values set for option Signed-By regarding source https://packages.mozilla.org/apt/ mozilla: /usr/share/keyrings/packages.mozilla.org.gpg != /etc/apt/keyrings/packages.mozilla.org.ascE: The list of sources could not be read.E: _cache->open(0 failed, cannot continue.
I have had a look inside usr/share/keyrings/ and found that there is not(!) a file called "packages.mozilla.org.gpg". I have also looked inside /etc/apt/keyrings/packages/ and found that that there is(!) a file called "packages.mozilla.org.asc".
Is file /usr/share/keyrings/packages.mozilla.org.gpg supposed to have the same contents as file /etc/apt/keyrings/packages.mozilla.org.asc ? If so, to fix this error, is it simply a case of copying /etc/apt/keyrings/packages.mozilla.org.asc to /usr/share/keyrings/ and renaming it as packages.mozilla.org.gpg ?

My /etc/apt/sources.list file contains the following.

Code:

# deb cdrom:[Official Debian GNU/Linux Live 12.5.0 kde 2024-02-10T11:07:25Z]/ bookworm main non-free-firmware deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware deb-src http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmwaredeb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware deb-src http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmwaredeb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware deb-src http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmwaredeb http://deb.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware deb-src http://deb.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
So that seems in the clear. I have also had a look in /etc/apt/sources.list.d where I found a file called "mozilla.list" This file contains the following.

Code:

deb [signed-by=/usr/share/keyrings/packages.mozilla.org.gpg] https://packages.mozilla.org/apt/ mozilla main deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt/ mozilla main 
Are there supposed to be two(!) keyrings in this file ? If not, which one do I delete ?

EDIT: i get the same error message when I open Discover. In fact, I have eight(!) of those, and climbing, apparently.

Stuart

Statistics: Posted by Stuarte — 2025-01-04 11:25 — Replies 5 — Views 107



Viewing all articles
Browse latest Browse all 3383

Trending Articles