I've just upgraded my pi4 from Bookworm to Trixie, although it's not recommended. Fortunately, everything is ok except a problem of apt. It seems the sources.list is not correct as I got an error message when I run command apt update, if I switch on the source
formatting link
trixie main
I'm not sure if Trixie doesn't have this source or the source is not correct?
Didn't find your answer? Ask the community — no account required.
D
druck
If you've made a mistake in this file, you haven't actually upgraded anything yet.
---druck
A
attend
Thanks for your reply. I got the error message after I upgraded my system.
Nobody here is telepathic, so you’re going to have to say what the error message is.
A
attend
Thanks for your reply. I was thinking it could be a problem in my sources.list, but it's useful to show the error messages and my sources.list as you said.
Sources.list:
deb
formatting link
trixie main contrib non-free rpi deb
formatting link
trixie main # Uncomment line below then 'apt-get update' to enable 'apt-get source' #deb-src
formatting link
trixie main contrib non-free rpi
Error message:
@rpi4:/etc/apt# apt update Hit:1
formatting link
trixie InRelease Get:2
formatting link
trixie InRelease [54.8 kB] Err:2
formatting link
trixie InRelease Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key CF8A1AF502A2AA2D763BAE7E82B129927FA3303E, which is needed to verify signature. Hit:3
formatting link
any InRelease Warning: OpenPGP signature verification failed:
formatting link
trixie InRelease: Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key CF8A1AF502A2AA2D763BAE7E82B129927FA3303E, which is needed to verify signature. Error: The repository '
formatting link
trixie InRelease' is not signed. Notice: Updating from such a repository can't be done securely, and is therefore disabled by default. Notice: See apt-secure(8) manpage for repository creation and user configuration details.
I replaced bookworm to trixie in file sources.list when I upgraded my system. The error message came out after upgrade completed.
The most possible reason could be the signature need to be updated for the source
formatting link
trixie InRelease , but I jsut want to check if it is correct first.
S
s|b
Bookworm is still good until June 30th, 2028, is it not?
T
The Natural Philosopher
If you are not on the internet nor likely to load any further code on it, its good forever...
R
Richard Kettlewell
What do the following output?
dpkg --audit
dpkg -l libc6 raspberrypi-archive-keyring
A
attend
Thanks for your reply. I just downloaded a fresh installation pack from
formatting link
And copied the files in folders /etc/apt/sources.list.d and /usr/share/keyrings$ of this package to my pi4. Then there is no error message when I update my system. Hopefully I can receive updates again in the next few days.
Comparing to previous version, pgp files are updated and the website changed from org to com.
Current pgp files in /usr/share/keyrings folder are as listed below: