apt-get broken, cannot fix or remove libapt-pkg4.12












7















I managed to break my package management.
If I try to make an upgrade, I get:



$ sudo apt-get dist-upgrade
Reading 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:
libapt-pkg4.12 : Breaks: libapt-pkg4.12:i386 (!= 0.8.16~exp12ubuntu10.3) but 0.8.16~exp12ubuntu10.2 is installed
libapt-pkg4.12:i386 : Breaks: libapt-pkg4.12 (!= 0.8.16~exp12ubuntu10.2) but 0.8.16~exp12ubuntu10.3 is installed
E: Unmet dependencies. Try using -f.


Then I try to follow apt-get recommendation:



$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
libapt-inst1.4:i386 libapt-pkg4.12:i386
0 upgraded, 0 newly installed, 2 to remove and 33 not upgraded.
48 not fully installed or removed.
After this operation, 3 866 kB disk space will be freed.
Do you want to continue [Y/n]?
E: Internal Error, No file name for libapt-pkg4.12


Kubuntu 12.04 64bit. Can anyone help me to solve it?










share|improve this question



























    7















    I managed to break my package management.
    If I try to make an upgrade, I get:



    $ sudo apt-get dist-upgrade
    Reading 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:
    libapt-pkg4.12 : Breaks: libapt-pkg4.12:i386 (!= 0.8.16~exp12ubuntu10.3) but 0.8.16~exp12ubuntu10.2 is installed
    libapt-pkg4.12:i386 : Breaks: libapt-pkg4.12 (!= 0.8.16~exp12ubuntu10.2) but 0.8.16~exp12ubuntu10.3 is installed
    E: Unmet dependencies. Try using -f.


    Then I try to follow apt-get recommendation:



    $ sudo apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following packages will be REMOVED:
    libapt-inst1.4:i386 libapt-pkg4.12:i386
    0 upgraded, 0 newly installed, 2 to remove and 33 not upgraded.
    48 not fully installed or removed.
    After this operation, 3 866 kB disk space will be freed.
    Do you want to continue [Y/n]?
    E: Internal Error, No file name for libapt-pkg4.12


    Kubuntu 12.04 64bit. Can anyone help me to solve it?










    share|improve this question

























      7












      7








      7


      2






      I managed to break my package management.
      If I try to make an upgrade, I get:



      $ sudo apt-get dist-upgrade
      Reading 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:
      libapt-pkg4.12 : Breaks: libapt-pkg4.12:i386 (!= 0.8.16~exp12ubuntu10.3) but 0.8.16~exp12ubuntu10.2 is installed
      libapt-pkg4.12:i386 : Breaks: libapt-pkg4.12 (!= 0.8.16~exp12ubuntu10.2) but 0.8.16~exp12ubuntu10.3 is installed
      E: Unmet dependencies. Try using -f.


      Then I try to follow apt-get recommendation:



      $ sudo apt-get -f install
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Correcting dependencies... Done
      The following packages will be REMOVED:
      libapt-inst1.4:i386 libapt-pkg4.12:i386
      0 upgraded, 0 newly installed, 2 to remove and 33 not upgraded.
      48 not fully installed or removed.
      After this operation, 3 866 kB disk space will be freed.
      Do you want to continue [Y/n]?
      E: Internal Error, No file name for libapt-pkg4.12


      Kubuntu 12.04 64bit. Can anyone help me to solve it?










      share|improve this question














      I managed to break my package management.
      If I try to make an upgrade, I get:



      $ sudo apt-get dist-upgrade
      Reading 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:
      libapt-pkg4.12 : Breaks: libapt-pkg4.12:i386 (!= 0.8.16~exp12ubuntu10.3) but 0.8.16~exp12ubuntu10.2 is installed
      libapt-pkg4.12:i386 : Breaks: libapt-pkg4.12 (!= 0.8.16~exp12ubuntu10.2) but 0.8.16~exp12ubuntu10.3 is installed
      E: Unmet dependencies. Try using -f.


      Then I try to follow apt-get recommendation:



      $ sudo apt-get -f install
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Correcting dependencies... Done
      The following packages will be REMOVED:
      libapt-inst1.4:i386 libapt-pkg4.12:i386
      0 upgraded, 0 newly installed, 2 to remove and 33 not upgraded.
      48 not fully installed or removed.
      After this operation, 3 866 kB disk space will be freed.
      Do you want to continue [Y/n]?
      E: Internal Error, No file name for libapt-pkg4.12


      Kubuntu 12.04 64bit. Can anyone help me to solve it?







      apt 64-bit kubuntu






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 22 '12 at 7:56









      Märt RangMärt Rang

      38114




      38114






















          3 Answers
          3






          active

          oldest

          votes


















          10














          Run:



          dpkg --configure -a


          and try again.



          You can also download the libapt-pkg package from here and install it manually:





          If the above commands don't work:



          Update: The command below doesn't work. Download the appropriate version directly at http://security.ubuntu.com/ubuntu/pool/main/a/apt/.



          Download the package using the following command:



          wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg4.12_0.9.7.1ubuntu2_amd64.deb


          Now remove the currently installed package:



          sudo dpkg --force-depends -r libapt-pkg4.12
          sudo dpkg --force-depends -r libapt-pkg4.12:i386


          Then, install the downloaded package:



          sudo dpkg -i libapt-pkg4.12_0.9.7.1ubuntu2_amd64.deb


          Run, the following command again and check:



          sudo apt-get -f install 





          share|improve this answer


























          • Did that. It finished upgrade, but I still get this when I try to upgrade: The following packages have unmet dependencies: libapt-pkg4.12 : Breaks: libapt-pkg4.12:i386 (!= 0.8.16~exp12ubuntu10.3) but 0.8.16~exp12ubuntu10.2 is installed libapt-pkg4.12:i386 : Breaks: libapt-pkg4.12 (!= 0.8.16~exp12ubuntu10.2) but 0.8.16~exp12ubuntu10.3 is installed

            – Märt Rang
            Aug 22 '12 at 9:25













          • try the updated answer.

            – green
            Aug 22 '12 at 9:54






          • 1





            thanks, it works now. I had to remove libapt-pkg4.12:i386 too. Linux package management can cause a lot of headaches.

            – Märt Rang
            Aug 22 '12 at 10:16











          • updated the answer, thanks! :)

            – green
            Aug 22 '12 at 12:27











          • For wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg4.12_0.9.7.1ubuntu2_amd64.deb I get the error: HTTP request sent, awaiting response... 404 Not Found 2012-10-06 22:04:10 ERROR 404: Not Found. . Gulp.

            – Mochan
            Oct 6 '12 at 12:04





















          5














          This is how I did it:



          First, I downloaded this 2 deb files:



          apt_0.9.7.7ubuntu3_i386.deb
          libapt-pkg4.12_0.9.7.7ubuntu3_i386.deb


          Second, I run this command:



          sudo dpkg --force-depends -r libapt-pkg4.12


          Then I install the 2 deb files with this command:



          sudo dpkg -i apt_0.9.7.7ubuntu3_i386.deb libapt-pkg4.12_0.9.7.7ubuntu3_i386.deb


          and it works....






          share|improve this answer

































            0














            I had the dependency apt, apt-get, apt-key error on my debian stretch and after thousands of browser tabs, reboots and program crashes, I solved it by purging the apt version I had and re-downloading and installing the latest apt here and got => (apt_1.8.0_alpha2_amd64.deb) which solved my problems. from (manual) download folder, rundpkg -i apt_1.8.0_alpha2_amd64.deb as root.






            share|improve this answer























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "89"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f178879%2fapt-get-broken-cannot-fix-or-remove-libapt-pkg4-12%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              10














              Run:



              dpkg --configure -a


              and try again.



              You can also download the libapt-pkg package from here and install it manually:





              If the above commands don't work:



              Update: The command below doesn't work. Download the appropriate version directly at http://security.ubuntu.com/ubuntu/pool/main/a/apt/.



              Download the package using the following command:



              wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg4.12_0.9.7.1ubuntu2_amd64.deb


              Now remove the currently installed package:



              sudo dpkg --force-depends -r libapt-pkg4.12
              sudo dpkg --force-depends -r libapt-pkg4.12:i386


              Then, install the downloaded package:



              sudo dpkg -i libapt-pkg4.12_0.9.7.1ubuntu2_amd64.deb


              Run, the following command again and check:



              sudo apt-get -f install 





              share|improve this answer


























              • Did that. It finished upgrade, but I still get this when I try to upgrade: The following packages have unmet dependencies: libapt-pkg4.12 : Breaks: libapt-pkg4.12:i386 (!= 0.8.16~exp12ubuntu10.3) but 0.8.16~exp12ubuntu10.2 is installed libapt-pkg4.12:i386 : Breaks: libapt-pkg4.12 (!= 0.8.16~exp12ubuntu10.2) but 0.8.16~exp12ubuntu10.3 is installed

                – Märt Rang
                Aug 22 '12 at 9:25













              • try the updated answer.

                – green
                Aug 22 '12 at 9:54






              • 1





                thanks, it works now. I had to remove libapt-pkg4.12:i386 too. Linux package management can cause a lot of headaches.

                – Märt Rang
                Aug 22 '12 at 10:16











              • updated the answer, thanks! :)

                – green
                Aug 22 '12 at 12:27











              • For wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg4.12_0.9.7.1ubuntu2_amd64.deb I get the error: HTTP request sent, awaiting response... 404 Not Found 2012-10-06 22:04:10 ERROR 404: Not Found. . Gulp.

                – Mochan
                Oct 6 '12 at 12:04


















              10














              Run:



              dpkg --configure -a


              and try again.



              You can also download the libapt-pkg package from here and install it manually:





              If the above commands don't work:



              Update: The command below doesn't work. Download the appropriate version directly at http://security.ubuntu.com/ubuntu/pool/main/a/apt/.



              Download the package using the following command:



              wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg4.12_0.9.7.1ubuntu2_amd64.deb


              Now remove the currently installed package:



              sudo dpkg --force-depends -r libapt-pkg4.12
              sudo dpkg --force-depends -r libapt-pkg4.12:i386


              Then, install the downloaded package:



              sudo dpkg -i libapt-pkg4.12_0.9.7.1ubuntu2_amd64.deb


              Run, the following command again and check:



              sudo apt-get -f install 





              share|improve this answer


























              • Did that. It finished upgrade, but I still get this when I try to upgrade: The following packages have unmet dependencies: libapt-pkg4.12 : Breaks: libapt-pkg4.12:i386 (!= 0.8.16~exp12ubuntu10.3) but 0.8.16~exp12ubuntu10.2 is installed libapt-pkg4.12:i386 : Breaks: libapt-pkg4.12 (!= 0.8.16~exp12ubuntu10.2) but 0.8.16~exp12ubuntu10.3 is installed

                – Märt Rang
                Aug 22 '12 at 9:25













              • try the updated answer.

                – green
                Aug 22 '12 at 9:54






              • 1





                thanks, it works now. I had to remove libapt-pkg4.12:i386 too. Linux package management can cause a lot of headaches.

                – Märt Rang
                Aug 22 '12 at 10:16











              • updated the answer, thanks! :)

                – green
                Aug 22 '12 at 12:27











              • For wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg4.12_0.9.7.1ubuntu2_amd64.deb I get the error: HTTP request sent, awaiting response... 404 Not Found 2012-10-06 22:04:10 ERROR 404: Not Found. . Gulp.

                – Mochan
                Oct 6 '12 at 12:04
















              10












              10








              10







              Run:



              dpkg --configure -a


              and try again.



              You can also download the libapt-pkg package from here and install it manually:





              If the above commands don't work:



              Update: The command below doesn't work. Download the appropriate version directly at http://security.ubuntu.com/ubuntu/pool/main/a/apt/.



              Download the package using the following command:



              wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg4.12_0.9.7.1ubuntu2_amd64.deb


              Now remove the currently installed package:



              sudo dpkg --force-depends -r libapt-pkg4.12
              sudo dpkg --force-depends -r libapt-pkg4.12:i386


              Then, install the downloaded package:



              sudo dpkg -i libapt-pkg4.12_0.9.7.1ubuntu2_amd64.deb


              Run, the following command again and check:



              sudo apt-get -f install 





              share|improve this answer















              Run:



              dpkg --configure -a


              and try again.



              You can also download the libapt-pkg package from here and install it manually:





              If the above commands don't work:



              Update: The command below doesn't work. Download the appropriate version directly at http://security.ubuntu.com/ubuntu/pool/main/a/apt/.



              Download the package using the following command:



              wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg4.12_0.9.7.1ubuntu2_amd64.deb


              Now remove the currently installed package:



              sudo dpkg --force-depends -r libapt-pkg4.12
              sudo dpkg --force-depends -r libapt-pkg4.12:i386


              Then, install the downloaded package:



              sudo dpkg -i libapt-pkg4.12_0.9.7.1ubuntu2_amd64.deb


              Run, the following command again and check:



              sudo apt-get -f install 






              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Oct 6 '12 at 12:16

























              answered Aug 22 '12 at 8:21









              greengreen

              11.8k43558




              11.8k43558













              • Did that. It finished upgrade, but I still get this when I try to upgrade: The following packages have unmet dependencies: libapt-pkg4.12 : Breaks: libapt-pkg4.12:i386 (!= 0.8.16~exp12ubuntu10.3) but 0.8.16~exp12ubuntu10.2 is installed libapt-pkg4.12:i386 : Breaks: libapt-pkg4.12 (!= 0.8.16~exp12ubuntu10.2) but 0.8.16~exp12ubuntu10.3 is installed

                – Märt Rang
                Aug 22 '12 at 9:25













              • try the updated answer.

                – green
                Aug 22 '12 at 9:54






              • 1





                thanks, it works now. I had to remove libapt-pkg4.12:i386 too. Linux package management can cause a lot of headaches.

                – Märt Rang
                Aug 22 '12 at 10:16











              • updated the answer, thanks! :)

                – green
                Aug 22 '12 at 12:27











              • For wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg4.12_0.9.7.1ubuntu2_amd64.deb I get the error: HTTP request sent, awaiting response... 404 Not Found 2012-10-06 22:04:10 ERROR 404: Not Found. . Gulp.

                – Mochan
                Oct 6 '12 at 12:04





















              • Did that. It finished upgrade, but I still get this when I try to upgrade: The following packages have unmet dependencies: libapt-pkg4.12 : Breaks: libapt-pkg4.12:i386 (!= 0.8.16~exp12ubuntu10.3) but 0.8.16~exp12ubuntu10.2 is installed libapt-pkg4.12:i386 : Breaks: libapt-pkg4.12 (!= 0.8.16~exp12ubuntu10.2) but 0.8.16~exp12ubuntu10.3 is installed

                – Märt Rang
                Aug 22 '12 at 9:25













              • try the updated answer.

                – green
                Aug 22 '12 at 9:54






              • 1





                thanks, it works now. I had to remove libapt-pkg4.12:i386 too. Linux package management can cause a lot of headaches.

                – Märt Rang
                Aug 22 '12 at 10:16











              • updated the answer, thanks! :)

                – green
                Aug 22 '12 at 12:27











              • For wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg4.12_0.9.7.1ubuntu2_amd64.deb I get the error: HTTP request sent, awaiting response... 404 Not Found 2012-10-06 22:04:10 ERROR 404: Not Found. . Gulp.

                – Mochan
                Oct 6 '12 at 12:04



















              Did that. It finished upgrade, but I still get this when I try to upgrade: The following packages have unmet dependencies: libapt-pkg4.12 : Breaks: libapt-pkg4.12:i386 (!= 0.8.16~exp12ubuntu10.3) but 0.8.16~exp12ubuntu10.2 is installed libapt-pkg4.12:i386 : Breaks: libapt-pkg4.12 (!= 0.8.16~exp12ubuntu10.2) but 0.8.16~exp12ubuntu10.3 is installed

              – Märt Rang
              Aug 22 '12 at 9:25







              Did that. It finished upgrade, but I still get this when I try to upgrade: The following packages have unmet dependencies: libapt-pkg4.12 : Breaks: libapt-pkg4.12:i386 (!= 0.8.16~exp12ubuntu10.3) but 0.8.16~exp12ubuntu10.2 is installed libapt-pkg4.12:i386 : Breaks: libapt-pkg4.12 (!= 0.8.16~exp12ubuntu10.2) but 0.8.16~exp12ubuntu10.3 is installed

              – Märt Rang
              Aug 22 '12 at 9:25















              try the updated answer.

              – green
              Aug 22 '12 at 9:54





              try the updated answer.

              – green
              Aug 22 '12 at 9:54




              1




              1





              thanks, it works now. I had to remove libapt-pkg4.12:i386 too. Linux package management can cause a lot of headaches.

              – Märt Rang
              Aug 22 '12 at 10:16





              thanks, it works now. I had to remove libapt-pkg4.12:i386 too. Linux package management can cause a lot of headaches.

              – Märt Rang
              Aug 22 '12 at 10:16













              updated the answer, thanks! :)

              – green
              Aug 22 '12 at 12:27





              updated the answer, thanks! :)

              – green
              Aug 22 '12 at 12:27













              For wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg4.12_0.9.7.1ubuntu2_amd64.deb I get the error: HTTP request sent, awaiting response... 404 Not Found 2012-10-06 22:04:10 ERROR 404: Not Found. . Gulp.

              – Mochan
              Oct 6 '12 at 12:04







              For wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg4.12_0.9.7.1ubuntu2_amd64.deb I get the error: HTTP request sent, awaiting response... 404 Not Found 2012-10-06 22:04:10 ERROR 404: Not Found. . Gulp.

              – Mochan
              Oct 6 '12 at 12:04















              5














              This is how I did it:



              First, I downloaded this 2 deb files:



              apt_0.9.7.7ubuntu3_i386.deb
              libapt-pkg4.12_0.9.7.7ubuntu3_i386.deb


              Second, I run this command:



              sudo dpkg --force-depends -r libapt-pkg4.12


              Then I install the 2 deb files with this command:



              sudo dpkg -i apt_0.9.7.7ubuntu3_i386.deb libapt-pkg4.12_0.9.7.7ubuntu3_i386.deb


              and it works....






              share|improve this answer






























                5














                This is how I did it:



                First, I downloaded this 2 deb files:



                apt_0.9.7.7ubuntu3_i386.deb
                libapt-pkg4.12_0.9.7.7ubuntu3_i386.deb


                Second, I run this command:



                sudo dpkg --force-depends -r libapt-pkg4.12


                Then I install the 2 deb files with this command:



                sudo dpkg -i apt_0.9.7.7ubuntu3_i386.deb libapt-pkg4.12_0.9.7.7ubuntu3_i386.deb


                and it works....






                share|improve this answer




























                  5












                  5








                  5







                  This is how I did it:



                  First, I downloaded this 2 deb files:



                  apt_0.9.7.7ubuntu3_i386.deb
                  libapt-pkg4.12_0.9.7.7ubuntu3_i386.deb


                  Second, I run this command:



                  sudo dpkg --force-depends -r libapt-pkg4.12


                  Then I install the 2 deb files with this command:



                  sudo dpkg -i apt_0.9.7.7ubuntu3_i386.deb libapt-pkg4.12_0.9.7.7ubuntu3_i386.deb


                  and it works....






                  share|improve this answer















                  This is how I did it:



                  First, I downloaded this 2 deb files:



                  apt_0.9.7.7ubuntu3_i386.deb
                  libapt-pkg4.12_0.9.7.7ubuntu3_i386.deb


                  Second, I run this command:



                  sudo dpkg --force-depends -r libapt-pkg4.12


                  Then I install the 2 deb files with this command:



                  sudo dpkg -i apt_0.9.7.7ubuntu3_i386.deb libapt-pkg4.12_0.9.7.7ubuntu3_i386.deb


                  and it works....







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Mar 15 '13 at 16:15









                  Lucio

                  12.5k2185159




                  12.5k2185159










                  answered Mar 15 '13 at 15:51









                  user140574user140574

                  5111




                  5111























                      0














                      I had the dependency apt, apt-get, apt-key error on my debian stretch and after thousands of browser tabs, reboots and program crashes, I solved it by purging the apt version I had and re-downloading and installing the latest apt here and got => (apt_1.8.0_alpha2_amd64.deb) which solved my problems. from (manual) download folder, rundpkg -i apt_1.8.0_alpha2_amd64.deb as root.






                      share|improve this answer




























                        0














                        I had the dependency apt, apt-get, apt-key error on my debian stretch and after thousands of browser tabs, reboots and program crashes, I solved it by purging the apt version I had and re-downloading and installing the latest apt here and got => (apt_1.8.0_alpha2_amd64.deb) which solved my problems. from (manual) download folder, rundpkg -i apt_1.8.0_alpha2_amd64.deb as root.






                        share|improve this answer


























                          0












                          0








                          0







                          I had the dependency apt, apt-get, apt-key error on my debian stretch and after thousands of browser tabs, reboots and program crashes, I solved it by purging the apt version I had and re-downloading and installing the latest apt here and got => (apt_1.8.0_alpha2_amd64.deb) which solved my problems. from (manual) download folder, rundpkg -i apt_1.8.0_alpha2_amd64.deb as root.






                          share|improve this answer













                          I had the dependency apt, apt-get, apt-key error on my debian stretch and after thousands of browser tabs, reboots and program crashes, I solved it by purging the apt version I had and re-downloading and installing the latest apt here and got => (apt_1.8.0_alpha2_amd64.deb) which solved my problems. from (manual) download folder, rundpkg -i apt_1.8.0_alpha2_amd64.deb as root.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Dec 28 '18 at 11:49









                          ThorneThorne

                          11




                          11






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Ask Ubuntu!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f178879%2fapt-get-broken-cannot-fix-or-remove-libapt-pkg4-12%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              How to change which sound is reproduced for terminal bell?

                              Can I use Tabulator js library in my java Spring + Thymeleaf project?

                              Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents