On Sun, Jul 13, 2014 at 4:47 PM, Ed Greshko <ed.greshko(a)greshko.com> wrote:
On 07/14/14 06:28, JD wrote:
Running fc20 64 bit.
Downloaded google earth from:
http://www.google.com/earth/download/ge/agree.html
and at bottom of page, you select the 64 bit rpm,
and save it.
yum -y localinstall google-earth-stable-7.1.2.2041-0.x86_64
Yum downloaded 34 dependencies, then it burped:
Transaction check error:
file /usr/bin from install of google-earth-stable-7.1.2.2041-0.x86_64
conflicts
with file from package filesystem-3.2-19.fc20.x86_64
Obviously, the packager blew it somehow with respect to dependencies.
How do I get around it without "forcing" anything?
I thought the downloaded file was called
google-earth-stable_current_x86_64.rpm.....
Anyway, the way I've gotten this to work is to use "rpmrebuild".
rpmrebuild -ep google-earth-stable_current_x86_64.rpm
When "vi" comes up find the line....
%dir %attr(0755, root, root) "/usr/bin"
And then delete it and :wq! followed by "y" and a new rpm will be written
out for you to used.
It is indeed called that when you download it.
Unfortunately, I was a bit too lazy to copy and paste the file name again,
after I had copied the error message.
So, I did user rpmrebuild, per your suggestion,
and it ended up creating
google-earth-stable-7.1.2.2041-0.x86_64.rpm
and it installed without a hitch.
Thanx Ed!!!
Nice tool, which should be included in the package
rpmdevtools-8.4-2.fc20.noarch
but it is not.
So, it turns out that google renames the rpm file
from
google-earth-stable-7.1.2.2041-0.x86_64.rpm
to
google-earth-stable_current_x86_64.rpm
when they release it.