On 01/30/2015 08:29 PM, Fred Smith wrote:
On Sat, Jan 31, 2015 at 11:11:33AM +0800, Ed Greshko wrote:
> On 01/31/15 10:57, jd1008 wrote:
>> Downloaded /usr/bin from install of google-earth-stable-7.1.2.2041-0.x86_64.rpm
from google.
>> Installing it yields this error:
>>
>> 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-28.fc21.x86_64
>>
>> Is there a way to get around this?
> Run....
>
> rpmrebuild -ep google-earth-stable_current_x86_64.rpm
>
> Which will bring up an editor, delete the line
>
> %dir %attr(0755, root, root) "/usr/bin"
>
> save and quit and a new rpm will be written that can be installed.
you could, alternatively, extract a cpio archive from the RPM and
manually drop its contents into the right places.
Thanx.
I like to keep things under the yum and rpm jurisdiction :)