google-earth-stable-7.1.2.2041-0.x86_64 conflicts with file from package filesystem-3.2-28.fc21.x86_64
Jonathan Ryshpan
jonrysh at pacbell.net
Sat Jan 31 07:36:57 UTC 2015
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?
More information about the users
mailing list