network was overloaded
My guess: The network was overloaded for this task on Saturday. The update was new and probably a lot of people tried to do it at the same time.
what i did
maybe there is no causal connection with what I did yesterday. Maybe yes. I did the following:
Freed up 50 GB more hard drive space. Were before maybe 10 GB free.
Try to remove GitHub CLI and the public key of it:
sudo apt-key list
/etc/apt/trusted.gpg
--------------------
pub rsa4096 2022-09-06 [SC] [expires: 2024-09-06]
2C61 0620 1985 B60E 6C7A C873 23F3 D4EA 7571 6059
uid [ unknown] GitHub CLI <opensource+cli@github.com>
sub rsa4096 2022-09-06 [E] [expires: 2024-09-06]
sudo apt-key del 23F3D4EA75716059
OK
read https://askubuntu.com/a/1407703/1017209 then:
sudo apt-key del "2C61 0620 1985 B60E 6C7A C873 23F3 D4EA 7571 6059"
OK
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 23F3D4EA75716059
Executing: /tmp/apt-key-gpghome.fW5y5VuWvv/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 23F3D4EA75716059
gpg: key 23F3D4EA75716059: public key "GitHub CLI <opensource+cli@github.com>" imported
gpg: Total number processed: 1
gpg: imported: 1
But message still the same:
sudo apt update
Err:1 https://cli.github.com/packages stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23F3D4EA75716059
Next Day
maybe there is no causal connection:
have video chat(jitsi), wrote emails(webmail), played an open source game(0ad), took a walk, was sleeping(Sat to Son). I woke up and when I switched on the computer I immediately clicked on upgrade again (this time it went through without an error message, without interruption).



the time taken was: 32 Minutes (11:39 - 11:07 at Sunday 11th Dec. 2022 )