Why did I not install the package version that I expected?

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











up vote
1
down vote

favorite












I was looking at Python2.7 for debian jessie since my goal was to downgrade Python 2.7.13 to 2.7.10 or lower (running on OSMC which is now on stretch). From its name it looked like that package was version 2.7.9.



I added deb http://ftp.de.debian.org/debian jessie main to my /etc/apt/sources.list according to the instructions here, and since I only had one line marked jessie I then proceeded with:



apt-get install -t jessie python2.7


After that was done python --version gave me 2.7.15+. That's not really what I was going for.



I'm wondering where I made a wrong assumption?










share|improve this question

























    up vote
    1
    down vote

    favorite












    I was looking at Python2.7 for debian jessie since my goal was to downgrade Python 2.7.13 to 2.7.10 or lower (running on OSMC which is now on stretch). From its name it looked like that package was version 2.7.9.



    I added deb http://ftp.de.debian.org/debian jessie main to my /etc/apt/sources.list according to the instructions here, and since I only had one line marked jessie I then proceeded with:



    apt-get install -t jessie python2.7


    After that was done python --version gave me 2.7.15+. That's not really what I was going for.



    I'm wondering where I made a wrong assumption?










    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I was looking at Python2.7 for debian jessie since my goal was to downgrade Python 2.7.13 to 2.7.10 or lower (running on OSMC which is now on stretch). From its name it looked like that package was version 2.7.9.



      I added deb http://ftp.de.debian.org/debian jessie main to my /etc/apt/sources.list according to the instructions here, and since I only had one line marked jessie I then proceeded with:



      apt-get install -t jessie python2.7


      After that was done python --version gave me 2.7.15+. That's not really what I was going for.



      I'm wondering where I made a wrong assumption?










      share|improve this question













      I was looking at Python2.7 for debian jessie since my goal was to downgrade Python 2.7.13 to 2.7.10 or lower (running on OSMC which is now on stretch). From its name it looked like that package was version 2.7.9.



      I added deb http://ftp.de.debian.org/debian jessie main to my /etc/apt/sources.list according to the instructions here, and since I only had one line marked jessie I then proceeded with:



      apt-get install -t jessie python2.7


      After that was done python --version gave me 2.7.15+. That's not really what I was going for.



      I'm wondering where I made a wrong assumption?







      apt python






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 23 at 16:10









      Andreas

      1326




      1326




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          You’re trying to downgrade, and that can’t be done by setting the target release. When considering priorities, the first rule is




          Never downgrade unless the priority of an available version exceeds 1000. ("Downgrading" is installing
          a less recent version of a package in place of a more recent version. Note that none of APT's default
          priorities exceeds 1000; such high priorities can only be set in the preferences file. Note also that
          downgrading a package can be risky.)




          To downgrade, the simplest approach is to specify the release alongside the package:



          sudo apt install python2.7/jessie


          You’ll probably need to help the resolver out by specifying other packages to downgrade simultaneously. Depending on the packages you actually have installed, it might not even be possible...






          share|improve this answer




















          • Thanks for the explanation! I'll try your suggestion.
            – Andreas
            Nov 23 at 16:33










          • Interesting. As you hinted, that broke the system. Time for another strategy.
            – Andreas
            Nov 23 at 17:24










          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%2f483719%2fwhy-did-i-not-install-the-package-version-that-i-expected%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          2
          down vote



          accepted










          You’re trying to downgrade, and that can’t be done by setting the target release. When considering priorities, the first rule is




          Never downgrade unless the priority of an available version exceeds 1000. ("Downgrading" is installing
          a less recent version of a package in place of a more recent version. Note that none of APT's default
          priorities exceeds 1000; such high priorities can only be set in the preferences file. Note also that
          downgrading a package can be risky.)




          To downgrade, the simplest approach is to specify the release alongside the package:



          sudo apt install python2.7/jessie


          You’ll probably need to help the resolver out by specifying other packages to downgrade simultaneously. Depending on the packages you actually have installed, it might not even be possible...






          share|improve this answer




















          • Thanks for the explanation! I'll try your suggestion.
            – Andreas
            Nov 23 at 16:33










          • Interesting. As you hinted, that broke the system. Time for another strategy.
            – Andreas
            Nov 23 at 17:24














          up vote
          2
          down vote



          accepted










          You’re trying to downgrade, and that can’t be done by setting the target release. When considering priorities, the first rule is




          Never downgrade unless the priority of an available version exceeds 1000. ("Downgrading" is installing
          a less recent version of a package in place of a more recent version. Note that none of APT's default
          priorities exceeds 1000; such high priorities can only be set in the preferences file. Note also that
          downgrading a package can be risky.)




          To downgrade, the simplest approach is to specify the release alongside the package:



          sudo apt install python2.7/jessie


          You’ll probably need to help the resolver out by specifying other packages to downgrade simultaneously. Depending on the packages you actually have installed, it might not even be possible...






          share|improve this answer




















          • Thanks for the explanation! I'll try your suggestion.
            – Andreas
            Nov 23 at 16:33










          • Interesting. As you hinted, that broke the system. Time for another strategy.
            – Andreas
            Nov 23 at 17:24












          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          You’re trying to downgrade, and that can’t be done by setting the target release. When considering priorities, the first rule is




          Never downgrade unless the priority of an available version exceeds 1000. ("Downgrading" is installing
          a less recent version of a package in place of a more recent version. Note that none of APT's default
          priorities exceeds 1000; such high priorities can only be set in the preferences file. Note also that
          downgrading a package can be risky.)




          To downgrade, the simplest approach is to specify the release alongside the package:



          sudo apt install python2.7/jessie


          You’ll probably need to help the resolver out by specifying other packages to downgrade simultaneously. Depending on the packages you actually have installed, it might not even be possible...






          share|improve this answer












          You’re trying to downgrade, and that can’t be done by setting the target release. When considering priorities, the first rule is




          Never downgrade unless the priority of an available version exceeds 1000. ("Downgrading" is installing
          a less recent version of a package in place of a more recent version. Note that none of APT's default
          priorities exceeds 1000; such high priorities can only be set in the preferences file. Note also that
          downgrading a package can be risky.)




          To downgrade, the simplest approach is to specify the release alongside the package:



          sudo apt install python2.7/jessie


          You’ll probably need to help the resolver out by specifying other packages to downgrade simultaneously. Depending on the packages you actually have installed, it might not even be possible...







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 23 at 16:31









          Stephen Kitt

          159k24353428




          159k24353428











          • Thanks for the explanation! I'll try your suggestion.
            – Andreas
            Nov 23 at 16:33










          • Interesting. As you hinted, that broke the system. Time for another strategy.
            – Andreas
            Nov 23 at 17:24
















          • Thanks for the explanation! I'll try your suggestion.
            – Andreas
            Nov 23 at 16:33










          • Interesting. As you hinted, that broke the system. Time for another strategy.
            – Andreas
            Nov 23 at 17:24















          Thanks for the explanation! I'll try your suggestion.
          – Andreas
          Nov 23 at 16:33




          Thanks for the explanation! I'll try your suggestion.
          – Andreas
          Nov 23 at 16:33












          Interesting. As you hinted, that broke the system. Time for another strategy.
          – Andreas
          Nov 23 at 17:24




          Interesting. As you hinted, that broke the system. Time for another strategy.
          – Andreas
          Nov 23 at 17:24

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • 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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2funix.stackexchange.com%2fquestions%2f483719%2fwhy-did-i-not-install-the-package-version-that-i-expected%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 check contact read email or not when send email to Individual?

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?