Python Unmet Dependencies, tried `sudo apt-get -f install`libssl DependenciesUbuntu server 12.04 dependency...

Number of FLOP (Floating Point Operations) for exponentiation

Why is working on the same position for more than 15 years not a red flag?

Slow moving projectiles from a hand-held weapon - how do they reach the target?

Issues with new Macs: Hardware makes them difficult for me to use. What options might be available in the future?

When teaching someone how to prove a function is uniformly continuous, using epsilon/delta, which example would be among the simplest?

Does the "particle exchange" operator have any validity?

Do authors have to be politically correct in article-writing?

Could flying insects re-enter the Earth's atmosphere from space without burning up?

Why did the villain in the first Men in Black movie care about Earth's Cockroaches?

It took me a lot of time to make this, pls like. (YouTube Comments #1)

I am on the US no-fly list. What can I do in order to be allowed on flights which go through US airspace?

What to do when being responsible for data protection in your lab, yet advice is ignored?

What is the wife of a henpecked husband called?

Can you earn endless XP using a Flameskull and its self-revival feature?

When does coming up with an idea constitute sufficient contribution for authorship?

Tikzing a circled star

A starship is travelling at 0.9c and collides with a small rock. Will it leave a clean hole through, or will more happen?

How to acknowledge an embarrassing job interview, now that I work directly with the interviewer?

Are there any outlying considerations if I treat donning a shield as an object interaction during the first round of combat?

Avoiding morning and evening handshakes

The vanishing of sum of coefficients: symmetric polynomials

Why don't I see the difference between two different files in insert mode in vim?

A donkey does not know what kind of fruit persimmon is

High pressure canisters of air as gun-less projectiles



Python Unmet Dependencies, tried `sudo apt-get -f install`


libssl DependenciesUbuntu server 12.04 dependency issues when attempting updateUnmet Dependencies right after installing VLCunmet dependencies: initramfs-tools [Xubuntu 12.04]Cannot install anything! Unmet dependencies. Libre OfficeE: Sub-process /usr/bin/dpkg returned an error code (1)-ERRORPackage system is broken (16.04)Unmet dependencies (linux-headers, linux-image)Unmet dependencies when trying to install r-baseUbuntu 16.04 can't install any software













0















My linux station has been messed up the past couple of days. I had multiple versions of Python installed, and it was conflicting until I started relinking and removing some installations. I think I end up messing things up pretty badly.



When I do a sudo apt-get upgrade
I get the following:



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:
python-pip : Depends: python:any (< 2.8)
Depends: python:any (>= 2.7.5-5~)
Recommends: python-all-dev (>= 2.6) but it is not installed
Recommends: python-setuptools but it is not installed
python-pkg-resources : Depends: python:any (< 2.8)
Depends: python:any (>= 2.7.5-5~)
python-wheel : Depends: python:any (< 2.8)
Depends: python:any (>= 2.7.5-5~)
E: Unmet dependencies. Try using -f.


Then I execute sudo apt-get -f install
and I get the following:



Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libpython-all-dev libpython-dev libpython2.7-dev
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
python
Suggested packages:
python-doc python-tk
The following NEW packages will be installed:
python
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
6 not fully installed or removed.
Need to get 0 B/137 kB of archives.
After this operation, 650 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up python2.7-minimal (2.7.12-1ubuntu0~16.04.4) ...
Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
/usr/bin/python2.7: can't open file '/usr/lib/python2.7/py_compile.py': [Errno 2] No such file or directory
dpkg: error processing package python2.7-minimal (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of python-minimal:
python-minimal depends on python2.7-minimal (>= 2.7.12-1~); however:
Package python2.7-minimal is not configured yet.

dpkg: error processing package python-minimal (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
python2.7-minimal
python-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)


Can someone advise?









share



























    0















    My linux station has been messed up the past couple of days. I had multiple versions of Python installed, and it was conflicting until I started relinking and removing some installations. I think I end up messing things up pretty badly.



    When I do a sudo apt-get upgrade
    I get the following:



    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:
    python-pip : Depends: python:any (< 2.8)
    Depends: python:any (>= 2.7.5-5~)
    Recommends: python-all-dev (>= 2.6) but it is not installed
    Recommends: python-setuptools but it is not installed
    python-pkg-resources : Depends: python:any (< 2.8)
    Depends: python:any (>= 2.7.5-5~)
    python-wheel : Depends: python:any (< 2.8)
    Depends: python:any (>= 2.7.5-5~)
    E: Unmet dependencies. Try using -f.


    Then I execute sudo apt-get -f install
    and I get the following:



    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following packages were automatically installed and are no longer required:
    libpython-all-dev libpython-dev libpython2.7-dev
    Use 'sudo apt autoremove' to remove them.
    The following additional packages will be installed:
    python
    Suggested packages:
    python-doc python-tk
    The following NEW packages will be installed:
    python
    0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
    6 not fully installed or removed.
    Need to get 0 B/137 kB of archives.
    After this operation, 650 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Setting up python2.7-minimal (2.7.12-1ubuntu0~16.04.4) ...
    Could not find platform independent libraries <prefix>
    Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
    /usr/bin/python2.7: can't open file '/usr/lib/python2.7/py_compile.py': [Errno 2] No such file or directory
    dpkg: error processing package python2.7-minimal (--configure):
    subprocess installed post-installation script returned error exit status 2
    dpkg: dependency problems prevent configuration of python-minimal:
    python-minimal depends on python2.7-minimal (>= 2.7.12-1~); however:
    Package python2.7-minimal is not configured yet.

    dpkg: error processing package python-minimal (--configure):
    dependency problems - leaving unconfigured
    No apport report written because the error message indicates its a followup error from a previous failure.
    Errors were encountered while processing:
    python2.7-minimal
    python-minimal
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    Can someone advise?









    share

























      0












      0








      0








      My linux station has been messed up the past couple of days. I had multiple versions of Python installed, and it was conflicting until I started relinking and removing some installations. I think I end up messing things up pretty badly.



      When I do a sudo apt-get upgrade
      I get the following:



      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:
      python-pip : Depends: python:any (< 2.8)
      Depends: python:any (>= 2.7.5-5~)
      Recommends: python-all-dev (>= 2.6) but it is not installed
      Recommends: python-setuptools but it is not installed
      python-pkg-resources : Depends: python:any (< 2.8)
      Depends: python:any (>= 2.7.5-5~)
      python-wheel : Depends: python:any (< 2.8)
      Depends: python:any (>= 2.7.5-5~)
      E: Unmet dependencies. Try using -f.


      Then I execute sudo apt-get -f install
      and I get the following:



      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Correcting dependencies... Done
      The following packages were automatically installed and are no longer required:
      libpython-all-dev libpython-dev libpython2.7-dev
      Use 'sudo apt autoremove' to remove them.
      The following additional packages will be installed:
      python
      Suggested packages:
      python-doc python-tk
      The following NEW packages will be installed:
      python
      0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
      6 not fully installed or removed.
      Need to get 0 B/137 kB of archives.
      After this operation, 650 kB of additional disk space will be used.
      Do you want to continue? [Y/n] y
      Setting up python2.7-minimal (2.7.12-1ubuntu0~16.04.4) ...
      Could not find platform independent libraries <prefix>
      Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
      /usr/bin/python2.7: can't open file '/usr/lib/python2.7/py_compile.py': [Errno 2] No such file or directory
      dpkg: error processing package python2.7-minimal (--configure):
      subprocess installed post-installation script returned error exit status 2
      dpkg: dependency problems prevent configuration of python-minimal:
      python-minimal depends on python2.7-minimal (>= 2.7.12-1~); however:
      Package python2.7-minimal is not configured yet.

      dpkg: error processing package python-minimal (--configure):
      dependency problems - leaving unconfigured
      No apport report written because the error message indicates its a followup error from a previous failure.
      Errors were encountered while processing:
      python2.7-minimal
      python-minimal
      E: Sub-process /usr/bin/dpkg returned an error code (1)


      Can someone advise?









      share














      My linux station has been messed up the past couple of days. I had multiple versions of Python installed, and it was conflicting until I started relinking and removing some installations. I think I end up messing things up pretty badly.



      When I do a sudo apt-get upgrade
      I get the following:



      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:
      python-pip : Depends: python:any (< 2.8)
      Depends: python:any (>= 2.7.5-5~)
      Recommends: python-all-dev (>= 2.6) but it is not installed
      Recommends: python-setuptools but it is not installed
      python-pkg-resources : Depends: python:any (< 2.8)
      Depends: python:any (>= 2.7.5-5~)
      python-wheel : Depends: python:any (< 2.8)
      Depends: python:any (>= 2.7.5-5~)
      E: Unmet dependencies. Try using -f.


      Then I execute sudo apt-get -f install
      and I get the following:



      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Correcting dependencies... Done
      The following packages were automatically installed and are no longer required:
      libpython-all-dev libpython-dev libpython2.7-dev
      Use 'sudo apt autoremove' to remove them.
      The following additional packages will be installed:
      python
      Suggested packages:
      python-doc python-tk
      The following NEW packages will be installed:
      python
      0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
      6 not fully installed or removed.
      Need to get 0 B/137 kB of archives.
      After this operation, 650 kB of additional disk space will be used.
      Do you want to continue? [Y/n] y
      Setting up python2.7-minimal (2.7.12-1ubuntu0~16.04.4) ...
      Could not find platform independent libraries <prefix>
      Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
      /usr/bin/python2.7: can't open file '/usr/lib/python2.7/py_compile.py': [Errno 2] No such file or directory
      dpkg: error processing package python2.7-minimal (--configure):
      subprocess installed post-installation script returned error exit status 2
      dpkg: dependency problems prevent configuration of python-minimal:
      python-minimal depends on python2.7-minimal (>= 2.7.12-1~); however:
      Package python2.7-minimal is not configured yet.

      dpkg: error processing package python-minimal (--configure):
      dependency problems - leaving unconfigured
      No apport report written because the error message indicates its a followup error from a previous failure.
      Errors were encountered while processing:
      python2.7-minimal
      python-minimal
      E: Sub-process /usr/bin/dpkg returned an error code (1)


      Can someone advise?







      apt package-management python dependencies





      share












      share










      share



      share










      asked 2 mins ago









      IamanonIamanon

      33




      33






















          0






          active

          oldest

          votes











          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%2f1122634%2fpython-unmet-dependencies-tried-sudo-apt-get-f-install%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f1122634%2fpython-unmet-dependencies-tried-sudo-apt-get-f-install%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

          Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

          Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

          Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...