Corrupted Repo?.....

Tony Molloy tony.molloy at ul.ie
Thu Sep 13 07:00:08 UTC 2012


On Thursday 13 September 2012 06:17:07 Eddie G. O'Connor Jr. wrote:
> On 09/13/2012 01:07 AM, Ed Greshko wrote:
> > On 09/13/2012 01:06 PM, Eddie G. O'Connor Jr. wrote:
> >> On 09/12/2012 11:01 PM, Ed Greshko wrote:
> >>> On 09/13/2012 10:50 AM, Ed Greshko wrote:
> >>>> That URL for a google repository doesn't look right....  Where
> >>>> did you get it?
> >>>>
> >>>> The ones I have for Chrome and Google-Earth are....
> >>>>
> >>>> http://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/r
> >>>>epomd.xml and
> >>>> http://dl.google.com/linux/earth/rpm/stable/x86_64/repodata/re
> >>>>pomd.xml
> >>>
> >>> More importantly....  In the .repo files .....
> >>>
> >>> baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
> >>> baseurl=http://dl.google.com/linux/earth/rpm/stable/x86_64
> >>
> >> Thats just it...I DON'T know where they came from....I've just
> >> been doing my updates regularly....haven't touched anything that
> >> might alter that.....could this be a bad thing?....like
> >> intrusion?....(I know I sound like a Windows user!....)
> >
> > The repo files should all be in /etc/yum.repos.d/.
> >
> > Find the one that has dl.google.com in it and post it here.....
> 
> Thanks for the quick responses guys! Here's what I got going to:
> 
> [Google]
> name=Google - i386
> baseurl=http://dl.google.com/linux/rpm/stable/i386
> enabled=1
> gpgcheck=1
> gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
> 
> I don't know how this stuff got here or how it got placed as the
>  "main" repo...
> 
> 
> EGO II
> 

You probably installed google-chrome or google-earth at some time. The 
installation process installs those repo files in /etc/yum.repos.d and 
sets them to enabled by default.


Heres a working google.repo file


google.repo

[google]
name=Google - $basearch
baseurl=http://dl.google.com/linux/rpm/stable/$basearch
enabled=0
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
priority=50

[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=0
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
priority=50

[google-earth]
name=google-earth
baseurl=http://dl.google.com/linux/earth/rpm/stable/$basearch
enabled=0
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
priority=50


It works for both i686 and x86_64  systems. It has the repos disabled 
by default and uses the priority yum plugin.
Install it as /etc/yum.repos.d/google.repo.

Also the google repos were down for a period recently.

Tony


More information about the users mailing list