Dpkg/apt problem with pyhon/ansible

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












i installed a kernel:apt install linux-image-4.18.0-0.bpo.1-amd64, after I used apt autoremove.
It has removed some python packages that i don' t remember, after I ran into some problems.

Settings and gnome-tweak-tool disappeared, setting is still missing.

I tried apt -f install, apt --fix-broken install and dpkg --configure -a but dpkg error 1.

Therefore i manually deleted the problematic fields in /var/lib/dpkg/status, initially 3.

After I was able to use apt again but no to install ansible, gnome-tweak-tool or any problematic package.

Then I used apt upgrade, and now is again broken (same packages):



[..]
dpkg: error processing package python-jinja2 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-gtk2:
python-gtk2 depends on python-numpy (>= 1:1.10.0~b1); however:
Package python-numpy is not configured yet.
python-gtk2 depends on python-numpy-abi9; however:
Package python-numpy-abi9 is not installed.
Package python-numpy which provides python-numpy-abi9 is not configured yet.
python-gtk2 depends on python-cairo (>= 1.0.2-1.1); however:
Package python-cairo is not configured yet.
python-gtk2 depends on python-gobject-2 (>= 2.21.3); however:
Package python-gobject-2 is not configured yet.

dpkg: error processing package python-gtk2 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gimp:
gimp depends on python-gtk2 (>= 2.8.0); however:
Package python-gtk2 is not configured yet.

dpkg: error processing package gimp (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Errors were encountered while processing:
python-idna
python-yaml
python-crypto
python-pyasn1
python-netaddr
python-xmltodict
python-pkg-resources
python-markupsafe
python-numpy
python-httplib2
python-gobject-2
python-six
python-paramiko
python-selinux
ansible
python-enum34
python-cryptography
python-cairo
python-ipaddress
python-setuptools
python-jinja2
python-gtk2
gimp
E: Sub-process /usr/bin/dpkg returned an error code (1)


I' m on debian 9. How can I fix it?










share|improve this question

























    up vote
    0
    down vote

    favorite












    i installed a kernel:apt install linux-image-4.18.0-0.bpo.1-amd64, after I used apt autoremove.
    It has removed some python packages that i don' t remember, after I ran into some problems.

    Settings and gnome-tweak-tool disappeared, setting is still missing.

    I tried apt -f install, apt --fix-broken install and dpkg --configure -a but dpkg error 1.

    Therefore i manually deleted the problematic fields in /var/lib/dpkg/status, initially 3.

    After I was able to use apt again but no to install ansible, gnome-tweak-tool or any problematic package.

    Then I used apt upgrade, and now is again broken (same packages):



    [..]
    dpkg: error processing package python-jinja2 (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of python-gtk2:
    python-gtk2 depends on python-numpy (>= 1:1.10.0~b1); however:
    Package python-numpy is not configured yet.
    python-gtk2 depends on python-numpy-abi9; however:
    Package python-numpy-abi9 is not installed.
    Package python-numpy which provides python-numpy-abi9 is not configured yet.
    python-gtk2 depends on python-cairo (>= 1.0.2-1.1); however:
    Package python-cairo is not configured yet.
    python-gtk2 depends on python-gobject-2 (>= 2.21.3); however:
    Package python-gobject-2 is not configured yet.

    dpkg: error processing package python-gtk2 (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of gimp:
    gimp depends on python-gtk2 (>= 2.8.0); however:
    Package python-gtk2 is not configured yet.

    dpkg: error processing package gimp (--configure):
    dependency problems - leaving unconfigured
    Processing triggers for libc-bin (2.24-11+deb9u3) ...
    Errors were encountered while processing:
    python-idna
    python-yaml
    python-crypto
    python-pyasn1
    python-netaddr
    python-xmltodict
    python-pkg-resources
    python-markupsafe
    python-numpy
    python-httplib2
    python-gobject-2
    python-six
    python-paramiko
    python-selinux
    ansible
    python-enum34
    python-cryptography
    python-cairo
    python-ipaddress
    python-setuptools
    python-jinja2
    python-gtk2
    gimp
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    I' m on debian 9. How can I fix it?










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      i installed a kernel:apt install linux-image-4.18.0-0.bpo.1-amd64, after I used apt autoremove.
      It has removed some python packages that i don' t remember, after I ran into some problems.

      Settings and gnome-tweak-tool disappeared, setting is still missing.

      I tried apt -f install, apt --fix-broken install and dpkg --configure -a but dpkg error 1.

      Therefore i manually deleted the problematic fields in /var/lib/dpkg/status, initially 3.

      After I was able to use apt again but no to install ansible, gnome-tweak-tool or any problematic package.

      Then I used apt upgrade, and now is again broken (same packages):



      [..]
      dpkg: error processing package python-jinja2 (--configure):
      dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of python-gtk2:
      python-gtk2 depends on python-numpy (>= 1:1.10.0~b1); however:
      Package python-numpy is not configured yet.
      python-gtk2 depends on python-numpy-abi9; however:
      Package python-numpy-abi9 is not installed.
      Package python-numpy which provides python-numpy-abi9 is not configured yet.
      python-gtk2 depends on python-cairo (>= 1.0.2-1.1); however:
      Package python-cairo is not configured yet.
      python-gtk2 depends on python-gobject-2 (>= 2.21.3); however:
      Package python-gobject-2 is not configured yet.

      dpkg: error processing package python-gtk2 (--configure):
      dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of gimp:
      gimp depends on python-gtk2 (>= 2.8.0); however:
      Package python-gtk2 is not configured yet.

      dpkg: error processing package gimp (--configure):
      dependency problems - leaving unconfigured
      Processing triggers for libc-bin (2.24-11+deb9u3) ...
      Errors were encountered while processing:
      python-idna
      python-yaml
      python-crypto
      python-pyasn1
      python-netaddr
      python-xmltodict
      python-pkg-resources
      python-markupsafe
      python-numpy
      python-httplib2
      python-gobject-2
      python-six
      python-paramiko
      python-selinux
      ansible
      python-enum34
      python-cryptography
      python-cairo
      python-ipaddress
      python-setuptools
      python-jinja2
      python-gtk2
      gimp
      E: Sub-process /usr/bin/dpkg returned an error code (1)


      I' m on debian 9. How can I fix it?










      share|improve this question













      i installed a kernel:apt install linux-image-4.18.0-0.bpo.1-amd64, after I used apt autoremove.
      It has removed some python packages that i don' t remember, after I ran into some problems.

      Settings and gnome-tweak-tool disappeared, setting is still missing.

      I tried apt -f install, apt --fix-broken install and dpkg --configure -a but dpkg error 1.

      Therefore i manually deleted the problematic fields in /var/lib/dpkg/status, initially 3.

      After I was able to use apt again but no to install ansible, gnome-tweak-tool or any problematic package.

      Then I used apt upgrade, and now is again broken (same packages):



      [..]
      dpkg: error processing package python-jinja2 (--configure):
      dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of python-gtk2:
      python-gtk2 depends on python-numpy (>= 1:1.10.0~b1); however:
      Package python-numpy is not configured yet.
      python-gtk2 depends on python-numpy-abi9; however:
      Package python-numpy-abi9 is not installed.
      Package python-numpy which provides python-numpy-abi9 is not configured yet.
      python-gtk2 depends on python-cairo (>= 1.0.2-1.1); however:
      Package python-cairo is not configured yet.
      python-gtk2 depends on python-gobject-2 (>= 2.21.3); however:
      Package python-gobject-2 is not configured yet.

      dpkg: error processing package python-gtk2 (--configure):
      dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of gimp:
      gimp depends on python-gtk2 (>= 2.8.0); however:
      Package python-gtk2 is not configured yet.

      dpkg: error processing package gimp (--configure):
      dependency problems - leaving unconfigured
      Processing triggers for libc-bin (2.24-11+deb9u3) ...
      Errors were encountered while processing:
      python-idna
      python-yaml
      python-crypto
      python-pyasn1
      python-netaddr
      python-xmltodict
      python-pkg-resources
      python-markupsafe
      python-numpy
      python-httplib2
      python-gobject-2
      python-six
      python-paramiko
      python-selinux
      ansible
      python-enum34
      python-cryptography
      python-cairo
      python-ipaddress
      python-setuptools
      python-jinja2
      python-gtk2
      gimp
      E: Sub-process /usr/bin/dpkg returned an error code (1)


      I' m on debian 9. How can I fix it?







      debian apt dpkg






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 3 hours ago









      Scorpion

      896




      896

























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          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',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2funix.stackexchange.com%2fquestions%2f481126%2fdpkg-apt-problem-with-pyhon-ansible%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481126%2fdpkg-apt-problem-with-pyhon-ansible%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)