Why did I not install the package version that I expected?
Clash 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?
apt python
add a comment |
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?
apt python
add a comment |
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?
apt python
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
apt python
asked Nov 23 at 16:10
Andreas
1326
1326
add a comment |
add a comment |
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...
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
add a comment |
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...
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
add a comment |
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...
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
add a comment |
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...
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...
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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