Hide Forgot
Description of problem: Create a local version of a system component. In our case, kernel-local with a specific version number equal to the system kernel version at the time the local version was created. Install this kernel (from a local repo) with "dnf -y install kernel-local-$version". Works as expected. Later unintentionally repeat the same command, "dnf -y install kernel-local-$version". (Note, NOT "dnf -y upgrade kernel-local-$version"!) DNF does not report that the package is already installed. Instead, it performs an upgrade to the latest system kernel version. This is not what it was asked to do and causes unexpected difficulties. Version-Release number of selected component (if applicable): Stock F23 for all packages except the local kernel. How reproducible: Every time. Steps to Reproduce: 1. As described above. 2. 3. Actual results: Newer package installed. Expected results: Installation request refused as package is already installed. Additional info:
Right, it should skip that package as normal install for already installed non-installonly package.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
The install command was refactored in dnf-2.0. It is available in Fedora rawhide (rc2 version) or from our testing repository in copr (dnf copr enable rpmsoftwaremanagement/dnf-nightly) for Fedora 24+. The mentioned version should solve the problem, but if not, please don't hesitate to reopen the bug report.