Announcement

Collapse
No announcement yet.

Kde 4.9.00 Address autocompletion in Kontact/Kmail

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

    #31
    Code:
    [B]cd[/B] to [I]/path[/I]
    [B]dpkg --force-all -i[/B] [I]package_name[/I].[B]deb[/B]
    Usually , you don't need --force-all, but that's used here so apt doesn't complain
    sigpic

    Comment


      #32
      Can multiple packages be installed with dpkg as with apt-get?
      Windows no longer obstructs my view.
      Using Kubuntu Linux since March 23, 2007.
      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

      Comment


        #33
        Yes they can. Either use wildcard (*.deb), or dpkg --force-all -i package1.deb package2.deb
        Note that with --force-all you'll have a broken apt, give a second, i'll explain how to avoid that

        Code:
        cd [I]to path[/I]
        mkdir tmp
        dpkg-deb -x [I]packagename[/I].deb tmp/
        dpkg-deb -e [I]packagename[/I].deb tmp/DEBIAN
        nano tmp/DEBIAN/control
        here you change version to match that you already have installed
        for libkdepim you'll change:
        Code:
        Package: libkdepim4
        Source: kdepim
        [B]Version: 4:4.9.0-0ubuntu2~precise1~ppa2[/B]
        to
        Code:
        Package: libkdepim4
        Source: kdepim
        [B]Version: 4:4.9.0-0ubuntu2~precise1~ppa[/B]1
        and then
        Code:
        dpkg -b tmp/ libkdepim4.deb
        and then install created (not downloaded) deb.
        Note that filename i created (libkdepim4.deb) doesn't matter, you can call it prettygirl.deb, only thing that mathers to dpkg is that what's inside DEBIAN/control, filename only mathers to apt!
        Last edited by sumski; Aug 06, 2012, 11:52 AM.
        sigpic

        Comment


          #34
          Didn't have to use --force-all on libkdepim4_4.9.0-0ubuntu2~precise1~ppa2_amd64.deb. However, attempting the install (not using --force-all) on libmessagecomposer4_4.9.0-0ubuntu2~precise1~ppa2_amd64.deb gives depend errors, and won't install. Here is the output from both commands:
          paul@tanagra:~/Downloads/schumskiPPA$ sudo dpkg --install libkdepim4_4.9.0-0ubuntu2~precise1~ppa2_amd64.deb[sudo] password for paul:
          (Reading database ... 264481 files and directories currently installed.)
          Preparing to replace libkdepim4 4:4.9.0-0ubuntu2~precise1~ppa1 (using libkdepim4_4.9.0-0ubuntu2~precise1~ppa2_amd64.deb) ...
          Unpacking replacement libkdepim4 ...
          Setting up libkdepim4 (4:4.9.0-0ubuntu2~precise1~ppa2) ...
          Processing triggers for libc-bin ...
          ldconfig deferred processing now taking place
          paul@tanagra:~/Downloads/schumskiPPA$ sudo dpkg --install libmessagecomposer4_4.9.0-0ubuntu2~precise1~ppa2_amd64.deb(Reading database ... 264481 files and directories currently installed.)
          Preparing to replace libmessagecomposer4 4:4.9.0-0ubuntu2~precise1~ppa1 (using libmessagecomposer4_4.9.0-0ubuntu2~precise1~ppa2_amd64.deb) ...
          Unpacking replacement libmessagecomposer4 ...
          dpkg: dependency problems prevent configuration of libmessagecomposer4:
          libmessagecomposer4 depends on libkleo4 (= 4:4.9.0-0ubuntu2~precise1~ppa2); however:
          Version of libkleo4 on system is 4:4.9.0-0ubuntu2~precise1~ppa1.
          libmessagecomposer4 depends on libmessagecore4 (= 4:4.9.0-0ubuntu2~precise1~ppa2); however:
          Version of libmessagecore4 on system is 4:4.9.0-0ubuntu2~precise1~ppa1.
          libmessagecomposer4 depends on libmessageviewer4 (= 4:4.9.0-0ubuntu2~precise1~ppa2); however:
          Version of libmessageviewer4 on system is 4:4.9.0-0ubuntu2~precise1~ppa1.
          libmessagecomposer4 depends on libtemplateparser4 (= 4:4.9.0-0ubuntu2~precise1~ppa2); however:
          Version of libtemplateparser4 on system is 4:4.9.0-0ubuntu2~precise1~ppa1.
          dpkg: error processing libmessagecomposer4 (--install):
          dependency problems - leaving unconfigured
          Errors were encountered while processing:
          libmessagecomposer4
          Windows no longer obstructs my view.
          Using Kubuntu Linux since March 23, 2007.
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #35
            See above, with only difference being you will not only change version, but also line with dependancies, from:
            Code:
            [B]Depends[/B]: kdepim-runtime, kdepimlibs-kio-plugins, libakonadi-contact4 (>= 4:4.9.0), libakonadi-kde4 (>= 4:4.9.0), libakonadi-kmime4 (>= 4:4.9.0), libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libgpgme++2 (>= 4:4.9.0), libkabc4 (>= 4:4.9.0), libkdecore5 (>= 4:4.9.0a), libkdepim4 (= 4:4.9.0-0ubuntu2~precise1~ppa2), libkdeui5 (>= 4:4.9.0a), libkio5 (>= 4:4.9.0a), libkleo4 (= 4:4.9.0-0ubuntu2~precise1~ppa2), libkmime4 (>= 4:4.9.0), libkpimidentities4 (>= 4:4.9.0), libkpimtextedit4 (>= 4:4.9.0), libkpimutils4 (>= 4:4.9.0), libmailtransport4 (>= 4:4.9.0), libmessagecore4 (= 4:4.9.0-0ubuntu2~precise1~ppa2), libmessageviewer4 (= 4:4.9.0-0ubuntu2~precise1~ppa2), libqt4-network (>= 4:4.5.3), libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>= 4:4.6.1), libstdc++6 (>= 4.1.1), libtemplateparser4 (= 4:4.9.0-0ubuntu2~precise1~ppa2)
            to
            Code:
            Depends: kdepim-runtime
            sigpic

            Comment


              #36
              What about these two entries:

              Breaks: kdepim-runtime (<< 4:4.4.60), kmail (<< 4:4.1.80)
              Replaces: kdepim-runtime (<< 4:4.4.60), kmail (<< 4:4.1.80), libakonadi-kcal-nex....
              Windows no longer obstructs my view.
              Using Kubuntu Linux since March 23, 2007.
              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

              Comment


                #37
                Leave that, that's just for upgraders from earlier versions (see how old these versions are)
                sigpic

                Comment


                  #38
                  Okay. Followed your instructions and built the new .deb package (libkdepim4.deb). I simulated the installation of the new package and it doesn't complain:
                  sudo dpkg --install --simulate libkdepim4.deb[sudo] password for paul:
                  (Reading database ... 264481 files and directories currently installed.)
                  Preparing to replace libkdepim4 4:4.9.0-0ubuntu2~precise1~ppa1 (using libkdepim4.deb) ...
                  And the same simulated install of the second package is also complaint free:
                  sudo dpkg --install --simulate libmessagecomposer4_4.9.0-0ubuntu2~precise1~ppa2_amd64.deb(Reading database ... 264481 files and directories currently installed.)
                  Preparing to replace libmessagecomposer4 4:4.9.0-0ubuntu2~precise1~ppa2 (using libmessagecomposer4_4.9.0-0ubuntu2~precise1~ppa2_amd64.deb) ...
                  Simulated install of both files together is also without complaint:
                  sudo dpkg --install --simulate libkdepim4.deb libmessagecomposer4_4.9.0-0ubuntu2~precise1~ppa2_amd64.deb(Reading database ... 264481 files and directories currently installed.)
                  Preparing to replace libkdepim4 4:4.9.0-0ubuntu2~precise1~ppa1 (using libkdepim4.deb) ...
                  Preparing to replace libmessagecomposer4 4:4.9.0-0ubuntu2~precise1~ppa2 (using libmessagecomposer4_4.9.0-0ubuntu2~precise1~ppa2_amd64.deb) ...
                  Therefore, I'll assume that I don't need to use the --force-all option, yes?
                  Windows no longer obstructs my view.
                  Using Kubuntu Linux since March 23, 2007.
                  "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                  Comment


                    #39
                    Yes, with instructions in post #33 you both avoid --force-all and broken apt :cool:
                    sigpic

                    Comment


                      #40
                      Well, I do have an apt issue now. In my #34, I didn't use the --force-all, as the simulated install didn't complain. Now, when I run sudo apt-get dist-upgrade apt complains about:
                      distupgradeReading package lists... Done
                      Building dependency tree
                      Reading state information... Done
                      You might want to run 'apt-get -f install' to correct these.
                      The following packages have unmet dependencies:
                      kmail : Depends: libmessagecomposer4 (= 4:4.9.0-0ubuntu2~precise1~ppa1) but 4:4.9.0-0ubuntu2~precise1~ppa2 is installed
                      libmailcommon4 : Depends: libmessagecomposer4 (= 4:4.9.0-0ubuntu2~precise1~ppa1) but 4:4.9.0-0ubuntu2~precise1~ppa2 is installed
                      libmessagecomposer4 : Depends: libkdepim4 (= 4:4.9.0-0ubuntu2~precise1~ppa2) but 4:4.9.0-0ubuntu2~precise1~ppa1 is installed
                      Depends: libkleo4 (= 4:4.9.0-0ubuntu2~precise1~ppa2) but 4:4.9.0-0ubuntu2~precise1~ppa1 is installed
                      Depends: libmessagecore4 (= 4:4.9.0-0ubuntu2~precise1~ppa2) but 4:4.9.0-0ubuntu2~precise1~ppa1 is installed
                      Depends: libmessageviewer4 (= 4:4.9.0-0ubuntu2~precise1~ppa2) but 4:4.9.0-0ubuntu2~precise1~ppa1 is installed
                      Depends: libtemplateparser4 (= 4:4.9.0-0ubuntu2~precise1~ppa2) but 4:4.9.0-0ubuntu2~precise1~ppa1 is installed
                      E: Unmet dependencies. Try using -f.
                      In my post #34, I didn't use the --force-all on the downloaded libkdepim4_4.9.0-0ubuntu2~precise1~ppa2_amd64.deb file (that's what I get for not waiting for your stated "Note that with --force-all you'll have a broken apt, give a second, i'll explain how to avoid that"). So, given that I now have a broken apt, how do I fix it?
                      Windows no longer obstructs my view.
                      Using Kubuntu Linux since March 23, 2007.
                      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                      Comment


                        #41
                        Try with
                        Code:
                        dpkg -P --force-all libmessagecomposer4
                        dpkg --clear-avail
                        and then again install that libmessagecomposer4 package you created
                        sigpic

                        Comment


                          #42
                          Originally posted by sumski View Post
                          Try with
                          Code:
                          dpkg -P --force-all libmessagecomposer4
                          dpkg --clear-avail
                          and then again install that libmessagecomposer4 package you created
                          I didn't 'create' the libmessagecomposer4 package -- it's the one I downloaded from your PPA. I build the libkdepim4 package. libmessagecomposer4_4.9.0-0ubuntu2~precise1~ppa2_amd64.deb has not been installed, only 'simulated'.
                          Windows no longer obstructs my view.
                          Using Kubuntu Linux since March 23, 2007.
                          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                          Comment


                            #43
                            According to post #40 , libmessagecomposer4_4.9.0-0ubuntu2~precise1~ppa2 is installed:
                            kmail : Depends: libmessagecomposer4 (= 4:4.9.0-0ubuntu2~precise1~ppa1) but 4:4.9.0-0ubuntu2~precise1~ppa2 is installed
                            What's the output of:
                            Code:
                             apt-cache policy libmessagecomposer4
                            EDIT2:
                            http://www.kubuntuforums.net/showthr...l=1#post305569
                            Clearly you installed ppa2 version
                            Last edited by sumski; Aug 06, 2012, 01:07 PM.
                            sigpic

                            Comment


                              #44
                              OK - lets go from begining
                              You have obviously installed libmessagecomposer from my PPA without editing control file, and now you have a broken apt.
                              To fix this:
                              Code:
                              dpkg -P --force-all libmessagecomposer4
                              dpkg --clear-avail
                              then:
                              first remove that tmp/ you used for libkdepim4, and for packagename use libmessagecomposer4...
                              Code:
                              cd [I]to path[/I]
                              mkdir tmp
                              dpkg-deb -x [I]packagename[/I].deb tmp/
                              dpkg-deb -e [I]packagename[/I].deb tmp/DEBIAN
                              nano tmp/DEBIAN/control
                              here you change version to match that you already have installed
                              for libmessagecomposer4 you'll change:
                              Code:
                              Package: libkdepim4
                              Source: kdepim
                              [B]Version: 4:4.9.0-0ubuntu2~precise1~ppa2[/B]
                              to
                              Code:
                              Package: libkdepim4
                              Source: kdepim
                              [B]Version: 4:4.9.0-0ubuntu2~precise1~ppa[/B]1
                              Also change this line with dependancies, from:
                              Code:
                              [B]Depends[/B]: kdepim-runtime, kdepimlibs-kio-plugins,  libakonadi-contact4 (>= 4:4.9.0), libakonadi-kde4 (>= 4:4.9.0),  libakonadi-kmime4 (>= 4:4.9.0), libc6 (>= 2.14), libgcc1 (>=  1:4.1.1), libgpgme++2 (>= 4:4.9.0), libkabc4 (>= 4:4.9.0),  libkdecore5 (>= 4:4.9.0a), libkdepim4 (=  4:4.9.0-0ubuntu2~precise1~ppa2), libkdeui5 (>= 4:4.9.0a), libkio5  (>= 4:4.9.0a), libkleo4 (= 4:4.9.0-0ubuntu2~precise1~ppa2), libkmime4  (>= 4:4.9.0), libkpimidentities4 (>= 4:4.9.0), libkpimtextedit4  (>= 4:4.9.0), libkpimutils4 (>= 4:4.9.0), libmailtransport4 (>=  4:4.9.0), libmessagecore4 (= 4:4.9.0-0ubuntu2~precise1~ppa2),  libmessageviewer4 (= 4:4.9.0-0ubuntu2~precise1~ppa2), libqt4-network  (>= 4:4.5.3), libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>=  4:4.6.1), libstdc++6 (>= 4.1.1), libtemplateparser4 (=  4:4.9.0-0ubuntu2~precise1~ppa2)
                              to
                              Code:
                              Depends: kdepim-runtime
                              and then
                              Code:
                              dpkg -b tmp/ libmessagecomposer4.deb
                              sigpic

                              Comment


                                #45
                                First, I am extremely grateful for the 'hand holding' you are providing. Thank you.

                                Before your recent post, I had already figured out what I had done. In fact, I had installed libmessagecomposer4_4.9.0-0ubuntu2~precise1~ppa2_amd64.deb from your PPA. I thought it hadn't installed because I misread the following:

                                libmessagecomposer4 depends on libmessageviewer4 (= 4:4.9.0-0ubuntu2~precise1~ppa2); however:
                                Version of libmessageviewer4 on system is 4:4.9.0-0ubuntu2~precise1~ppa1.
                                libmessagecomposer4 depends on libtemplateparser4 (= 4:4.9.0-0ubuntu2~precise1~ppa2); however:
                                Version of libtemplateparser4 on system is 4:4.9.0-0ubuntu2~precise1~ppa1.
                                dpkg: error processing libmessagecomposer4 (--install):
                                dependency problems - leaving unconfigured
                                Errors were encountered while processing:
                                libmessagecomposer4

                                It was libmessagecomposer4 that didn't get installed.

                                I've re-installed the 'original' libkdepim4_4.9.0-0ubuntu2~precise1~ppa1_amd64.deb and re-ran sudo apt-get update and sudo apt-get dist-upgrade and apt no longer has any complaints. So I am back to a good starting point.

                                sudo apt-cache show libkdepim4 | grep Version
                                Version: 4:4.9.0-0ubuntu2~precise1~ppa1
                                Version: 4:4.8.4a-0ubuntu0.3
                                Version: 4:4.8.4a-0ubuntu0.1~ppa1
                                Version: 4:4.8.2-0ubuntu2

                                sudo apt-cache show libmessagecomposer4 | grep Version
                                Version: 4:4.9.0-0ubuntu2~precise1~ppa1
                                Version: 4:4.8.4a-0ubuntu0.3
                                Version: 4:4.8.4a-0ubuntu0.1~ppa1
                                Version: 4:4.8.2-0ubuntu2
                                Last edited by Snowhog; Aug 06, 2012, 01:25 PM.
                                Windows no longer obstructs my view.
                                Using Kubuntu Linux since March 23, 2007.
                                "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                                Comment

                                Working...
                                X