Title: Message Title
| |
|
|
versionable package providers:
- apt
-
- gem
- pip
-
- rpm
- yum
- dnf
- zypper
apt
- ranges cannot be specified in install command
- have to list all available versions then install a specific version:
root@fractional-bard:~# apt-cache policy puppet-agent |
puppet-agent: |
Installed: (none) |
Candidate: 6.12.0-1buster |
Version table: |
6.8.0-1buster 500 |
500 http://apt.puppetlabs.com buster/puppet amd64 Packages |
6.4.5-1buster 500 |
500 http://apt.puppetlabs.com buster/puppet amd64 Packages |
6.4.4-1buster 500 |
500 http://apt.puppetlabs.com buster/puppet amd64 Packages
|
apt-get install puppet-agent=6.4.4-1buster |
yum
- ranges cannot be specified in install command
- have to list all available versions then install a specific version:
[root@tired-vellum ~]# yum -d 0 --showduplicates list puppet-agent |
Available Packages |
puppet-agent.x86_64 6.10.1-1.el8 puppet |
puppet-agent.x86_64 6.11.0-1.el8 puppet |
puppet-agent.x86_64 6.11.1-1.el8 puppet |
puppet-agent.x86_64 6.12.0-1.el8 puppet
|
yum install puppet-agent-6.12.0-1.el8 |
gem
- version ranges can be specified in the install command:
$ gem install rake -v ">10.5.0, < 13.0.0" |
Successfully installed rake-12.3.3 |
Parsing documentation for rake-12.3.3 |
Installing ri documentation for rake-12.3.3 |
Done installing documentation for rake after 1 seconds |
1 gem installed
|
pip
- version ranges can be specified in the install command:
$ pip install "flask>0.9,<=1.0 |
Collecting flask<=1.0,>0.9 |
Downloading Flask-1.0-py2.py3-none-any.whl (97 kB) |
|████████████████████████████████| 97 kB 773 kB/s |
Requirement already satisfied: Werkzeug>=0.14 in ./lib/python3.8/site-packages (from flask<=1.0,>0.9) (0.16.1) |
Requirement already satisfied: itsdangerous>=0.24 in ./lib/python3.8/site-packages (from flask<=1.0,>0.9) (1.1.0) |
Requirement already satisfied: click>=5.1 in ./lib/python3.8/site-packages (from flask<=1.0,>0.9) (7.0) |
Requirement already satisfied: Jinja2>=2.10 in ./lib/python3.8/site-packages (from flask<=1.0,>0.9) (2.11.1) |
Requirement already satisfied: MarkupSafe>=0.23 in ./lib/python3.8/site-packages (from Jinja2>=2.10->flask<=1.0,>0.9) (1.1.1) |
Installing collected packages: flask |
Successfully installed flask-1.0
|
|
|
|
|
| |
|
--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.345083.1580900839000.27411.1581943141006%40Atlassian.JIRA.
|