Project

General

Profile

Actions

Bug #18709

open

Cannot install a specific version of a package

Added by Brad Buckingham about 7 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hosts
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

  1. yum list --showduplicates kernel

3.

- Via Hammer

  1. 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
:kernel-3.10.0-327.3.1
-*.*: No package(s) available to install

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.

Actions

Also available in: Atom PDF