On 30.06.2013 22:59, Ranjan Maitra wrote:
On Sun, 30 Jun 2013 21:24:31 +0200 poma
> On 30.06.2013 20:25, Ranjan Maitra wrote:
>> On Sun, 30 Jun 2013 20:04:11 +0200 poma <pomidorabelisima(a)gmail.com>
>>> On 30.06.2013 17:28, Ranjan Maitra wrote:
>>>> So, I decided to try installing GoogleEarth (GE) for the first time
>>>> ever. I found the following:
>>> Note the line relating to the installation. :)
>>>> and tried it the following:
>>>> % wget -c
>>>> %sudo yum localinstall google-earth-stable_current_x86_64.rpm
>>> yum install ./foobar.rpm
>>> man 8 yum - localinstall
>>> … This command is maintained for legacy reasons only.
>> Thanks, I was not aware of this. Never really read yum's manpages much.
>>>> But I got the following:
>>>> Transaction Check Error:
>>>> file /usr/bin from install of google-earth-stable-22.214.171.1241-0.x86_64
>>>> conflicts with file from package filesystem-3.1-2.fc18.x86_64
>>> rpm -ivh --noscripts --excludepath /usr/bin
>>> xdg-desktop-menu install /opt/google/earth/free/google-earth.desktop
>>> man 8 rpm
>>> man 1 xdg-desktop-menu
>> I guess that this can not be done using yum then?
> rpm -qi yum-plugin-tsflags
> cat /usr/lib/yum-plugins/tsflags.py
> man 5 yum.conf - tsflags
> If you haven't found that it works that way, it's for your own good.
> yum love us all. :)
>> Btw, does GoogleEarth have a repo, or is there a third-party repo
> rpm -qp --scripts google-earth-stable_current_x86_64.rpm | grep yum.repos
> But the question is, does it work at all. ;)
> Note the dates:
Using your and Kevin's suggestions I was able to set up the Google
repositories. However, I am unable to use yum to install for the same
reasons as before.
If you omit "--noscripts" from:
'rpm -ivh --noscripts --excludepath /usr/bin
you'll get your repo file, but as I said before, google-earth.repo per
se doesn't guarantee that the whole thing work.
You can ask Google directly whether the repo is actually set, at all.
Advertised != Provided ;)
I did try out:
after installing yum-plugin-tsflags
man 5 yum.conf -tsflags "excludepath"
but nothing useful came of that (from what I can tell, this is just the
manpage of yum.conf?).
man 5 yum.conf - tsflags
OK, it means: read the yum.conf manual, and under the OPTIONS search for
the "tsflags" and find whether there is a flag "excludepath"
rpm -qi yum-plugin-tsflags
It means: what the 'yum-plugin-tsflags' provides you is translation from
the yum.conf style to the yum command line style, therefore read
'/usr/lib/yum-plugins/tsflags.py' for an example to do so.