google-earth-stable-7.1.2.2041-0.x86_64 conflicts with file from package filesystem-3.2-28.fc21.x86_64
poma
pomidorabelisima at gmail.com
Sat Jan 31 08:52:37 UTC 2015
On 31.01.2015 08:36, Jonathan Ryshpan wrote:
> On Sat, 2015-01-31 at 11:11 +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.
>
> I'm having some trouble with this. Here's a log of what happens:
>
> $ rpmrebuild -ep google-earth-stable_current_x86_64.rpm
> <vi appears; I edit the text on the screen as advised>
> Do you want to continue ? (y/N) y
> warning: Explicit %attr() mode not applicaple to symlink: /home/jonrysh/.tmp/rpmrebuild.9491/work/root/opt/google/earth/free/google-earth
> warning: Explicit %attr() mode not applicaple to symlink: /home/jonrysh/.tmp/rpmrebuild.9491/work/root/usr/bin/google-earth
> result: /home/jonrysh/rpmbuild/RPMS/x86_64/google-earth-stable-7.1.2.2041-0.x86_64.rpm
>
> The rebuilt google-earth-stable_current_x86_64.rpm is untouched. I
> could force installation using rpm, but then a large number of
> dependencies would have to be installed.
>
> What to do?
>
>
$ rpmbuild --rebuild http://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/p/po/postinstaller/fedora/releases/20/SRPM/google-earth-7.1.2.2041-3.fc20.src.rpm
$ pkexec yum install /home/$(whoami)/rpmbuild/RPMS/x86_64/google-earth-7.1.2.2041-3.fc21.x86_64.rpm
More information about the users
mailing list