LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-22-2014, 12:19 AM   #1
jbruyet
Member
 
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178

Rep: Reputation: 7
Had LSB problem, now have /usr/bin conflict problem


Hey all, I'm trying to install Google Earth on a fresh install of CentOS 7:

Code:
 rpm -ivh google-earth-stable_current_x86_64.rpm
I was getting an error message that LSB needed to be >3.2 so I ran:

Code:
 yum install redhat-lsb-core.x86_64
I was still getting the error so next I ran:

Code:
yum install redhat-lsb.x86_64
That took care of the LSB error but now when I run the Google Earth install I get this error:

Code:
 file /usr/bin from install of google-earth-stable-7.1.2.2041-0.x86_64 conflicts with file from package filesystem-3.2-18.el7.x86_64
Googling this error gives me one hit: https://forums.nux.ro/index.php?t=msg&goto=2137&

The recommendation on that page is to run:

Code:
 yum install redhat-lsb.i686
and then reinstall Google Earth. I'm hesitant to mix an i686 install with an x86_64 install. Should I run the i686 install for the lsb or should I look elsewhere?

Thanks,

Joe B
 
Old 10-12-2014, 06:05 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
Quote:
Originally Posted by jbruyet View Post
Code:
 file /usr/bin from install of google-earth-stable-7.1.2.2041-0.x86_64 conflicts with file from package filesystem-3.2-18.el7.x86_64
(..) I'm hesitant to mix an i686 install with an x86_64 install. Should I run the i686 install for the lsb or should I look elsewhere?
And right you are. The problem isn't your OS or your LSB %{arch} or %{version} but the sheer boneheaded stubbornness and utter ineptitude of those packaging Google Earth. Google packagers violated a basic packaging rule by choosing to include the directory "/usr/bin" in their package that belongs to the system and not to Google Earth. And even though people have asked Google to comply it, to this day, has not which means they basically don't care. Damn sloppy.

Long story short: three ways to "fix" this:
0) download RPM, verify contents, unpack ('man rpm2cpio') into dir in say /opt, run 'restorecon', query package with "--scripts" and execute appropriate %{post} section. Please note this causes discrepancies because now you have files on your installation that do not belong to any package, meaning you bear the burden of updating it manually, but at least this doesn't tarnish your "filesystem" package.
1) download RPM, verify contents, unpack ('man rpm2cpio') into temporary dir, query package with "--scripts" for appropriate %{post} section, create your own package and install that. Please note this also causes discrepancies because now you have a package that does not belong to any repo, meaning you still bear the burden of updating it manually, but at least this doesn't tarnish your "filesystem" package.
2) Force to install google-earth-stable, then force to install filesystem package again. Please note use of --force should always be discouraged and for good reasons.

*Oddly enough the google-earth-stable-7.1.2.2041-0.i386 RPM doesn't seem to include the "/usr/bin" directory in that package so I wonder what's gone wrong at Google...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Cannot find 'ssh-keygen' in '/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin' venu.navat Linux - Software 3 03-08-2012 05:00 AM
echo $PATH = /home/g3rc4n/bin:/usr/local/bin:/usr/bin:/bin:/usr/games ? i_heart_pandas Linux - Software 7 09-18-2009 09:33 AM
Problem: /usr/bin/ld: cannot find -lmcpp afa_linux Linux - Software 2 11-17-2008 03:09 PM
MRTG: /usr/bin/rateup problem debloxie Linux - Networking 1 07-19-2006 11:10 AM
/usr/bin/ld problem Boffy Linux - General 3 04-19-2005 02:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration