Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using rpmrebuild to fix google earth on fed19

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
Cagere



Joined: Sat Jun 24, 2006 2:30 pm
Posts: 40
Location: Norfolk UK

PostPosted: Mon Aug 19, 2013 1:59 pm    Post subject: Using rpmrebuild to fix google earth on fed19 Reply with quote

Hi All. I am trying to load Google Earth-64 rpm onto Fedora19-64..The install fails with a message about a file clash problem. On the internet I found that this is a known problem due to an incorrect line in the rpm file and the fix suggested is to use rpmrebuild to delete that line. I put the downloaded rpm file in a file called Fedora19 and ran rpmrebuild on it.. The result seems to default to a vi view and it is quite easy to edit out the errant line, but when I save the revised version it says it is putting it in a hidden tmp file.
I cannot find this anywhere on the system. I looked at the man page for rpmrebuild and saw a switch(-d) for directing the output so I put in (Fed19) to see what it did. As soon as it started it generated the Fed19 folder but at the end there was nothing in it! It still claimed to be saving to a hidden tmp file but didn't put it in the Fed19 folder
I expected vi to overwrite the original rpm file but I have obviously misunderstood the method of using rpmrebuild or possibly vi.
Any suggestions welcome. In case it makes a difference the Fedora19-64 is running as a guest on a Fedora16-32 version via virtualbox.and other than being rather slow seems to be doing what I expect
Cheers Cagere
Back to top
View user's profile Send private message
Cagere



Joined: Sat Jun 24, 2006 2:30 pm
Posts: 40
Location: Norfolk UK

PostPosted: Fri Aug 23, 2013 2:19 pm    Post subject: Using rpmrebuild to fix problem with google earth on fed19 Reply with quote

Further to original post I have managed to edit out the unwanted line in the original rpm file and can now find the resulting file.When trying to install the G-E with the faulty rpm file it tries to download and install a load of files which I think are those destined for /opt/google but fails because of a file conflct. When I try using the edited rpm file it fails to find any reference to downloading and installing these files and aborts because of this. It would appear that rpmrebuild strips out a large part of the original. Is there any way of keeping everything except the erroneous line.
Cheers Cagere
Back to top
View user's profile Send private message
Cagere



Joined: Sat Jun 24, 2006 2:30 pm
Posts: 40
Location: Norfolk UK

PostPosted: Mon Sep 09, 2013 9:29 am    Post subject: Using rpmrebuild to fix problem with google earth on fed19 Reply with quote

Further to my original posts, it appears that I miss-understood the way of using rpmrebuild ! After editing the original bad rpm file I should have exited from vi with the "ZZ" command after which it asks if you want to continue. I answered no to this as I thought it had finished, but I should have answered yes to make it rebuild the rpm file. At the end of the rebuild it tells you where to find the newly rebuilt rpm file. Hope this may help others as the rpmrebuild man page does not explain this very well.

In my case the rebuild initially failed as it was looking for "lsb" but after installing this with "yum install lsb" a second attempt gave me a usable Google Earth rpm file which installed onto fed19-64 itself running as a guest on fed16-32. After all this G-E runs too slowly to be much use and the problem with photos still seems to be there, but that's a fox for another day

Cheers Cagere
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast