Bug #18709
openCannot install a specific version of a package
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1409003
Description of problem:
If there are multiple versions of a package in the repository,
for example with the kernel package, yum is able to install
any specific version, just by specifying the full version number
How reproducible:
100%
Steps to Reproduce:
1. Install system with rhel-7.2, and point at 7.3 repositories
2. Verify multiple versions of kernel package are available
- yum list --showduplicates kernel
3.
- Via Hammer
- hammer host package install --host <client system> --packages kernel-3.10.0-327.3.1.el7
- Via the web interface
Navigate to Hosts > Content Hosts > <client_system>
Select Packages tab, put the required kernel package
"kernel-3.10.0-327.3.1.el7" into the box next to
"Package Install" dropdown button, and perform the
action via katello-agent
Actual results:
Error: :kernel-3.10.0-327.3.1-*.*: No package(s) available to install-*.*: No package(s) available to install
:kernel-3.10.0-327.3.1
Expected results:
The package with the specific version requested should be installed
Additional info:
I've used the kernel package as an example as it has lots of different
versions available, however user sees it in their own repository
containing custom rpms, and they require the ability to install specific
versions.