Announcement

Collapse
No announcement yet.

Can't launch libre office anymore

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

    #16
    Originally posted by SecretCode View Post
    Hmm. Try explicitly installing the dependencies (shouldn't help but this has sorted out some such issues for me):

    Code:
    sudo apt-get install  libreoffice libreoffice-core libreoffice-writer libreoffice-calc libreoffice-impress libreoffice-draw libreoffice-math libreoffice-base
    Hmm, thanks but this is what i'm getting:
    Code:
    $ sudo apt-get install  libreoffice libreoffice-core libreoffice-writer libreoffice-calc libreoffice-impress libreoffice-draw libreoffice-math libreoffice-base
    sudo: unable to resolve host regDesktopHome
    [sudo] password for reg: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help resolve the situation:
    
    The following packages have unmet dependencies:
     libreoffice-core : Depends: libexttextcat0 (>= 2.2-8) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.
    So should i be gettinf rid of libreoffice-core first?
    roN

    http://www.inetgate.biz

    Comment


      #17
      If you disable the PPA links to Libre Office then update the repository database it should allow you to re-install Libre Office from Canonical. Just as SteveRiley mentions in his thread.

      Comment


        #18
        Originally posted by Shimapan View Post
        Your best bet is to install Synaptic
        Please refrain from telling people to install Synaptic whenever they encounter package problems. It's more effective to diagnose the particular issue at hand, understand what the actual underlying problem is, and then implement a repair.

        In the case here, we must wait for Reggler to test the recommended suggestion of removing the extra PPA.

        Comment


          #19
          Originally posted by reggler View Post
          Hmm, thanks but this is what i'm getting:
          Code:
          $ sudo apt-get install  libreoffice libreoffice-core libreoffice-writer libreoffice-calc libreoffice-impress libreoffice-draw libreoffice-math libreoffice-base
          sudo: unable to resolve host regDesktopHome
          [sudo] password for reg: 
          Reading package lists... Done
          Building dependency tree       
          Reading state information... Done
          Some packages could not be installed. This may mean that you have
          requested an impossible situation or if you are using the unstable
          distribution that some required packages have not yet been created
          or been moved out of Incoming.
          The following information may help resolve the situation:
          
          The following packages have unmet dependencies:
           libreoffice-core : Depends: libexttextcat0 (>= 2.2-8) but it is not going to be installed
          E: Unable to correct problems, you have held broken packages.
          So should i be gettinf rid of libreoffice-core first?
          Bear in mind that what I'm saying is just a suggestion and in theory shouldn't work ... much better to try the other suggestions first.

          That said, I would add that dependency to the install command:
          Code:
          sudo apt-get install  libreoffice libreoffice-core libreoffice-writer libreoffice-calc libreoffice-impress libreoffice-draw libreoffice-math libreoffice-base libexttextcat0
          I'd rather be locked out than locked in.

          Comment


            #20
            I now tried to disable my ppas:

            Code:
            $ cat /etc/apt/sources.list
            #############################################################
            ################### OFFICIAL UBUNTU REPOS ###################
            #############################################################
            
            ###### Ubuntu Main Repos
            deb http://ca.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse 
            deb-src http://ca.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse 
            
            ###### Ubuntu Update Repos
            deb http://ca.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse 
            deb http://ca.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse 
            deb-src http://ca.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse 
            deb-src http://ca.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse 
            
            ###### Ubuntu Partner Repo
            deb http://archive.canonical.com/ubuntu precise partner
            deb-src http://archive.canonical.com/ubuntu precise partner
            
            ###### Ubuntu Extras Repo
            deb http://extras.ubuntu.com/ubuntu precise main
            deb-src http://extras.ubuntu.com/ubuntu precise main
            
            ##############################################################
            ##################### UNOFFICIAL  REPOS ######################
            ##############################################################
            
            ###### 3rd Party Binary Repos
            
            #### Gimp - https://launchpad.net/~otto-kesselgulasch/+archive/gimp
            ## Run this command: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 614C4B38
            #deb http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu precise main
            
            #### Google Linux Software Repositories - http://www.google.com/linuxrepositories/
            ## Run this command: wget -q https://dl-ssl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
            deb http://dl.google.com/linux/deb/ stable non-free
            
            #### Kubuntu Updates - https://edge.launchpad.net/~kubuntu-ppa/+archive/ppa
            ## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8AC93F7A
            #deb http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu precise main 
            
            #### LibreOffice - http://www.documentfoundation.org/download/
            ## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1378B444
            #deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu precise main
            
            #### VirtualBox - http://www.virtualbox.org
            ## Run this command: wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
            deb http://download.virtualbox.org/virtualbox/debian precise contrib
            
            #### Wine - https://launchpad.net/~ubuntu-wine/+archive/ppa/
            ## Run this command:  sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9CB8DB0
            #deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main
            
            
            ####### 3rd Party Source Repos
            
            #### Gimp (Source) - https://launchpad.net/~otto-kesselgulasch/+archive/gimp
            ## Run this command: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 614C4B38
            #deb-src http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu precise main
            
            #### Kubuntu Updates (Source) - https://edge.launchpad.net/~kubuntu-ppa/+archive/ppa
            ## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8AC93F7A
            #deb-src http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu precise main 
            
            #### LibreOffice (Source) - http://www.documentfoundation.org/download/
            ## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1378B444
            deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu precise main
            
            #### Wine (Source) - https://launchpad.net/~ubuntu-wine/+archive/ppa/
            ## Run this command:  sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9CB8DB0
            
            #deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main
            
            deb http://deb.opera.com/opera/ stable non-free 
            $
            but when i do an apt-upsate I still see this on the bottom:
            Code:
            W: Failed to fetch http://dl.google.com/linux/deb/dists/stable/Release  Unable to find expected entry 'non-free/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
            
            W: Failed to fetch http://ppa.launchpad.net/ferramroberto/filezilla/ubuntu/dists/precise/main/source/Sources  404  Not Found
            
            W: Failed to fetch http://ppa.launchpad.net/ferramroberto/filezilla/ubuntu/dists/precise/main/binary-amd64/Packages  404  Not Found
            
            W: Failed to fetch http://ppa.launchpad.net/ferramroberto/filezilla/ubuntu/dists/precise/main/binary-i386/Packages  404  Not Found
            
            W: Failed to fetch http://ppa.launchpad.net/robert-ancell/simple-scan/ubuntu/dists/precise/main/source/Sources  404  Not Found
            
            W: Failed to fetch http://ppa.launchpad.net/robert-ancell/simple-scan/ubuntu/dists/precise/main/binary-amd64/Packages  404  Not Found
            
            W: Failed to fetch http://ppa.launchpad.net/robert-ancell/simple-scan/ubuntu/dists/precise/main/binary-i386/Packages  404  Not Found
            
            E: Some index files failed to download. They have been ignored, or old ones used instead.
            $
            why is that?
            roN

            http://www.inetgate.biz

            Comment


              #21
              Originally posted by SecretCode View Post
              Bear in mind that what I'm saying is just a suggestion and in theory shouldn't work ... much better to try the other suggestions first.

              That said, I would add that dependency to the install command:
              Code:
              sudo apt-get install  libreoffice libreoffice-core libreoffice-writer libreoffice-calc libreoffice-impress libreoffice-draw libreoffice-math libreoffice-base libexttextcat0
              I tried this and got the following:
              Code:
              $ sudo apt-get install  libreoffice libreoffice-core libreoffice-writer libreoffice-calc libreoffice-impress libreoffice-draw libreoffice-math libreoffice-base libexttextcat0
              sudo: unable to resolve host regDesktopHome
              Reading package lists... Done
              Building dependency tree       
              Reading state information... Done
              Some packages could not be installed. This may mean that you have
              requested an impossible situation or if you are using the unstable
              distribution that some required packages have not yet been created
              or been moved out of Incoming.
              The following information may help resolve the situation:
              
              The following packages have unmet dependencies:
               libexttextcat0 : Depends: libexttextcat-data (= 3.2.0-1ubuntu1) but 3.3.1-2~precise1 is to be installed
               libreoffice : Depends: libreoffice-filter-mobiledev but it is not going to be installed
                             Depends: libreoffice-java-common (>= 1:3.5.4~) but it is not going to be installed
               libreoffice-base : Depends: libreoffice-java-common (>= 1:3.5.4~) but it is not going to be installed
               libreoffice-core : Depends: libreoffice-common (> 1:3.5.4) but it is not going to be installed
              E: Unable to correct problems, you have held broken packages.
              $
              roN

              http://www.inetgate.biz

              Comment


                #22
                Originally posted by reggler View Post
                why is that?
                Do you have any files in /etc/apt/sources.list.d/? If so, what are the files and their contents?

                Comment


                  #23
                  Perhaps you have additional files in /etc/apt/sources.list.d/ (directory) - they are also checked by apt

                  eta: as Mr Riley said before I spotted there was another page
                  I'd rather be locked out than locked in.

                  Comment


                    #24
                    Originally posted by SteveRiley View Post
                    Do you have any files in /etc/apt/sources.list.d/? If so, what are the files and their contents?
                    Okay, yay, apt-get update looks better now, I just renamed this to list.d~/ but i still get
                    Code:
                    $ sudo apt-get install  libreoffice libreoffice-core libreoffice-writer libreoffice-calc libreoffice-impress libreoffice-draw libreoffice-math libreoffice-base
                    sudo: unable to resolve host regDesktopHome
                    Reading package lists... Done
                    Building dependency tree       
                    Reading state information... Done
                    Some packages could not be installed. This may mean that you have
                    requested an impossible situation or if you are using the unstable
                    distribution that some required packages have not yet been created
                    or been moved out of Incoming.
                    The following information may help resolve the situation:
                    
                    The following packages have unmet dependencies:
                     libreoffice : Depends: libreoffice-filter-mobiledev but it is not going to be installed
                                   Depends: libreoffice-java-common (>= 1:3.5.4~) but it is not going to be installed
                     libreoffice-base : Depends: libreoffice-java-common (>= 1:3.5.4~) but it is not going to be installed
                     libreoffice-core : Depends: libreoffice-common (> 1:3.5.4) but it is not going to be installed
                                        Depends: libexttextcat0 (>= 2.2-8) but it is not going to be installed
                    E: Unable to correct problems, you have held broken packages.
                    $ sudo apt-get -f install
                    sudo: unable to resolve host regDesktopHome
                    Reading package lists... Done
                    Building dependency tree       
                    Reading state information... Done
                    0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
                    roN

                    http://www.inetgate.biz

                    Comment


                      #25
                      Aside ...

                      Originally posted by reggler View Post
                      Code:
                      $ sudo ...
                      sudo: unable to resolve host regDesktopHome
                      ...
                      Have you renamed your host but not put it in /etc/hosts?
                      I'd rather be locked out than locked in.

                      Comment


                        #26
                        Originally posted by SecretCode View Post
                        Aside ...



                        Have you renamed your host but not put it in /etc/hosts?
                        Yes, fixed!
                        roN

                        http://www.inetgate.biz

                        Comment


                          #27
                          Originally posted by reggler View Post
                          I tried this and got the following:
                          Code:
                          ...
                          The following packages have unmet dependencies:
                           libexttextcat0 : Depends: libexttextcat-data (= 3.2.0-1ubuntu1) but 3.3.1-2~precise1 is to be installed
                          This looks significant. The package for libexttextcat0 depends on a specific (not just a minimum) version of libexttextcat-data. This isn't wrong in itself - two packages might need to be exactly in sync - but whatever other package is asking for libexttextcat-data 3.3.1-2~precise1 should also be asking for libexttextcat0 3.3.1-2~precise1.

                          I don't know if you can check for held packages with other tools, but with aptitude you can say
                          Code:
                          aptitude search ~ahold
                          aptitude search ~b
                          The second command shows broken packages, but aptitude has its own understanding of dependencies and I wouldn't pay too much attention to that.
                          I'd rather be locked out than locked in.

                          Comment


                            #28
                            Okay, installed aptitude and get no output by either command:
                            Code:
                            $ aptitude search ~ahold
                            $ aptitude search ~b
                            $
                            roN

                            http://www.inetgate.biz

                            Comment


                              #29
                              The version of libexttextcat-data in Precise is 3.2.0-1ubuntu1. Something in your package collection wants to install a newer version, but from where I'm not sure.

                              Please show the output of these two commands:
                              Code:
                              apt-cache policy libexttextcat0
                              
                              apt-cache policy libexttextcat-data
                              I have a hunch that you might need to actually uninstall all of LibreOffice, including the libexttextcat stuff, and then perform a clean re-install. But let's see those outputs first.

                              -------

                              Edited to add: a similar bug has been reported at Launchpad and Freedesktop.org.
                              Last edited by SteveRiley; Sep 26, 2012, 11:20 PM.

                              Comment


                                #30
                                Hi, I had the same problem and just fixed it.

                                Code:
                                sudo ppa-purge ppa:libreoffice/ppa
                                
                                sudo apt-get install -f
                                
                                apt-get install --fix-broken libreoffice


                                I hope it helps.
                                Last edited by Guest; Sep 27, 2012, 02:42 PM.

                                Comment

                                Working...
                                X