Page 1 of 1

[MAQeia] Add Google Apps repositories in Mageia

PostPosted: Jul 22nd, '12, 01:53
by fraterlinux
Repository:

google-chrome:

Code: Select all
# urpmi.addmedia --update google-chrome http://dl.google.com/linux/chrome/rpm/stable/$(uname -m | sed -e "s/i.86/i386/")


google-earth

Code: Select all
# urpmi.addmedia --update google-earth http://dl.google.com/linux/earth/rpm/stable/$(uname -m | sed -e "s/i.86/i386/")


google-music-manager

Code: Select all
# urpmi.addmedia --update google-music http://dl.google.com/linux/musicmanager/rpm/stable/$(uname -m | sed -e "s/i.86/i386/")


google-talkplugin

Code: Select all
# urpmi.addmedia --update google-talkplugin http://dl.google.com/linux/talkplugin/rpm/stable/$(uname -m | sed -e "s/i.86/i386/")


The Linux Package Signing Key
(source: http://www.google.com/linuxrepositories/ )
Google’s Linux packages are signed with a GNU Privacy Guard (GPG) key. Google’s packages will automatically configure your package manager to verify product updates with the public signing key, but you may also install it separately if, for instance, you want to verify the integrity of an initial package download. Follow the instructions below to manually configure your package manager to use the key.

Key Details

Download: https://dl-ssl.google.com/linux/linux_signing_key.pub
Key ID: Google, Inc. Linux Package Signing Key <linux-packages-keymaster@google.com>
Fingerprint: 4CCA 1EAF 950C EE4A B839 76DC A040 830F 7FAC 5991

Command line key installation for RPM

On an RPM-based system (Fedora, SUSE, Mandriva, RHEL, etc.), use rpm to download and install the key in one step.
(if sudo is not installed on your box, omit sudo from the following command and run as root)
Code: Select all
sudo rpm --import https://dl-ssl.google.com/linux/linux_signing_key.pub


You can verify the key installation by running:
Code: Select all
rpm -qi gpg-pubkey-7fac5991-*


To manually verify an RPM package, you can run the command:

rpm --checksig -v packagename.rpm

Re: Add repositories Google in Mageia

PostPosted: Jul 22nd, '12, 03:37
by fraterlinux
If someone from the Forum trying to install google earth in x86_64 to run will display the following error:

Code: Select all
 $ google-earth
/usr/bin/google-earth: line 43:./googleearth-bin: no such file or directory not found


To resolve will need to install the package:

Code: Select all
 # urpmi libglibc_lsb


That is, although it is theoretically to 64 it asks 32 for dependency :o :shock:

Re: Add repositories Google in Mageia

PostPosted: Jul 22nd, '12, 11:05
by doktor5000
If you want, i can move this to the MAQeia subforum, and add you to that group so you can maintain it there?

Re: Add repositories Google in Mageia

PostPosted: Jul 22nd, '12, 13:05
by fraterlinux
Do what is best. If so get good, can do. I'm sharing this tip because I noticed that Mageia 2 x86_64 does not automatically add the repositories such as in Mageia 1 when we installed a google program. :D

doktor5000,

The rpm of google has scripts to automatically add the repositories to keep the program up to date. Not work in Mageia 2 x86_64 would be a bug to be reported?

Re: Add repositories Google in Mageia

PostPosted: Jul 22nd, '12, 16:44
by doktor5000
This is problem with the checks for the currently running distribution in the scripts that google uses, for Chrome i've posted a workaround in the MAQeia for Chrome/Chromium: viewtopic.php?f=36&t=2053
This should be reported to Google that they also check for Mageia as they do for Mandriva, not to Mageia bugzilla, as we can't change their scripts/packages.

Re: Add repositories Google in Mageia

PostPosted: Jul 23rd, '12, 13:22
by fraterlinux
doktor5000,

I have a little time I'll report the bug in google.

If it will be better you can move this to the MAQeia subforum!

Re: [MAQeia] Add Google Apps repositories in Mageia

PostPosted: Dec 19th, '13, 03:15
by Umeaboy
PROBLEM SOLVED

Re: [MAQeia] Add Google Apps repositories in Mageia

PostPosted: Dec 19th, '13, 06:19
by doktor5000
Which problem is solved?

Re: [MAQeia] Add Google Apps repositories in Mageia

PostPosted: Dec 20th, '13, 01:17
by Umeaboy
doktor5000 wrote:Which problem is solved?


The problem about how to get rid of the signature issue when installing any of the Google packages.

Re: [MAQeia] Add Google Apps repositories in Mageia

PostPosted: Feb 11th, '14, 20:57
by akbrian
Is there any reason to remove the Google repositories before upgrading to the next version of Mageia? Then, of course, re-adding them again after the upgrade? Specifically, for a mga3 to mga4 upgrade?

Re: [MAQeia] Add Google Apps repositories in Mageia

PostPosted: Feb 11th, '14, 23:24
by jkerr82508
I left them in place, while upgrading from mga3 to mga4, using the CLI. The upgrade process ignored them and left the packages installed. The Google apps are not specific to any particular version of Mageia, other than the architecture (32bit /64bit).

Google chrome (and other third party applications) are all working as normal after the upgrade.

Jim

Re: [MAQeia] Add Google Apps repositories in Mageia

PostPosted: Feb 12th, '14, 00:20
by doktor5000
Yep, all repositories are treated equally. If they contain newer packages, they will be installed. Other 3rd party packages (like teamviewer, spotify, chrome or whatever you have) will be left untouched from a general point of view.

Re: [MAQeia] Add Google Apps repositories in Mageia

PostPosted: Jul 29th, '14, 18:20
by doktor5000
FWIW, for chrome the issue with automatically adding the repository has been fixed upstream by one of our developers:
http://src.chromium.org/viewvc/chrome?v ... ion=270031

Re: [MAQeia] Add Google Apps repositories in Mageia

PostPosted: Aug 27th, '14, 00:41
by jkerr82508
doktor5000 wrote:FWIW, for chrome the issue with automatically adding the repository has been fixed upstream by one of our developers:
http://src.chromium.org/viewvc/chrome?v ... ion=270031

An interesting consequence of this fix is that today, when chrome was updated, a new source was added. This presumably was because I was not using the "official" name. (I only became aware of this because I received an email from root when this was done.)

Code: Select all
# cat /etc/urpmi/urpmi.cfg | grep chrome
chrome_x86_64 http://dl.google.com/linux/chrome/rpm/stable/x86_64 {
google-chrome http://dl.google.com/linux/chrome/rpm/stable/x86_64 {

The first is the pre-existing and the second was added. The second does not
include the key, which I had added to the original. If my understanding of
/etc/cron.daily/google-chrome is correct, the key should be added when that file
is executed tonight. I'll check tomorrow.

Jim

Edit: I executed the file manually and the key has not been added, and so it seems that the addition of the key will still need to be done following the procedure described at the end of:
viewtopic.php?f=36&t=2053#p15047

Re: [MAQeia] Add Google Apps repositories in Mageia

PostPosted: Aug 27th, '14, 07:29
by doktor5000
Should probably be reported upstream, preferrably via a patch.
For comparison, this is the patch one of our developers submitted upstream so that the script will detect the correct package manager on Mageia: https://src.chromium.org/viewvc/chrome? ... w=revision