Announcement

Collapse
No announcement yet.

[Solved] Not able to install Kontact or KMail - Broken Packages

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

    [Solved] Not able to install Kontact or KMail - Broken Packages

    Hi Guys,

    I could not find any related posts to this issue, so am posting a new thread.
    I had removed Kontact and KMail completely from my system and was using
    Thunderbird for my mails until now; now I am willing to give the KDE apps a try .

    But now I am not able to install them back on my system .
    In Adept when trying to install Kontact / Kmail I get :
    Code:
    Download failed.
    The list of errors is attached. The recovery for this case is currently not implemented.
    If you see 404 errors, it might be useful to try fetching package lists (see the Sources tab) and retrying the operation.
    The error was: 
    APT Error. Context:
      Package download failed, 
      Unable to correct problems, you have held broken packages., 
      :
    On using apt-get I get this :
    Code:
    itisi@incognito:~$ sudo apt-get -f install kmail
    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 to resolve the situation:
    
    The following packages have unmet dependencies:
     kmail: Depends: libkdepim4 (= 4:4.2.2-0ubuntu1) but 4:4.2.2-0ubuntu1.1 is to be installed
         Depends: libkleo4 (= 4:4.2.2-0ubuntu1) but 4:4.2.2-0ubuntu1.1 is to be installed
         Depends: libkpgp4 (= 4:4.2.2-0ubuntu1) but 4:4.2.2-0ubuntu1.1 is to be installed
         Depends: libksieve4 (= 4:4.2.2-0ubuntu1) but 4:4.2.2-0ubuntu1.1 is to be installed
         Depends: libmimelib4 (= 4:4.2.2-0ubuntu1) but 4:4.2.2-0ubuntu1.1 is to be installed
    E: Broken packages
    itisi@incognito:~$
    itisi@incognito:~$ sudo apt-get -f install kontact
    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 to resolve the situation:
    
    The following packages have unmet dependencies:
     kontact: Depends: kaddressbook but it is not going to be installed
          Depends: korganizer but it is not going to be installed
          Depends: libkdepim4 (= 4:4.2.2-0ubuntu1) but 4:4.2.2-0ubuntu1.1 is to be installed
          Depends: libkholidays4 (= 4:4.2.2-0ubuntu1) but 4:4.2.2-0ubuntu1.1 is to be installed
          Recommends: kmail but it is not going to be installed
    E: Broken packages
    itisi@incognito:~$
    I have tried to install and upgrade the listed packages in the output
    but it has not resolved too. Also when trying to install it from System Settings
    the process stalls at "Querying the System"

    Thank you all for the help in advance.

    - iamme
    Jesus is Real &= GOD, unless you declare him an Integer.

    #2
    Re: Not able to install Kontact or KMail - Broken Packages

    Have you tried

    sudo apt-get update

    followed by

    sudo apt-get upgrade ?

    Then try adding Kmail and Kontact..

    Comment


      #3
      Re: Not able to install Kontact or KMail - Broken Packages

      Yes I have.
      Guess must have mentioned it in the original post.
      Jesus is Real &= GOD, unless you declare him an Integer.

      Comment


        #4
        Re: Not able to install Kontact or KMail - Broken Packages

        And they don't return any errors...?

        What do you get if you don't try forcing the install?

        Comment


          #5
          Re: Not able to install Kontact or KMail - Broken Packages

          No errors on the update & upgrade &
          No difference in the output when not forcing it
          Jesus is Real &= GOD, unless you declare him an Integer.

          Comment


            #6
            Re: Not able to install Kontact or KMail - Broken Packages

            From http://www.debian.org/doc/manuals/ap...-erros.en.html:

            If an installation breaks in the middle of the process and you find that it's no longer possible to install or remove packages, try running these two commands:

            # apt-get -f install
            # dpkg --configure -a

            And then try again. It may be necessary to run the second of the above commands more than once.

            Comment


              #7
              Re: Not able to install Kontact or KMail - Broken Packages

              Still the same

              Code:
              itisi@incognito:~$ sudo apt-get -f install
              [sudo] password for itisi:
              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
              itisi@incognito:~$ sudo dpkg --configure -a
              itisi@incognito:~$ sudo dpkg --configure -a
              itisi@incognito:~$ sudo dpkg --configure -a
              itisi@incognito:~$ sudo apt-get -f install kmail
              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 to resolve the situation:
              
              The following packages have unmet dependencies:
               kmail: Depends: libkdepim4 (= 4:4.2.2-0ubuntu1) but 4:4.2.2-0ubuntu1.1 is to be installed
                   Depends: libkleo4 (= 4:4.2.2-0ubuntu1) but 4:4.2.2-0ubuntu1.1 is to be installed
                   Depends: libkpgp4 (= 4:4.2.2-0ubuntu1) but 4:4.2.2-0ubuntu1.1 is to be installed
                   Depends: libksieve4 (= 4:4.2.2-0ubuntu1) but 4:4.2.2-0ubuntu1.1 is to be installed
                   Depends: libmimelib4 (= 4:4.2.2-0ubuntu1) but 4:4.2.2-0ubuntu1.1 is to be installed
              E: Broken packages
              itisi@incognito:~$
              Jesus is Real &= GOD, unless you declare him an Integer.

              Comment


                #8
                Re: Not able to install Kontact or KMail - Broken Packages

                Can you post the contents of /etc/apt/sources.list to check that your repository sources are set up correctly.

                Comment


                  #9
                  Re: Not able to install Kontact or KMail - Broken Packages

                  Time for radical action. Try the following. It fixes the "apt-get update failing with bad signature" bug (https://bugs.launchpad.net/ubuntu/+s...apt/+bug/24234) and might help here:

                  1: Delete the contents of /var/lib/apt/lists/partial.

                  2: Ensure file /etc/apt/sources.list only points to "http://archive.ubuntu.com/ubuntu/", not sources such as "http://nz.archive.ubuntu.com/ubuntu/"

                  3: Run the command sudo apt-get update -o Acquire::http::No-Cache=true

                  4: Run the command sudo apt-get update

                  Comment


                    #10
                    Re. Not able to install Kontact or KMail - Broken Packages

                    Sorry for keeping this post open for such a long time guys,
                    any ways its fixed now, guess what; I re-installed Kubuntu !!

                    Thanx 4 all ur hlp ppl
                    Jesus is Real &= GOD, unless you declare him an Integer.

                    Comment

                    Working...
                    X