Friday, December 24, 2010

google chrome does not update on ubuntu

deb http://dl.google.com/linux/deb/ stable main

Failed to fetch http://dl.google.com/linux/deb/dists/stable/Release  Unable to find expected entry  main/source/Sources in Meta-index file (malformed Release file?)
Some index files failed to download, they have been ignored, or old ones used instead.

It's apparently a problem with pipelining and the google servers.  See this Ubuntu bug for more information and a workaround.

https://bugs.launchpad.net/ubuntu/+source/apt/+bug/528925
http://www.google.com/support/forum/p/Chrome/thread?tid=602abde8e95cf067&hl=en

http://www.google.com/linuxrepositories/apt.html

Those directions no longer seem to work. http://dl.google.com/linux/ Seems to have been removed. Can anyone from Google confirm this?


As a workaround adding

Acquire::http::Pipeline-Depth "0";

to to a file in /etc/apt/apt.conf.d/ fixes the problem for me.
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/528925


But, the following 2 hits happen in less than a second:
  Get:2 http://dl.google.com stable Release [2,540B]
  Get:3 http://dl.google.com stable/main Packages [916

deb http://dl.google.com/ stable main
Failed to fetch http://dl.google.com/dists/stable/main/binary-i386/Packages.gz  404  Not Found [IP: 209.85.153.91 80]
Some index files failed to download, they have been ignored, or old ones used instead.

sudo aptitude update
E: Malformed line 43 in source list /etc/apt/sources.list (dist parse)
E: Malformed line 43 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.
E: Malformed line 43 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.
E: Malformed line 43 in source list /etc/apt/sources.list (dist parse)
E: Couldn't read list of package sources

No comments:

Post a Comment