Announcement

Collapse
No announcement yet.

firefox 1.5 and libgtk-x11

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    firefox 1.5 and libgtk-x11

    Trying to install firefox 1.5 on kubuntu 6.06, installing firefox was an easy task on previous versions of kubuntu, I've done it on ubuntu, and fedora.  This is a fresh install from the kubuntu live DVD, no 3rd party software. "apt-get update"  shows I'm upto date.  firefox 1.5 is the first thing I'm trying to install beyond the default installation.

    I tried the simple way:

    $ sudo apt-get install mozilla-firefox
    Reading package lists... Done
    Building dependency tree... Done
    Package mozilla-firefox is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package mozilla-firefox has no installation candidate

    Then I downloaded firefox-1.5.0.4.tar.gz and extract as per instructions on https://help.ubuntu.com/community/FirefoxNewVersion.   Everything went smooth, no errors.

    However, when I try to run firefox I get:

    $ ./firefox
    /opt/firefox/firefox-bin: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

    I tried a bunch of searches in the forums, can't find anything that works.

    $ sudo apt-get install  libgtk-2.0-0
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package libgtk-2.0-0

    $ locate libgtk
    $ locate libgtk-x11
    $ sudo dpkg -L libgtk2.0-0 | grep libgtk-x11-2.0.so.0
    Package `libgtk2.0-0' is not installed.

    What should I do next?  Thanks for your help.

    #2
    Re: firefox 1.5 and libgtk-x11

    um... Firefox 1.5.0.4 is available in our repositories. No need to use that hack. And the package name is firefox not mozilla-firefox, which explains the reason why you got the error in apt-get.
    Jucato's Data Core

    Comment


      #3
      Re: firefox 1.5 and libgtk-x11

      Originally posted by Jucato
      um... Firefox 1.5.0.4 is available in our repositories. No need to use that hack. And the package name is firefox not mozilla-firefox, which explains the reason why you got the error in apt-get.
      That's what I thought I did the last time I tried to install Breezy.

      $ sudo apt-get install firefox
      Reading package lists... Done
      Building dependency tree... Done
      Package firefox is not available, but is referred to by another package.
      This may mean that the package is missing, has been obsoleted, or
      is only available from another source
      However the following packages replace it:
      libnss3
      E: Package firefox has no installation candidate

      What am I missing?

      Comment


        #4
        Re: firefox 1.5 and libgtk-x11

        try making a new sources.list? here's a tool: http://www.ubuntulinux.nl/source-o-matic
        <br /><br />*temp. hiatus from forums due to comp + net broken* :&#039;(

        Comment


          #5
          Re: firefox 1.5 and libgtk-x11

          In Breezy, the package was mozilla-firefox.
          In Dapper, it's just firefox (mozilla-firefox is just a dummy transitional package)

          You might be having some problems with your sources.list. Could you post it so we could see if it is the source of the problem?
          Jucato&#39;s Data Core

          Comment


            #6
            Re: firefox 1.5 and libgtk-x11

            That was it. The sources.list file had everything commented out. Is that the default? I uncommented the sources, then did apt-get update, apt-get upgrade, then did apt-get install firefox.

            Thanks for the help.



            Comment


              #7
              Re: firefox 1.5 and libgtk-x11

              If you installed from the Desktop/Live CD without an active internet connection, the installer comments out/disables all repositories, because it can't detect those repositories during the installation.

              Glad you found your way through. Happy surfing!
              Jucato&#39;s Data Core

              Comment

              Working...
              X