Linux repositories are not working

105 views
Skip to first unread message

balaji

unread,
Jul 11, 2007, 3:04:17 AM7/11/07
to Google Linux Repositories Help - Google Linux Repositories Basics
The link provided on the Google Linux Repositories page:

http://dl.google.com/linux/deb/ doesn't work.

It seems that this URL is no longer available for Google Linux. Can
someone please help to update this information?

Kindly make sure that the repositories don't stop working, unless all
repositories are moved officially to the respective distributor's
repos.

I am an Ubuntu 7.04 user and would like to use Google repos for
getting official Google software.

Kindly help.

Balaji

^!^.SkyWalker

unread,
Jul 12, 2007, 2:06:18 AM7/12/07
to Google Linux Repositories Help - Google Linux Repositories Basics
You can see the web: http://www.google.com/linuxrepositories/ubuntu704.html
or
http://www.google.com/linuxrepositories/apt.html

On 7月11日, 下午3时04分, balaji wrote:
> The link provided on the Google Linux Repositories page:
>

> http://dl.google.com/linux/deb/doesn't work.

balaji

unread,
Jul 15, 2007, 2:22:05 PM7/15/07
to Google Linux Repositories Help - Google Linux Repositories Basics
Note that on these pages, there is the following line:

>>>Add the following rule to e.g. /etc/apt/sources.list, or if your distro has the /etc/apt/sources.list.d/ directory, add it to a file called google.list in that directory:

# Google software repository
deb http://dl.google.com/linux/deb/ stable non-free
>>>

The link http://dl.google.com/linux/deb does not exist. This is what I
meant by saying that the repositories don't work.

Please check this and let me know. Upon the following command:

$ sudo apt-get update

It fails to download any package information from the link provided
above: http://dl.google.com/linux/deb

Please fix this ASAP.

Balaji

On Jul 12, 11:06 am, ^!^.SkyWalker wrote:
> You can see the web: http://www.google.com/linuxrepositories/ubuntu704.html

> orhttp://www.google.com/linuxrepositories/apt.html

MichaelM

unread,
Jul 16, 2007, 3:10:50 AM7/16/07
to Google Linux Repositories Help - Google Linux Repositories Basics
> The linkhttp://dl.google.com/linux/debdoes not exist. This is what I

> meant by saying that the repositories don't work.
>
> Please check this and let me know. Upon the following command:
>
> $ sudo apt-get update
>
> It fails to download any package information from the link provided
> above:http://dl.google.com/linux/deb

The repository directories can't be browsed, so it you try to go to
http://dl.google.com/linux/deb/ (or any other directory), it gives a
404 error. But there are files under there, which can be accessed
directly. For instance, if you can access http://dl.google.com/linux/deb/dists/stable/Release,
the repositories are working fine, and there is something else going
wrong. Is apt giving you any error messages? What distribution and
platform are you on?

Michael

balaji

unread,
Jul 16, 2007, 4:09:53 AM7/16/07
to Google Linux Repositories Help - Google Linux Repositories Basics

hi michael,
i'm replying from office on my cellphone. yes there is an error
message and i shall tell u abt that later in the evening.

can u pls tell me what all packages are in this repo?

thanks,
balaji

balaji

unread,
Jul 24, 2007, 10:29:57 PM7/24/07
to Google Linux Repositories Help - Google Linux Repositories Basics
Hi Michael,

I can't access the file http://dl.google.com/linux/deb/dists/stable/Release
.

If I execute

$ sudo apt-get update

The last few lines say:

Failed to fetch http://dl.google.com/linux/deb/dists/stable/non-free/binary-i386/Packages.bz2
Sub-process bzip2 returned an error code (2)
Failed to fetch http://dl.google.com/linux/deb/dists/stable/non-free/binary-i386/Packages.bz2
Sub-process bzip2 returned an error code (2)
Failed to fetch http://dl.google.com/linux/deb/dists/stable/non-free/binary-i386/Packages.bz2
Sub-process bzip2 returned an error code (2)
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old
ones used instead.


This is where the error comes in.

Please help.

Thanks,
Balaji

On Jul 16, 1:09 pm, balaji wrote:
> MichaelM wrote:
> > > The linkhttp://dl.google.com/linux/debdoesnot exist. This is what I


> > > meant by saying that the repositories don't work.
>
> > > Please check this and let me know. Upon the following command:
>
> > > $ sudo apt-get update
>
> > > It fails to download any package information from the link provided
> > > above:http://dl.google.com/linux/deb
>
> > The repository directories can't be browsed, so it you try to go to

> >http://dl.google.com/linux/deb/(or any other directory), it gives a


> > 404 error. But there are files under there, which can be accessed

> > directly. For instance, if you can accesshttp://dl.google.com/linux/deb/dists/stable/Release,

MichaelM

unread,
Jul 24, 2007, 11:26:32 PM7/24/07
to Google Linux Repositories Help - Google Linux Repositories Basics
On Jul 24, 7:29 pm, balaji wrote:
> Hi Michael,
>
> I can't access the filehttp://dl.google.com/linux/deb/dists/stable/Release

Hmmm. Where you are coming from? Can you access any of the other files
referenced in the repository docs? For instance, what happens if you
run:
curl https://dl-ssl.google.com/linux/linux_signing_key.pub

or:
curl http://dl.google.com/linux/google-repo-setup.sh

Michael

balaji

unread,
Jul 26, 2007, 12:38:19 PM7/26/07
to Google Linux Repositories Help - Google Linux Repositories Basics
Hi Michael,

I come from India.

The curl commands you have mentioned result in the files being
downloaded and displayed. I get to see the signing key and the repo-
setup shell script.

But the repositories don't work.

I have tried

$ sudo apt-get install

and still it doesn't work.

Thanks,
Balaji

MichaelM

unread,
Jul 26, 2007, 2:31:18 PM7/26/07
to Google Linux Repositories Help - Google Linux Repositories Basics
This is very unusual. There should be no reason why you can get some
files but not others. Can you also test manually getting the files
that 'apt-get update' was complaining about? Try running:

wget http://dl.google.com/linux/deb/dists/stable/non-free/binary-i386/Packages.bz2

If that works, then check that the file has meaningful content by
running:

bzcat Packages.bz2

You should see some information about the packages in the repository
(google-desktop-linux and picasa). If that all works, but 'apt-get
update' still gives you errors, then I think there might be something
wrong with your apt configuration, although off the top of my head, I
don't know what it might be.

As one more test, you can also try fetching a package manually, by
running:

wget http://dl.google.com/linux/deb/pool/non-free/g/google-desktop-linux/google-desktop-linux_1.0.2.0061_i386.deb

If that works, then there's really no good reason why apt should be
complaining because all the files you need are accessible to you.
Might you have a proxy or firewall that is messing with the requests
from apt (or that apt should be using but isn't)?

Michael

balaji

unread,
Jul 28, 2007, 4:51:01 AM7/28/07
to Google Linux Repositories Help - Google Linux Repositories Basics
Michael,

I can get all the files that you mentioned. I in fact, even got the
debian package!!

When I do an apt-get update, I get an error from bzip2. When I look
for bzip2 --help, it says that the default action of bzip2 is to
compress and it is only bunzip2 that decompresses. Has this got
something to do with my problem?

Is usually, what is downloaded from other repositories also a bz2
file? I hope apt is doing the same thing with this file too.

There is no firewall or anything on my machine right now. I am not
using any proxies either. I only have a simple ADSL model with a DHCP
broadband connection. (Actually in India even 256kBps is broad!!)

But there is something queer that is happening. Yesterday I got an
upgrade notification asking me to upgrade Google desktop. And I
ugraded it!

Please help me with this. I want to use the apt repos properly so that
any new packages could be installed easily.

Thanks
Balaji

On Jul 26, 11:31 pm, MichaelM wrote:
> This is very unusual. There should be no reason why you can get some
> files but not others. Can you also test manually getting the files
> that 'apt-get update' was complaining about? Try running:
>

> wgethttp://dl.google.com/linux/deb/dists/stable/non-free/binary-i386/Pack...


>
> If that works, then check that the file has meaningful content by
> running:
>
> bzcat Packages.bz2
>
> You should see some information about the packages in the repository
> (google-desktop-linux and picasa). If that all works, but 'apt-get
> update' still gives you errors, then I think there might be something
> wrong with your apt configuration, although off the top of my head, I
> don't know what it might be.
>
> As one more test, you can also try fetching a package manually, by
> running:
>

> wgethttp://dl.google.com/linux/deb/pool/non-free/g/google-desktop-linux/g...

MichaelM

unread,
Jul 31, 2007, 2:23:09 PM7/31/07
to Google Linux Repositories Help - Google Linux Repositories Basics
I'm stumped. It definitely looks like something peculiar to your apt.
By any chance, do you have access to another machine (or even a
virtual machine) which you can test on the same network? If another
machine works, that should rule out any problems with network
firewalls or proxies. You can also try to "clean up" your apt
environment and see if that helps.

sudo apt-get clean
sudo apt-get update

I don't hold out hope for that doing much, but it's the safest place
to start. If that doesn't work, then you can do some more manual
cleaning, like this:

sudo find /var/lib/apt -type f -exec rm '{}' \;
sudo apt-get update

If that still doesn't work, you might need to tweak some stuff in /etc/
apt/, but that's a bit beyond what I can help with.

Michael

Reply all
Reply to author
Forward
0 new messages