Ask Your Question
1

google-earth file conflicts w/system

asked 2016-08-11 00:52:45 -0500

wawa gravatar image

Dear All; I ran "sudo dnf install" on google Earth package and got: Error: Transaction check error: file /usr/bin from install of google-earth-stable-7.1.4.1529-0.x86_64 conflicts with file from package filesystem-3.2-37.fc24.x86_64 What is solution to that? TIA. =Wawa=

edit retag flag offensive close merge delete

Comments

It is bad packaging because the package owns /usr/bin/ directory. Other than filling a bug report I don't know a workaround.

skytux gravatar imageskytux ( 2016-08-11 07:03:37 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
5

answered 2016-08-11 10:50:25 -0500

vtrefny gravatar image

Install rpmrebuild package and run rpmrebuild -e -p /path/google-earth-stable_current_x86_64.rpm.

This will open .spec file of the package. Find line %dir %attr(0755, root, root) "/usr/bin", delete it and save the file.

rpmrebuild will now build a new "valid" package, it should be located in ~/rpmbuild/RPMS/x86_64/google-earth-stable-7.1.4.1529-0.x86_64.rpm (it will print the path).

Simply install it using sudo dnf install ~/rpmbuild/RPMS/x86_64/google-earth-stable-7.1.4.1529-0.x86_64.rpm

(And of course, fill a bug as @skytux suggest. This is a really bad package.)

edit flag offensive delete link more

Comments

Many thanks, Vojtech. Is solved the problem.

wawa gravatar imagewawa ( 2016-08-13 00:18:40 -0500 )edit

Is it possible that rebuilding this problematic GoogleEarth package causes failure of upgrading to F25?

wawa gravatar imagewawa ( 2016-12-20 23:58:07 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-08-11 00:52:45 -0500

Seen: 667 times

Last updated: Aug 11 '16