LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Firefox doesn't install (http://www.linuxquestions.org/questions/linux-software-2/firefox-doesnt-install-928831/)

threaderslash 02-11-2012 12:44 PM

Firefox doesn't install
 
I have some trouble with Firefox. Here is what I got: :scratch:

Code:

# cd /opt/firefox

# ./firefox-bin
XPCOMGlueLoad error for file /opt/firefox/libxpcom.so:
libxul.so: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

The same message appears if I try to:

Code:

# yum install thunderbird
I search the file libxpcom.so, and was directed to install the xulrunner.
Code:

# rpm -ivh xulrunner-7.0.1-1.fc16.src.rpm
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root

So, the firefox isn't installed yet.

All comments and suggestions are welcome and highly appreciated. :cool:

acid_kewpie 02-11-2012 03:40 PM

ok, so 1) ignore all "SRC" rpm's, that's source code and won't help you here.

If you're running FC16, just run "sudo yum install firefox" and it'll sort it all out.

John VV 02-11-2012 07:33 PM

firefox is installed by default on fedora 16 ( all versions of fedora)
there is no need to install it

also do not start ff from that "firefox-bin" file it is the wrong one

from the gnome menu click on the icon
or if KDE click on the firefox icon in the kde menu

or from the terminal
there is NO need to go to /opt/firefox
that is not where it is installed in fedora
/usr/bin is

just type in this and only this
Code:

firefox

threaderslash 02-12-2012 04:31 AM

Thanks for the feeback. :D

Yes... firefox comes installed. But I got problem with some of my bookmark and to clean the act, I deinstalled the firefox and deleted my profile.

Then tried to reinstall with yum first:

Code:

# yum install firefox

Error: Package: libavcodec52-0.7.10-50.fc16.x86_64 (@atrpms)
          Requires: libvpx.so.0()(64bit)
          Removing: libvpx-0.9.7.1-1.fc16.x86_64 (@anaconda-0)
              libvpx.so.0()(64bit)

# /usr/bin/firefox
-bash: /usr/bin/firefox: No such file or directory

Can you suggest some workaround?

John VV 02-12-2012 05:33 AM

turn off the ATrpm repo you installed
it is mostly incompatible with other repos like RPMFusion

the ATrpm repo is giving you the error

also next time do not uninstall a program just to undo settings
for Firefox rename one folder and restart FF
~/.mozilla/firefox
to
~/.mozilla/firefox-old

threaderslash 02-12-2012 06:25 AM

Hi John.

I also got a look in this tutorial about repo: http://www.fedoraforum.org/forum/showthread.php?t=26925 .

Here is what I got in /etc/yum.repos.d: :scratch:

Code:

# grep -i "lib" /etc/yum.repos.d/*
# grep -i "cod" /etc/yum.repos.d/*
#

# ls
adobe-linux-x86_64.repo      google.repo                  rpmfusion-free-updates-testing.repo
atrpms.repo                  google-talkplugin.repo      rpmfusion-nonfree-rawhide.repo
fedora.repo                  livna.repo                  rpmfusion-nonfree.repo
fedora-updates.repo          ria.repo                    rpmfusion-nonfree-updates.repo
fedora-updates-testing.repo  rpmfusion-free-rawhide.repo  rpmfusion-nonfree-updates-testing.repo
google-chrome.repo          rpmfusion-free.repo          skype.repo
google-earth.repo            rpmfusion-free-updates.repo  virtualbox.repo

# nano atrpms.repo
[atrpms]
name=Fedora $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/f$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
enabled=0
gpgcheck=1

Even the command grep gave no show of having libavcodec in any of the file inside repo directory.

Some suggestion about libavcodec52-0.7.10-50.fc16.x86_64 (@atrpms)? I could not find it.

Thanks. :cool:

John VV 02-12-2012 04:17 PM

Quote:

Even the command grep gave no show of having libavcodec in any of the file inside repo directory.
the program "libavcodec" is NOT installed in the TEXT file for the software repository "ATrpm"

that error you posted states that that version FROM ATrpm is incompatible

--- libavcodec52-0.7.10-50.fc16.x86_64 (@atrpms) -- from ATrpm
needs a file called " libvpx.so.0 also from ATrpm but is trying to remove the version FROM the install dvd

you have incompatible versions of software installed

also "grep" is NOT the command to use to see what repos are installed and are on or off
read the yum man page
Code:

man yum
then to see what repos are being used
Code:

yum repolist all

without knowing just what was installed and how you installed them
i can only guess
first run
Code:

rpm -qa | grep at
that should give you a output of what was installed from ATrpm
then start removing them
-- example --
Code:

su -
yum uninstall libavcodec52

if you are going to use ATrpm repo you then ONLY USE THAT ONE AND ONLY THAT ONE and NO OTHERS not even the fedora updates
ATrpm changes some of the BASE system files to a different version , versions that are incompatible with the fedora base install

now with caution you can use it but for individual programs only and with caution

threaderslash 02-13-2012 03:21 AM

Thanks man! You just saved the day. :hattip:

As suggested... Here it goes:

Code:

# yum remove libavcodec52

Removed:
  libavcodec52.x86_64 0:0.7.10-50.fc16                                                                                   

Dependency Removed:
  cinelerra.x86_64 0:2.1-24.2_git20110613.fc15_88

Then...

Code:

yum install firefox -y
I am glad to have firefox up and running again. :D :D :D


All times are GMT -5. The time now is 07:33 PM.