gce_debian_mirror: 403 Forbidden

672 views
Skip to first unread message

Kai Bolay

unread,
Sep 2, 2018, 3:51:23 PM9/2/18
to gce-discussion
I've just tried to update my machine, but it looks like the GCE mirrors are having a problem:

kbolay@vps:~$ sudo apt-get update  
Hit http://security.debian.org jessie/updates InRelease
Hit http://ftp.debian.org jessie-backports InRelease                                                                  
Ign http://gce_debian_mirror.storage.googleapis.com jessie InRelease    
Ign http://http.debian.net jessie InRelease                                            
Hit http://http.debian.net jessie Release.gpg                                                
Ign http://gce_debian_mirror.storage.googleapis.com jessie Release.gpg                      
Get:1 http://ftp.debian.org jessie-backports/main amd64 Packages/DiffIndex [27.8 kB]        
Hit http://security.debian.org jessie/updates/main Sources                                            
Hit http://security.debian.org jessie/updates/main amd64 Packages                                      
Hit http://security.debian.org jessie/updates/main Translation-en                                                      
Hit http://http.debian.net jessie Release                                                                              
Ign http://gce_debian_mirror.storage.googleapis.com jessie Release  
Get:2 http://ftp.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]        
Ign http://gce_debian_mirror.storage.googleapis.com jessie/main Sources/DiffIndex      
Hit http://http.debian.net jessie/main Sources                        
Hit http://http.debian.net jessie/main amd64 Packages              
Ign http://gce_debian_mirror.storage.googleapis.com jessie/main amd64 Packages/DiffIndex
Hit http://http.debian.net jessie/main Translation-en              
Ign http://gce_debian_mirror.storage.googleapis.com jessie/main Translation-en_US
Ign http://gce_debian_mirror.storage.googleapis.com jessie/main Translation-en
Err http://gce_debian_mirror.storage.googleapis.com jessie/main Sources
 403  Forbidden
Err http://gce_debian_mirror.storage.googleapis.com jessie/main amd64 Packages
 403  Forbidden
Fetched 55.6 kB in 5s (10.9 kB/s)
W: Failed to fetch http://gce_debian_mirror.storage.googleapis.com/dists/jessie/main/source/Sources  

W: Failed to fetch http://gce_debian_mirror.storage.googleapis.com/dists/jessie/main/binary-amd64/Packages  403  Forbidden

E: Some index files failed to download. They have been ignored, or old ones used instead.

kbolay@vps:~$ cat /etc/apt/sources.list
deb     http://gce_debian_mirror.storage.googleapis.com/ jessie         main
deb-src http://gce_debian_mirror.storage.googleapis.com/ jessie         main
deb     http://http.debian.net/debian jessie         main
deb-src http://http.debian.net/debian jessie         main
deb     http://security.debian.org/   jessie/updates main
deb-src http://security.debian.org/   jessie/updates main
kbolay@vps:~$ ll /etc/apt/sources.list.d/
total 4
-rw-r--r-- 1 root root 55 Jul 11  2016 jessie-backports.list
kbolay@vps:~$ cat /etc/apt/sources.list.d/jessie-backports.list  
deb http://ftp.debian.org/debian jessie-backports main

Karthick (Cloud Platform Support)

unread,
Sep 3, 2018, 7:02:54 PM9/3/18
to gce-discussion
Hello,

I suspect you could be running in to this issue. I suggest you to run this below command and let me know of the result :

- sudo -s

- # curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -

- # apt-get update

Kai Bolay

unread,
Sep 3, 2018, 10:47:05 PM9/3/18
to knanj...@google.com, gce-discussion
Hi Karthick!

I don't think that issue is related. 

kbolay@vps:~$ sudo -s 
root@vps:/home/kbolay# curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
OK
root@vps:/home/kbolay# apt-get update
[...]
Err http://gce_debian_mirror.storage.googleapis.com jessie/main Sources
 403  Forbidden
Err http://gce_debian_mirror.storage.googleapis.com jessie/main amd64 Packages
 403  Forbidden
[...]

So the key was properly (re-)installed. But I'm still getting "403 Forbidden" responses from the web server. Anyway, AFAIK the apt key is used to verify packages after they are downloaded. But the error prevents any downloads. I think the web server at http://gce_debian_mirror.storage.googleapis.com/ is misconfigured.

  Thanks, Kai


--
© 2018 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-dis...@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to the Google Groups "gce-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gce-discussio...@googlegroups.com.
To post to this group, send email to gce-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/0cd0bd91-dbb5-4824-9a2e-737ef77f6eba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Zach Marano

unread,
Sep 4, 2018, 12:32:40 PM9/4/18
to gce-discussion
The old mirror (gce_debian_mirror.storage.googleapis.com) that you were referencing is no longer maintained. Please switch to deb.debian.org.
Reply all
Reply to author
Forward
0 new messages