Announcement

Collapse
No announcement yet.

Firefox? Did it install? First time user

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

    Firefox? Did it install? First time user

    Well, ill start off by saying i know nothing about Kubuntu.
    Version: Kubuntu 6.06 LTS: the Dapper Drake
    I have only just opened up already installed programmes. However i obviously cannot do that forever so I decided to install firefox.. coming from an windows OS to Kubuntu i would think that it would be as simple or close to just double click and customise..

    However this was not the case
    I have read and tried many guides the most promising one seams to be this one
    http://pykeylogger.sourceforge.net/wiki/index.ph p/Ubuntu:Chronicles#Install_Firefox_1.5
    however after going through it, there is no icon or any 'firefox' installed.
    Looking at the Konsole display the last few lines say the following

    "Linking plugins


    Linking launcher to new Firefox

    Leaving `local diversion of /usr/bin/firefox to /usr/bin/firefox.ubuntu'
    ln: creating symbolic link `/usr/bin/firefox' to `/opt/firefox/firefox': File exists
    Previous command did not complete successfully. Exiting."
    and I'm left at
    "admin@admin-laptop:~/Desktop$"
    So i read that and to me its saying that this "symbolic link" already exists so it fails to install? or is it there?
    I'm so lost with this install procedure


    #2
    Re: Firefox? Did it install? First time user

    Do yourself a favor and install Automatix.....
    that way you can install firefox and/or Opera and all the plugins for them.....
    http://ubuntuforums.org/showthread.php?t=177646

    to check if firefox is installed, type firefox in run command.....

    Comment


      #3
      Re: Firefox? Did it install? First time user

      i cant run that?... It produces a massive long list of errors when i do
      Code:
      sudo kwrite /etc/apt/sources.list
      In the Konsole.
      The error thing is this:
      X Error: BadDevice, invalid or uninitialized input device 168
      Major opcode: 145
      Minor opcode: 3
      Resource id: 0x0
      Failed to open device
      X Error: BadDevice, invalid or uninitialized input device 168
      Major opcode: 145
      Minor opcode: 3
      Resource id: 0x0
      Failed to open device
      kdeinit: Shutting down running client.
      ---------------------------------
      It looks like dcopserver is already running. If you are sure
      that it is not already running, remove /root/.DCOPserver_admin-laptop__0
      and start dcopserver again.
      ---------------------------------

      Xlib: connection to ":0.0" refused by server
      Xlib: No protocol specified

      kdeinit: Can't connect to the X Server.
      kdeinit: Might not terminate at end of session.
      Xlib: connection to ":0.0" refused by server
      Xlib: No protocol specified

      kded: cannot connect to X server :0.0
      kded: ERROR: KUniqueApplication: Registering failed!
      kded: ERROR: Communication problem with kded, it probably crashed.
      kio (KSycoca): ERROR: No database available! <---This line is displayed over 100 times.

      KCrash: Application 'kwrite' crashing...
      Warning: connect() failed: : No such file or directory
      KCrash cannot reach kdeinit, launching directly.
      Xlib: connection to ":0.0" refused by server
      Xlib: No protocol specified

      drkonqi: cannot connect to X server :0.0

      Man this is really turning me off linux, so many problems when all i want to do is install Firefox 1.5.0.4
      Looks like linux still hasn't got the useability of Windows.

      Comment


        #4
        Re: Firefox? Did it install? First time user

        Originally posted by Kyro
        Man this is really turning me off linux, so many problems when all i want to do is install Firefox 1.5.0.4 
        Looks like linux still hasn't got the useability of Windows.
        All you really had to do to install Firefox 1.5 (on Dapper 6.06) is either

        1.
        Code:
        sudo apt-get install firefox
        or

        2. Start a package manager like 'Add/remove programs' in kmenu and choose firefox for installation

        The guide you linked to describes a longer method of installing firefox 1.5 on previous version (Breezy 5.10) which didn't have firefox 1.5 in the repositories, only 1.0

        I recommend you take a peak at the Kubuntu Desktop Guide (Goto KMenu>Help and choose Kubuntu Desktop Guide)...chapter 3 describes sofware installations and updating, I'm sure you'll realize the benefits of the package management system.

        Originally posted by Kyro
        i cant run that?... It produces a massive long list of errors when i do
        Code:
        sudo kwrite /etc/apt/sources.list
        The reason that it didn't work is that you should always use 'kdesu' instead of 'sudo' when launching GUI applications (like kwrite)...so try:
        1. Alt+F2 (Open run dialog)
        2.
        Code:
        kdesu kwrite /etc/apt/sources.list

        Comment


          #5
          Re: Firefox? Did it install? First time user

          sudo kate or sudo kwrite always works for me so i dunno if that is the problem....
          dont give up yet.....
          it is much easier to use Adept to download it rather than doing it through console
          also, you should really give Automatix or EasyUbuntu a try.....
          you wont regret it.....

          Comment


            #6
            Re: Firefox? Did it install? First time user

            First of all the code "sudo apt-get install firefox" doesnt work because i get this error:

            "admin@admin-laptop:~$ 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"

            Secondly the package manager 'Add/remove programs' in kmenu wont allow me to select Firefox and i can only see 'firefox' after selecting 'Any Suite' from the top drop down box. And even when i can see 'Firefox' it is greyed out.

            Thirdly the guide you say will help doesnt, because it doesnt explain how to use or give an example of how to install something.


            and last of all using the code "kdesu apt-get install firefox" doesnt work ether because i get this error
            "admin@admin-laptop:~$ kdesu apt-get install firefox
            X Error: BadDevice, invalid or uninitialized input device 168
            Major opcode: 145
            Minor opcode: 3
            Resource id: 0x0
            Failed to open device
            X Error: BadDevice, invalid or uninitialized input device 168
            Major opcode: 145
            Minor opcode: 3
            Resource id: 0x0
            Failed to open device
            Reading package lists... 0%
            Reading package lists... 100%
            Reading package lists... Done

            Building dependency tree... 0%
            Building dependency tree... 0%
            Building dependency tree... 50%
            Building dependency tree... 50%
            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"

            Comment


              #7
              Re: Firefox? Did it install? First time user

              you might not have the repositories with firefox in it enabled.....
              again i say, Automatix has Firefox and Opera with the plugins for it along with lots of other software.....

              also, the link below has all of the repositories available (suppose to anyways), so if you add these, it should be available for download and install.....
              http://italy.copybase.ch/blog/lista-...kubuntu-linux/

              but Automatix is the best way in my opinion.....

              Comment


                #8
                Re: Firefox? Did it install? First time user

                Originally posted by Kyro
                First of all the code "sudo apt-get install firefox" doesnt work because i get this error:

                "admin@admin-laptop:~$ 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"

                Secondly the package manager  'Add/remove programs' in kmenu wont allow me to select Firefox and i can only see 'firefox' after selecting 'Any Suite' from the top drop down box. And even when i can see 'Firefox' it is greyed out.
                This seems to indicate there is something wrong with your repository sources...was your network by any chance not connected when you installed?

                Firefox is in the base repositories so it should have an installation canditate available.

                You may have to check/edit your /etc/apt/sources.list (see below)

                and last of all using the code "kdesu apt-get install firefox" doesnt work ether because i get this error
                "admin@admin-laptop:~$ kdesu apt-get install firefox
                I'm afraid you misunderstood my post on this one (maybe I was a bit ambiguos)...kdesu is for GUI applications (like kwrite) sudo works just fine with command line applications (like apt-get)

                Though with kwrite using sudo does not (at least not always) produce fatal errors (kwrite seems to run) it does report those errors you mentioned when used with sudo (and may cause lockups or other unexpected behaviour):

                This is what I get if I sudo kwrite:
                Xlib: connection to ":0.0" refused by server
                Xlib: No protocol specified

                kdeinit: Can't connect to the X Server.
                kdeinit: Might not terminate at end of session.
                Xlib: connection to ":0.0" refused by server
                Xlib: No protocol specified

                kded: cannot connect to X server :0.0
                DCOP aborting call from 'anonymous-31629' to 'kded'
                kded: ERROR: Communication problem with kded, it probably crashed.
                Checking your sources.list
                It might help if you checked your repository sources.list...you post it here and we'll check what...if anything...is wrong with it:

                You can open it for viewing with:
                Code:
                kwrite /etc/apt/sources.list
                Copy and paste the contents to here and we can check that it is ok

                If you need to edit (and save) the sources.list you'll have to open it with:
                Code:
                kdesu kwrite /etc/apt/sources.list
                Thirdly the guide you say will help doesnt, because it doesnt explain how to use or give an example of how to install something.
                Did you read the entire chapter (you can progress pages by clicking next)...under 'APT' section it describes and gives examples on how to use the apt-get commands.
                (though now that I checked, the link to the Adept Handbook (which should describe how to use adept won't work, at least on my machine...I didn't know that does not work, sorry for that)



                Comment


                  #9
                  Re: Firefox? Did it install? First time user

                  try sudo apt-get remove firefox --purge && sudo apt-get install firefox
                  <br /><br />*temp. hiatus from forums due to comp + net broken* :&#039;(

                  Comment


                    #10
                    Re: Firefox? Did it install? First time user

                    No my laptop was not connected to a network/internet connection when i installed Kubuntu.

                    well here is that "sources.list" file and this is what is in it.
                    "# Line commented out by installer because it failed to verify:
                    #deb http://nz.archive.ubuntu.com/ubuntu/ dapper main restricted
                    # Line commented out by installer because it failed to verify:
                    #deb-src http://nz.archive.ubuntu.com/ubuntu/ dapper main restricted

                    ## Major bug fix updates produced after the final release of the
                    ## distribution.
                    # Line commented out by installer because it failed to verify:
                    #deb http://nz.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
                    # Line commented out by installer because it failed to verify:
                    #deb-src http://nz.archive.ubuntu.com/ubuntu/ dapper-updates main restricted

                    ## Uncomment the following two lines to add software from the 'universe'
                    ## repository.
                    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
                    ## team, and may not be under a free licence. Please satisfy yourself as to
                    ## your rights to use the software. Also, please note that software in
                    ## universe WILL NOT receive any review or updates from the Ubuntu security
                    ## team.
                    # deb http://nz.archive.ubuntu.com/ubuntu/ dapper universe
                    # deb-src http://nz.archive.ubuntu.com/ubuntu/ dapper universe

                    ## Uncomment the following two lines to add software from the 'backports'
                    ## repository.
                    ## N.B. software from this repository may not have been tested as
                    ## extensively as that contained in the main release, although it includes
                    ## newer versions of some applications which may provide useful features.
                    ## Also, please note that software in backports WILL NOT receive any review
                    ## or updates from the Ubuntu security team.
                    # deb http://nz.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
                    # deb-src http://nz.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

                    # Line commented out by installer because it failed to verify:
                    #deb http://security.ubuntu.com/ubuntu dapper-security main
                    # Line commented out by installer because it failed to verify:
                    #deb-src http://security.ubuntu.com/ubuntu dapper-security main
                    # deb http://security.ubuntu.com/ubuntu dapper-security universe
                    # deb-src http://security.ubuntu.com/ubuntu dapper-security universe"

                    also doing "sudo apt-get remove firefox --purge && sudo apt-get install firefox" i get the following error:
                    "admin@admin-laptop:~$ sudo apt-get remove firefox --purge && sudo apt-get install firefox
                    Password:
                    Reading package lists... Done
                    Building dependency tree... Done
                    Package firefox is not installed, so not removed
                    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                    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
                    admin@admin-laptop:~$"

                    Comment


                      #11
                      Re: Firefox? Did it install? First time user

                      Originally posted by Kyro
                      No my laptop was not connected to a network/internet connection when i installed Kubuntu.
                      That is the source of your problems, if there is no internet connection during installation, the installer disables (that is comments out with a '#' character) all the online repositories in the sources.list.

                      Luckily it's easy to fix:
                      1. Open up /etc/apt/sources.list for editing with:
                      Code:
                      kdesu kate /etc/apt/sources.list
                      2. Delete the '#' character in front of each line starting with '#deb ' (you don't need to uncomment the 'deb-src' repositories)

                      (3. optional: if you wish to enable the 'Multiverse' repository, needed for 'libxine-extracodecs' for mp3 playback in amarok, for example...add 'multiverse' at he end of each repository line ending in 'universe', like this:
                      deb http://nz.archive.ubuntu.com/ubuntu/ dapper universe multiverse
                      )

                      4. Save the sources.list

                      5. Refresh the package-lists with either
                      Code:
                      sudo apt-get update
                      or clicking 'Fetch Updates' in Adept

                      6. Now you should have all the packages available for installation

                      (Note: You can also enable repositories in Adept by going to Adept>Manage Repositories from the main menu and right clicking on greyed out repositories and choosing 'Enable'...don't forget to 'Apply' and 'Fetch Updates'...editing the sources.list manually is quicker though)

                      Comment

                      Working...
                      X