Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
unable to update via terminal
unable to update via terminal
Hi guys,
Every time I run the command "sudo apt-get update" I get the following message:
N: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Version' value from '10.2' to '10.3'
E: Release file for http://deb.debian.org/debian/dists/bust ... /InRelease is not valid yet (invalid for another 6h 29min 42s). Updates for this repository will not be applied.
E: Release file for http://security.debian.org/debian-secur ... /InRelease is not valid yet (invalid for another 7h 59min 11s). Updates for this repository will not be applied
I have tried this for several months now and it's always the same. Does anyone know why? Do you need to change anything in sources.list?
Thanks | froda
Every time I run the command "sudo apt-get update" I get the following message:
N: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Version' value from '10.2' to '10.3'
E: Release file for http://deb.debian.org/debian/dists/bust ... /InRelease is not valid yet (invalid for another 6h 29min 42s). Updates for this repository will not be applied.
E: Release file for http://security.debian.org/debian-secur ... /InRelease is not valid yet (invalid for another 7h 59min 11s). Updates for this repository will not be applied
I have tried this for several months now and it's always the same. Does anyone know why? Do you need to change anything in sources.list?
Thanks | froda
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
Re: unable to update via terminal
What does your sources list say?
As Root
Copy and Paste the result here.
If you click on the blue links above they lead to GPG keys.
As Root
Code: Select all
cat /etc/apt/sources.list
If you click on the blue links above they lead to GPG keys.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: unable to update via terminal
Tryfroda wrote:Code: Select all
(invalid for another 6h 29min 42s)
Code: Select all
timedatectl set-ntp on
deadbang
- sunrat
- Administrator
- Posts: 6495
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 476 times
Re: unable to update via terminal
Shouldn't need to be root for that. But yes, we need to see sources.list.
(invalid for another 6h 29min 42s)
10.3 was only released yesterday, maybe waiting would help. Although it doesn't explain why it hasn't been working for several months.
That said, I did dist-upgrade last night which pulled in 50 packages including a new kernel, which is the 10.3 upgrade. That was about 10 hours ago.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: unable to update via terminal
Somehow I think that HOAS has the right idea, and the OP's machine's time is incorrect.
MX Linux packager and developer
Re: unable to update via terminal
my sources.list looks like this:
#
# deb cdrom:[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 DVD Binary-1 20190908-01:09]/ buster contrib main
# deb cdrom:[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 DVD Binary-1 20190908-01:09]/ buster contrib main
deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main
deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main
# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main
deb-src http://deb.debian.org/debian/ buster-updates main
#
# deb cdrom:[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 DVD Binary-1 20190908-01:09]/ buster contrib main
# deb cdrom:[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 DVD Binary-1 20190908-01:09]/ buster contrib main
deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main
deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main
# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main
deb-src http://deb.debian.org/debian/ buster-updates main
Re: unable to update via terminal
today my attempt to update looks like this:
Hit:1 http://deb.debian.org/debian buster InRelease
Ign:2 http://linux.dropbox.com/debian buster InRelease
Ign:3 http://dl.google.com/linux/earth/deb stable InRelease
Get:4 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:5 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:6 http://linux.dropbox.com/debian buster Release [6,600 B]
Get:7 http://dl.google.com/linux/earth/deb stable Release [933 B]
Get:8 http://dl.google.com/linux/earth/deb stable Release.gpg [819 B]
Err:8 http://dl.google.com/linux/earth/deb stable Release.gpg
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD13
Reading package lists... Done
E: Release file for http://security.debian.org/debian-secur ... /InRelease is not valid yet (invalid for another 6h 32min 1s). Updates for this repository will not be applied.
E: Release file for http://deb.debian.org/debian/dists/bust ... /InRelease is not valid yet (invalid for another 7h 22min 52s). Updates for this repository will not be applied.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/earth/deb stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD13
Hit:1 http://deb.debian.org/debian buster InRelease
Ign:2 http://linux.dropbox.com/debian buster InRelease
Ign:3 http://dl.google.com/linux/earth/deb stable InRelease
Get:4 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:5 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:6 http://linux.dropbox.com/debian buster Release [6,600 B]
Get:7 http://dl.google.com/linux/earth/deb stable Release [933 B]
Get:8 http://dl.google.com/linux/earth/deb stable Release.gpg [819 B]
Err:8 http://dl.google.com/linux/earth/deb stable Release.gpg
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD13
Reading package lists... Done
E: Release file for http://security.debian.org/debian-secur ... /InRelease is not valid yet (invalid for another 6h 32min 1s). Updates for this repository will not be applied.
E: Release file for http://deb.debian.org/debian/dists/bust ... /InRelease is not valid yet (invalid for another 7h 22min 52s). Updates for this repository will not be applied.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/earth/deb stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD13
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: unable to update via terminal
Head_on_a_Stick wrote:TryCode: Select all
timedatectl set-ntp on
deadbang
Re: unable to update via terminal
Hi Head_on_Stick
I'm not sure what you mean by that, but I think I got it right because I only get error messages for signatures could not be verified because the public key is not available for google earth. Do I need to enter that command before updating every time?
Thanks
froda
I'm not sure what you mean by that, but I think I got it right because I only get error messages for signatures could not be verified because the public key is not available for google earth. Do I need to enter that command before updating every time?
Thanks
froda
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: unable to update via terminal
You have two errors now and yes, the second error is because of Google's key. The first error is because your system clock is wrong; read
to find out what my command does. You should always do that before running commands you do not understand.
And no, you shouldn't have to run it more than once.
Code: Select all
man timedatectl
And no, you shouldn't have to run it more than once.
deadbang
- None1975
- df -h | participant
- Posts: 1410
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 46 times
- Been thanked: 70 times
Re: unable to update via terminal
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github