Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Failed to fetch http://dl.google.com Update Problem


  • Please log in to reply
8 replies to this topic

#1 pcpunk

pcpunk

  • Members
  • 5,858 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Florida
  • Local time:11:45 AM

Posted 10 March 2016 - 12:31 PM

Anyone else having this issue?

 

Here is the Error:

Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release  Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
Some index files failed to download. They have been ignored, or old ones used instead.
 
This is the command used to fix, but apparently it is only temporary as seem by the Error again today.  This is from webu8:
sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/etc/apt/sources.list.d/google-chrome.list"
I could see in Update Manager it was changed, and included the "[arch=amd64] http" but back to what it was previously.
 
Seem to be able to Update Chrome just getting the Error, running: Version 49.0.2623.75 (64-bit)
 
I take it the above file will have to be modified, this is what it shows now:
 
EDIT: After reading more it seems this is a Google Chrome issue and will be fixed at some point, do you guys agree?
 
Thanks, pcpunk

sBCcBvM.png

Created by Mike_Walsh

 

KDE, Ruler of all Distro's

eps2.4_m4ster-s1ave.aes_pcpunk_leavemehere

 


BC AdBot (Login to Remove)

 


#2 Guest_PCNetSpec_*

Guest_PCNetSpec_*

  • Guests
  • OFFLINE
  •  

Posted 10 March 2016 - 01:24 PM

That will only fix the problem for 64bit users, and only temporarily as a cronjob will overwrite /etc/apt/sources.list.d/google-chrome.list on a daily basis.

 

You also need to edit the cronjob with:

sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/opt/google/chrome/cron/google-chrome"

or combine the two commands into one with:

sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/etc/apt/sources.list.d/google-chrome.list" && sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/opt/google/chrome/cron/google-chrome"

It also can't hurt to edit the sources backup if it exists with:

sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/etc/apt/sources.list.d/google-chrome.list.save"

==============================================

 

32bit users should delete both

/etc/apt/sources.list.d/google-chrome.list

and

/opt/google/chrome/cron/google-chrome

as there is no longer a 32bit version of Chrome.


Edited by PCNetSpec, 10 March 2016 - 01:25 PM.


#3 DeimosChaos

DeimosChaos

  • BC Advisor
  • 1,420 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:United States, Delaware

Posted 10 March 2016 - 01:34 PM

I just have to say, thank you PCNetSpec for using the 'sed' command do update a file, rather than doing the generic open vim/gedit/whatever editor to edit the line. I love sed and have used it for many things!

 

Anyway, looks like PCNetSpec has hopefully solved your problem pcpunk! I didn't have an answer anyway, just wanted to comment on the use of sed! :P


OS - Ubuntu 14.04/16.04 & Windows 10
Custom Desktop PC / Lenovo Y580 / Sager NP8258 / Dell XPS 13 (9350)
_____________________________________________________
Bachelor of Science in Computing Security from Drexel University
Security +


#4 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 13,250 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:11:45 AM

Posted 10 March 2016 - 04:07 PM

@ PCpunk

 

This started yesterday on my PC. Use the fix PCNetSpec provided.


Arch Linux .
 
 Come join the fun, chat to Bleeping computer members and staff in real time on Discord.
 
The BleepingComputer Official Discord Chat Server!


#5 Guest_GNULINUX_*

Guest_GNULINUX_*

  • Guests
  • OFFLINE
  •  

Posted 10 March 2016 - 04:35 PM

Google removed support for Chrome 32bit (x86-i386) and broke the update source while doing that...

They (Google) will probably fix this in the (near) future!

 

PCNetSpec reported it here on March 3, 2016 and fixed it.  :thumbup2: 

 

Greets!



#6 pcpunk

pcpunk
  • Topic Starter

  • Members
  • 5,858 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Florida
  • Local time:01:45 AM

Posted 10 March 2016 - 09:43 PM

Thanks so much guys, and especially PCNetSpec!  Now can also tidy up my 32bit LXLE.  

 

Question: If the above fix was not done, would the Google Chrome fix achieve basically the same thing but maybe in a different way?


sBCcBvM.png

Created by Mike_Walsh

 

KDE, Ruler of all Distro's

eps2.4_m4ster-s1ave.aes_pcpunk_leavemehere

 


#7 Guest_PCNetSpec_*

Guest_PCNetSpec_*

  • Guests
  • OFFLINE
  •  

Posted 11 March 2016 - 04:58 PM

Google have now fixed this in the 64bit package .. the latest .deb from the Google website or repo contains the relevant edits to

/etc/apt/sources.list.d/google-chrome.list

and

/opt/google/chrome/cron/google-chrome

 

===========================================

 

32bit Chrome users should delete these 2 files

/etc/apt/sources.list.d/google-chrome.list

and

/etc/cron.daily/google-chrome

(which is a symlink to the file I mentioned previously .. it's enough to just remove the symlink, but don't panic it won't hurt if you've already removed the file I mentioned previously, either method works)


Edited by PCNetSpec, 11 March 2016 - 05:02 PM.


#8 pcpunk

pcpunk
  • Topic Starter

  • Members
  • 5,858 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Florida

Posted 12 March 2016 - 01:33 PM

Thanks again Mark!


sBCcBvM.png

Created by Mike_Walsh

 

KDE, Ruler of all Distro's

eps2.4_m4ster-s1ave.aes_pcpunk_leavemehere

 


#9 Guest_PCNetSpec_*

Guest_PCNetSpec_*

  • Guests
  • OFFLINE
  •  

Posted 13 March 2016 - 04:47 PM

No problem mate :)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users