apt-get update "The following signatures were invalid..."
#10
Can't update here as well. I can't install curl (I get 404 Not found) so I tried using wget above but it makes no difference. I still get:

Code:
Err:1 http://repo.mobian-project.org bookworm InRelease The following signatures were invalid: EXPKEYSIG 951D61F2BC232697 Mobian Project <admin@mobian-project.org> Fetched 32.4 kB in 2s (20.5 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.mobian-project.org bookworm InRelease: The following signatures were invalid: EXPKEYSIG 951D61F2BC232697 Mobian Project <admin@mobian-project.org> W: Failed to fetch http://repo.mobian-project.org/dists/bookworm/InRelease The following signatures were invalid: EXPKEYSIG 951D61F2BC232697 Mobian Project <admin@mobian-project.org> W: Some index files failed to download. They have been ignored, or old ones used instead.

this page suggests to do:

Code:
$ apt-key --keyring=/etc/apt/trusted.gpg.d/mobian.gpg mobian.gpg

But that dosen't work either and complains of an unknown option.

I tried to delete the key "951D61F2BC232697" with apt-key del . I then ran apt update but no success .

Even tried copying the mobian.gpg file into /etc/apt/ and /etc/apt/trusted.gpg.d/ . Ran apt update but no success :-( .

I did also try the command apt-key update but got:

Code:
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). Warning: 'apt-key update' is deprecated and should not be used anymore! Note: In your distribution this command is a no-op and can therefore be removed safely.

The /etc/apt/sources.list just shows
Code:
deb http://deb.debian.org/debian bookworm main

Internet connection on my pinephone mobian is ok btw.

UPDATE: Since I don't have curl I found I had to manually download and copy a file in /var/lib/extrepo/keys as someone did above.

Code:
$ wget repo.mobian.org/mobian.gpg.key $ cp $HOME/mobian.gpg.key /var/lib/extrepo/keys/mobian.asc $ apt update

That worked for me to fix that error

*but*

Now apt seems to have many missing files:

Code:
$ apt-get dist-upgrade .. .. .. Err:1 http://deb.debian.org/debian bookworm/main arm64 libgnome-bg-4-1 arm64 42.0-2 404 Not Found [IP: 199.232.142.132 80] Err:2 http://deb.debian.org/debian bookworm/main arm64 libgnome-bluetooth-ui-3.0-13 arm64 42.0-5 404 Not Found [IP: 199.232.142.132 80] Err:3 http://deb.debian.org/debian bookworm/main arm64 libgnome-rr-4-1 arm64 42.0-2 404 Not Found [IP: 199.232.142.132 80] Err:4 http://deb.debian.org/debian bookworm/main arm64 libnma-gtk4-0 arm64 1.8.38-1 404 Not Found [IP: 199.232.142.132 80] Err:5 http://deb.debian.org/debian bookworm/main arm64 libsnapd-glib1 arm64 1.59-3 .. .. ..

No matter how many times I try apt update I get these errors :-( .

ljones
  Reply


Messages In This Thread
RE: apt-get update "The following signatures were invalid..." - by ljones - 07-23-2022, 01:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  No touch KB after update(forky) biketool 4 2,891 12-05-2025, 01:15 AM
Last Post: biketool
  trixie update poll questions suggestions j_s 5 3,418 10-22-2025, 07:14 AM
Last Post: anonymous
  how to update mobian over tor vusra 14 20,964 12-04-2024, 07:01 PM
Last Post: vusra
  Wifi doesn't work after update nickolas 2 4,975 04-14-2023, 10:07 AM
Last Post: nickolas
  PinePhone won't boot after software update jb2000 2 5,158 03-17-2023, 07:26 AM
Last Post: Zebulon Walton
Exclamation Impossible to login since the latest update anonymous 12 17,428 02-26-2023, 01:01 PM
Last Post: anonymous
Exclamation The latest update of eg25-manager seems to cause frequent disconnections anonymous 12 14,533 11-28-2022, 03:30 PM
Last Post: anonymous
  Wifi issue since last update and held back updates goku499 11 16,335 09-21-2022, 02:39 PM
Last Post: Katsujinken
  [SOLVED] Lost Internet connectivity after recent update drh 3 5,703 09-11-2022, 09:24 PM
Last Post: Katsujinken
  Rescue Your Mobian post Update Aug22 faster fix to working guide biketool 9 14,755 09-05-2022, 12:10 AM
Last Post: biketool

Forum Jump:


Users browsing this thread: 2 Guest(s)